Setup Initial Schema (sqlite) #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "setup-initial-schema"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces the initial database schema in the form of a SQLx migration. (See https://tms-dev-blog.com/rust-sqlx-basics-with-sqlite/ for a brief intro to SQLx).
Please review and comment. If there are no major objections over the next couple days then we'll go ahead and merge this as our starting point.
Do you think we might want to break out a PersonStreetAddress table to handle things like separate billing/shipping addresses, multiple shipping addresses, etc?
Agreed on the shipping addresses - I've updated the merge request to add the
PersonShippingAddresses
table.Thanks for calling that out!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.