diff --git a/hasura.md b/hasura.md new file mode 100644 index 0000000..02beaf7 --- /dev/null +++ b/hasura.md @@ -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' \ No newline at end of file diff --git a/hasura/config.yaml b/hasura/config.yaml index 3b809c2..19a8261 100644 --- a/hasura/config.yaml +++ b/hasura/config.yaml @@ -1 +1,2 @@ endpoint: https://rps.bodyshop.app +admin_secret: ImEXRPSDataBase \ No newline at end of file diff --git a/hasura/migrations/1652196662942_run_sql_migration/up.sql b/hasura/migrations/1652196662942_run_sql_migration/up.sql new file mode 100644 index 0000000..bdf05d1 --- /dev/null +++ b/hasura/migrations/1652196662942_run_sql_migration/up.sql @@ -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); diff --git a/src/ipc/suvs.json b/src/ipc/suvs.json index 0d5ab7c..16183af 100644 --- a/src/ipc/suvs.json +++ b/src/ipc/suvs.json @@ -147,6 +147,7 @@ "TRAX", "UPLANDER", "YUKON", + "YUKON DENALI", "EQUINOX LS", "EQUINOX LT", "EQUINOX PREMIER",