Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split listings table into Properties and Listings #15

Open
gabeklavans opened this issue Jan 5, 2025 · 0 comments
Open

Split listings table into Properties and Listings #15

gabeklavans opened this issue Jan 5, 2025 · 0 comments

Comments

@gabeklavans
Copy link
Owner

Properties table will have most of what's in the current listings table, but remove refs col.

Listings will contain the link to the listing and a foreign key to the Properties table.

When the UI requests all the listings, it'll get them back in the same JSON structure as now, but with refs as an array of strings. This can either be done with a join of some sort or just in Go by the server.

This will enable better control of removals and notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant