-
Notifications
You must be signed in to change notification settings - Fork 6
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
move MDS table schema #87
Comments
Some documentation: https://www.postgresql.org/docs/current/sql-altertable.html Action items:
Question: can |
The ALTER TABLE...SET SCHEMA command will move tables, data, index, contraints and sequences to the 'mds' schema, but not the trigger functions: route_process( ) and status_change_processor ( ). The triggers need to be added using ALTER FUNCTION....SET SCHEMA. |
The script for the triggers is here if you need to recreate them. For change management, we will need to modify dependent users of the tables. Which I believe are the scooter-stat DAG, some of the neighborhood-scoots notebooks from @ian-r-rose, and @paultsan's dashboards. LMK if I missed anything. |
I have no problem updating my notebooks and DAGs to point to the new tables. |
https://gist.github.com/RMK0110/e18d2b877e5169f208a4ff33c4806424 |
current the schema for all the MDS is the default
public
schema. Let's switch this tomds
ortransportation
the existing
mds
schema has some loaded data from an attempt to getmds-provider-services
package from the City of SM working that is not ideal for our usage.The text was updated successfully, but these errors were encountered: