-
Notifications
You must be signed in to change notification settings - Fork 161
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
My custom views are deleted every restart #1044
Comments
There is currently no way to do this. |
How do I put in a feature request for this? |
I do not consider this something that should be in Recently |
I disagree with your opinion. Software should be extendable. |
I just modified the migration scripts at the source and recompiled, now the migration scripts include my views and the hashes will align so it works. |
Modifying the migration scrips and recompiling is more difficult than it should be. Currently, migrations are applied in an order specified by the alphapbet sort of the schema files. Currently the schema directory looks like:
and currently the The current code could be modified to only check schema files of the form That means anyone could add whatever extra migrations they like as long as they use stage Does that make sense? Would it help? |
Yes that would make sense, and yes that would help! Would save me the 20 minutes it takes for me to compile from source when I add a new view. thanks |
This allows users to add other migration files with stage > 3. Closes: #1044
DBSync 12.0.0 on Postgres 14.1 with Ubuntu 20.04.
I have added some custom views into the cexplorer schema for my application, but these views are removed when I restart the dbsync after patching the OS. I tried adding my views to the schema files, but this causes dbsync to not start up.
How can I integrate my own custom views such that they get recreated when dbsync is restarted?
The text was updated successfully, but these errors were encountered: