Added SQL Migrations
This commit is contained in:
2
hasura.md
Normal file
2
hasura.md
Normal file
@@ -0,0 +1,2 @@
|
||||
hasura migrate apply --endpoint https://db.rps.imex.online/ --admin-secret 'Production-ImEXOnlineRPSDataBase'
|
||||
hasura migrate status --endpoint https://db.rps.imex.online/ --admin-secret 'Production-ImEXOnlineRPSDataBase'
|
||||
@@ -1 +1,2 @@
|
||||
endpoint: https://rps.bodyshop.app
|
||||
admin_secret: ImEXRPSDataBase
|
||||
3
hasura/migrations/1652196662942_run_sql_migration/up.sql
Normal file
3
hasura/migrations/1652196662942_run_sql_migration/up.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE INDEX joblines_jobid ON joblines (jobid);
|
||||
CREATE INDEX jobs_bodyshopid ON jobs (bodyshopid);
|
||||
CREATE INDEX jobs_close_date ON jobs (close_date);
|
||||
@@ -147,6 +147,7 @@
|
||||
"TRAX",
|
||||
"UPLANDER",
|
||||
"YUKON",
|
||||
"YUKON DENALI",
|
||||
"EQUINOX LS",
|
||||
"EQUINOX LT",
|
||||
"EQUINOX PREMIER",
|
||||
|
||||
Reference in New Issue
Block a user