Skip to content

Project Setup: How to manage table definitions and stored Data #498

Answered by joyfullservice
B0Bftl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Lukas,

That is a great question! As you have probably observed, the majority of database components can be merged into an existing database. Tables are a bit different in that they can contain both structure and data. I can certainly see the benefit of merging a change in table structure while preserving the table data. In the current functionality, merging a table would replace the existing table with one created from the source file. This would also clear any data in the table, unless that table's data was also stored in version control. (Which is usually not the ideal setup.) To describe this in SQL terms, the current functionality is more of a REPLACE TABLE than an ALTER TABLE.

I t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by B0Bftl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants