Added SQL Migrations

This commit is contained in:
Patrick Fic
2022-05-10 08:36:17 -07:00
parent 811ef120a7
commit 12eee30ea1
4 changed files with 7 additions and 0 deletions

2
hasura.md Normal file
View 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'

View File

@@ -1 +1,2 @@
endpoint: https://rps.bodyshop.app
admin_secret: ImEXRPSDataBase

View 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);

View File

@@ -147,6 +147,7 @@
"TRAX",
"UPLANDER",
"YUKON",
"YUKON DENALI",
"EQUINOX LS",
"EQUINOX LT",
"EQUINOX PREMIER",