From ed0d83179868a4d0457e6c1b005d65cf69dac20b Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Tue, 11 May 2021 15:22:16 -0700 Subject: [PATCH] **BREAKING** Deletion of all hasura migrations. --- README.MD | 15 +- .../dump-db62dpegj5roh3-202009221434.sql | Bin 343941 -> 0 bytes ...sura_metadata_2020_09_22_14_25_15_367.json | 6540 ----------------- .../down.yaml | 3 - .../up.yaml | 15 - .../down.yaml | 3 - .../up.yaml | 8 - .../down.yaml | 1 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 8 - .../down.yaml | 6 - .../up.yaml | 11 - .../down.yaml | 3 - .../up.yaml | 11 - .../down.yaml | 3 - .../up.yaml | 14 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 3 - .../up.yaml | 19 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 17 - .../up.yaml | 19 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 24 - .../down.yaml | 6 - .../up.yaml | 21 - .../down.yaml | 6 - .../up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 6 - .../up.yaml | 11 - .../down.yaml | 17 - .../up.yaml | 19 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 19 - .../up.yaml | 23 - .../down.yaml | 19 - .../up.yaml | 21 - .../down.yaml | 6 - .../up.yaml | 14 - .../down.yaml | 19 - .../up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 11 - .../down.yaml | 17 - .../up.yaml | 21 - .../down.yaml | 19 - .../up.yaml | 23 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 5 - .../up.yaml | 9 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 29 - .../up.yaml | 34 - .../down.yaml | 27 - .../up.yaml | 32 - .../down.yaml | 29 - .../up.yaml | 34 - .../down.yaml | 19 - .../up.yaml | 24 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 22 - .../down.yaml | 6 - .../up.yaml | 8 - .../down.yaml | 6 - .../up.yaml | 36 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 6 - .../up.yaml | 36 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 3 - .../up.yaml | 22 - .../down.yaml | 6 - .../up.yaml | 8 - .../down.yaml | 6 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 37 - .../down.yaml | 6 - .../up.yaml | 39 - .../down.yaml | 45 - .../up.yaml | 44 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 42 - .../up.yaml | 41 - .../down.yaml | 6 - .../up.yaml | 12 - .../down.yaml | 6 - .../up.yaml | 12 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../1576015434120_jobs_rates_1/down.yaml | 1 - .../1576015434120_jobs_rates_1/up.yaml | 15 - .../1576016564351_jobs_data2/down.yaml | 1 - .../1576016564351_jobs_data2/up.yaml | 11 - .../down.yaml | 4 - .../up.yaml | 6 - .../down.yaml | 4 - .../up.yaml | 6 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 32 - .../up.yaml | 31 - .../down.yaml | 23 - .../up.yaml | 19 - .../down.yaml | 23 - .../up.yaml | 24 - .../down.yaml | 23 - .../up.yaml | 19 - .../down.yaml | 13 - .../up.yaml | 6 - .../down.yaml | 21 - .../up.yaml | 23 - .../down.yaml | 23 - .../up.yaml | 25 - .../down.yaml | 15 - .../up.yaml | 6 - .../down.yaml | 23 - .../up.yaml | 21 - .../down.yaml | 34 - .../up.yaml | 12 - .../down.yaml | 6 - .../up.yaml | 11 - .../down.yaml | 17 - .../up.yaml | 21 - .../down.yaml | 15 - .../up.yaml | 6 - .../down.yaml | 18 - .../up.yaml | 6 - .../down.yaml | 28 - .../up.yaml | 12 - .../down.yaml | 93 - .../up.yaml | 24 - .../down.yaml | 13 - .../up.yaml | 6 - .../down.yaml | 125 - .../up.yaml | 24 - .../down.yaml | 116 - .../up.yaml | 24 - .../down.yaml | 6 - .../up.yaml | 15 - .../down.yaml | 21 - .../up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 19 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 40 - .../up.yaml | 40 - .../down.yaml | 40 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 6 - .../up.yaml | 77 - .../down.yaml | 6 - .../up.yaml | 75 - .../down.yaml | 6 - .../up.yaml | 76 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 35 - .../down.yaml | 6 - .../up.yaml | 38 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 6 - .../up.yaml | 36 - .../down.yaml | 6 - .../up.yaml | 22 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 33 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 6 - .../up.yaml | 14 - .../down.yaml | 19 - .../up.yaml | 21 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 82 - .../up.yaml | 84 - .../down.yaml | 81 - .../up.yaml | 83 - .../down.yaml | 82 - .../up.yaml | 84 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 24 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 45 - .../down.yaml | 6 - .../up.yaml | 42 - .../down.yaml | 6 - .../up.yaml | 44 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 84 - .../up.yaml | 85 - .../down.yaml | 83 - .../up.yaml | 84 - .../down.yaml | 84 - .../up.yaml | 85 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 3 - .../up.yaml | 21 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 25 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 31 - .../up.yaml | 32 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 4 - .../up.yaml | 6 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 85 - .../up.yaml | 86 - .../down.yaml | 84 - .../up.yaml | 84 - .../down.yaml | 85 - .../up.yaml | 86 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 23 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 37 - .../down.yaml | 6 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 3 - .../up.yaml | 25 - .../down.yaml | 36 - .../up.yaml | 60 - .../down.yaml | 6 - .../up.yaml | 33 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 3 - .../up.yaml | 24 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 35 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 86 - .../up.yaml | 91 - .../down.yaml | 84 - .../up.yaml | 89 - .../down.yaml | 86 - .../up.yaml | 91 - .../1578604401770_bulk_jobs_update/down.yaml | 1 - .../1578604401770_bulk_jobs_update/up.yaml | 15 - .../down.yaml | 91 - .../up.yaml | 120 - .../down.yaml | 89 - .../up.yaml | 118 - .../down.yaml | 91 - .../up.yaml | 120 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 7 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 120 - .../up.yaml | 128 - .../down.yaml | 118 - .../up.yaml | 126 - .../down.yaml | 120 - .../up.yaml | 128 - .../down.yaml | 3 - .../up.yaml | 21 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 4 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 19 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 1 - .../up.yaml | 8 - .../1579027345149_assign_ro_trigger/down.yaml | 1 - .../1579027345149_assign_ro_trigger/up.yaml | 5 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 128 - .../up.yaml | 129 - .../down.yaml | 126 - .../up.yaml | 127 - .../down.yaml | 128 - .../up.yaml | 129 - .../down.yaml | 1 - .../up.yaml | 9 - .../down.yaml | 1 - .../up.yaml | 9 - .../down.yaml | 1 - .../up.yaml | 9 - .../down.yaml | 3 - .../up.yaml | 20 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 1 - .../1579303896469_ad1_file_additions/up.yaml | 21 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 1 - .../up.yaml | 21 - .../down.yaml | 129 - .../up.yaml | 215 - .../down.yaml | 127 - .../up.yaml | 213 - .../down.yaml | 129 - .../up.yaml | 215 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 27 - .../up.yaml | 39 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 40 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 1 - .../1579316700913_new_vehicle_fields/up.yaml | 10 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 39 - .../up.yaml | 52 - .../down.yaml | 37 - .../up.yaml | 50 - .../down.yaml | 39 - .../up.yaml | 52 - .../down.yaml | 215 - .../up.yaml | 216 - .../down.yaml | 213 - .../up.yaml | 214 - .../down.yaml | 215 - .../up.yaml | 216 - .../down.yaml | 40 - .../up.yaml | 39 - .../down.yaml | 41 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 216 - .../up.yaml | 217 - .../down.yaml | 216 - .../up.yaml | 212 - .../down.yaml | 214 - .../up.yaml | 210 - .../down.yaml | 216 - .../up.yaml | 212 - .../down.yaml | 7 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 7 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 36 - .../up.yaml | 37 - .../1579818641451_enable_pg_trm/down.yaml | 1 - .../1579818641451_enable_pg_trm/up.yaml | 4 - .../down.yaml | 1 - .../up.yaml | 7 - .../down.yaml | 1 - .../up.yaml | 16 - .../1579820833038_run_sql_migration/down.yaml | 1 - .../1579820833038_run_sql_migration/up.yaml | 4 - .../1579820853826_run_sql_migration/down.yaml | 1 - .../1579820853826_run_sql_migration/up.yaml | 4 - .../1579821113991_new_jobs_index/down.yaml | 1 - .../1579821113991_new_jobs_index/up.yaml | 7 - .../1579823064149_drop_index/down.yaml | 1 - .../1579823064149_drop_index/up.yaml | 4 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 1 - .../1579825076007_job_search_function/up.yaml | 15 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 212 - .../up.yaml | 211 - .../down.yaml | 210 - .../up.yaml | 209 - .../down.yaml | 212 - .../up.yaml | 211 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 211 - .../up.yaml | 212 - .../down.yaml | 209 - .../up.yaml | 210 - .../down.yaml | 211 - .../up.yaml | 212 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 212 - .../up.yaml | 213 - .../down.yaml | 210 - .../up.yaml | 211 - .../down.yaml | 212 - .../up.yaml | 213 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 213 - .../up.yaml | 214 - .../down.yaml | 211 - .../up.yaml | 212 - .../down.yaml | 213 - .../up.yaml | 214 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 214 - .../up.yaml | 215 - .../down.yaml | 212 - .../up.yaml | 213 - .../down.yaml | 214 - .../up.yaml | 215 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 215 - .../up.yaml | 219 - .../down.yaml | 213 - .../up.yaml | 217 - .../down.yaml | 215 - .../up.yaml | 219 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 219 - .../up.yaml | 220 - .../down.yaml | 217 - .../up.yaml | 218 - .../down.yaml | 219 - .../up.yaml | 220 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 220 - .../up.yaml | 224 - .../down.yaml | 218 - .../up.yaml | 222 - .../down.yaml | 220 - .../up.yaml | 224 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 224 - .../up.yaml | 230 - .../down.yaml | 222 - .../up.yaml | 228 - .../down.yaml | 224 - .../up.yaml | 230 - .../down.yaml | 3 - .../up.yaml | 25 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 37 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 6 - .../up.yaml | 21 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 43 - .../up.yaml | 44 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 42 - .../up.yaml | 44 - .../1580321100336_owner_gin_idx/down.yaml | 1 - .../1580321100336_owner_gin_idx/up.yaml | 6 - .../down.yaml | 1 - .../up.yaml | 14 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 42 - .../up.yaml | 43 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 45 - .../up.yaml | 46 - .../down.yaml | 43 - .../up.yaml | 44 - .../down.yaml | 45 - .../up.yaml | 46 - .../1580338993317_run_sql_migration/down.yaml | 1 - .../1580338993317_run_sql_migration/up.yaml | 6 - .../1580339054130_run_sql_migration/down.yaml | 1 - .../1580339054130_run_sql_migration/up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 230 - .../up.yaml | 233 - .../down.yaml | 228 - .../up.yaml | 231 - .../down.yaml | 230 - .../up.yaml | 233 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 233 - .../up.yaml | 235 - .../down.yaml | 231 - .../up.yaml | 233 - .../down.yaml | 233 - .../up.yaml | 235 - .../1580356194265_alter_line_ref/down.yaml | 1 - .../1580356194265_alter_line_ref/up.yaml | 7 - .../down.yaml | 6 - .../up.yaml | 6 - .../1580424750331_jobs_fields/down.yaml | 1 - .../1580424750331_jobs_fields/up.yaml | 7 - .../down.yaml | 235 - .../up.yaml | 243 - .../down.yaml | 233 - .../up.yaml | 241 - .../down.yaml | 235 - .../up.yaml | 243 - .../1580425245598_run_sql_migration/down.yaml | 1 - .../1580425245598_run_sql_migration/up.yaml | 13 - .../down.yaml | 50 - .../up.yaml | 74 - .../down.yaml | 48 - .../up.yaml | 72 - .../down.yaml | 50 - .../up.yaml | 74 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 241 - .../up.yaml | 242 - .../down.yaml | 243 - .../up.yaml | 243 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 74 - .../up.yaml | 75 - .../down.yaml | 72 - .../up.yaml | 73 - .../down.yaml | 74 - .../up.yaml | 75 - .../down.yaml | 3 - .../up.yaml | 21 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 29 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 3 - .../up.yaml | 21 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 29 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 244 - .../up.yaml | 243 - .../down.yaml | 242 - .../up.yaml | 241 - .../down.yaml | 244 - .../up.yaml | 243 - .../down.yaml | 9 - .../up.yaml | 3 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 12 - .../down.yaml | 17 - .../up.yaml | 6 - .../down.yaml | 17 - .../up.yaml | 6 - .../down.yaml | 12 - .../up.yaml | 6 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 34 - .../up.yaml | 36 - .../down.yaml | 32 - .../up.yaml | 34 - .../down.yaml | 34 - .../up.yaml | 36 - .../down.yaml | 34 - .../up.yaml | 34 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 241 - .../up.yaml | 242 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 28 - .../up.yaml | 6 - .../down.yaml | 26 - .../up.yaml | 6 - .../down.yaml | 28 - .../up.yaml | 6 - .../down.yaml | 16 - .../up.yaml | 6 - .../down.yaml | 8 - .../up.yaml | 6 - .../down.yaml | 8 - .../up.yaml | 6 - .../down.yaml | 12 - .../up.yaml | 6 - .../down.yaml | 12 - .../up.yaml | 6 - .../down.yaml | 4 - .../up.yaml | 3 - .../down.yaml | 4 - .../up.yaml | 3 - .../down.yaml | 1 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 10 - .../up.yaml | 10 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 9 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 35 - .../up.yaml | 40 - .../down.yaml | 33 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 40 - .../down.yaml | 3 - .../up.yaml | 22 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 29 - .../down.yaml | 12 - .../up.yaml | 29 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 244 - .../up.yaml | 245 - .../down.yaml | 242 - .../up.yaml | 243 - .../down.yaml | 244 - .../up.yaml | 245 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 245 - .../up.yaml | 246 - .../down.yaml | 243 - .../up.yaml | 244 - .../down.yaml | 245 - .../up.yaml | 246 - .../down.yaml | 9 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 4 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 37 - .../up.yaml | 36 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 35 - .../up.yaml | 35 - .../down.yaml | 37 - .../up.yaml | 37 - .../down.yaml | 23 - .../up.yaml | 22 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 4 - .../down.yaml | 45 - .../up.yaml | 47 - .../down.yaml | 43 - .../up.yaml | 45 - .../down.yaml | 45 - .../up.yaml | 47 - .../down.yaml | 9 - .../up.yaml | 9 - .../down.yaml | 47 - .../up.yaml | 46 - .../down.yaml | 45 - .../up.yaml | 44 - .../down.yaml | 47 - .../up.yaml | 46 - .../down.yaml | 9 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 6 - .../up.yaml | 7 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 36 - .../up.yaml | 35 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 6 - .../up.yaml | 3 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 3 - .../up.yaml | 3 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 40 - .../up.yaml | 43 - .../down.yaml | 10 - .../up.yaml | 3 - .../1582151051596_run_sql_migration/down.yaml | 1 - .../1582151051596_run_sql_migration/up.yaml | 5 - .../1582151260638_run_sql_migration/down.yaml | 1 - .../1582151260638_run_sql_migration/up.yaml | 5 - .../1582151340160_run_sql_migration/down.yaml | 1 - .../1582151340160_run_sql_migration/up.yaml | 11 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 73 - .../up.yaml | 74 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 5 - .../up.yaml | 28 - .../down.yaml | 24 - .../up.yaml | 41 - .../down.yaml | 6 - .../up.yaml | 35 - .../down.yaml | 6 - .../up.yaml | 33 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 5 - .../up.yaml | 26 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 33 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 43 - .../up.yaml | 44 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 5 - .../1583795241718_run_sql_migration/down.yaml | 1 - .../1583795241718_run_sql_migration/up.yaml | 15 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 10 - .../1583795349329_run_sql_migration/down.yaml | 1 - .../1583795349329_run_sql_migration/up.yaml | 9 - .../1583795594722_run_sql_migration/down.yaml | 1 - .../1583795594722_run_sql_migration/up.yaml | 25 - .../1583795623008_run_sql_migration/down.yaml | 1 - .../1583795623008_run_sql_migration/up.yaml | 6 - .../down.yaml | 30 - .../up.yaml | 52 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 31 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 5 - .../up.yaml | 24 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 25 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 5 - .../up.yaml | 26 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 33 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 5 - .../up.yaml | 13 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 25 - .../down.yaml | 6 - .../up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 24 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 42 - .../up.yaml | 43 - .../down.yaml | 39 - .../up.yaml | 37 - .../down.yaml | 37 - .../up.yaml | 35 - .../down.yaml | 39 - .../up.yaml | 37 - .../down.yaml | 15 - .../up.yaml | 5 - .../down.yaml | 15 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 37 - .../down.yaml | 30 - .../up.yaml | 30 - .../1585586288586_run_sql_migration/down.yaml | 1 - .../1585586288586_run_sql_migration/up.yaml | 8 - .../down.yaml | 246 - .../up.yaml | 253 - .../down.yaml | 244 - .../up.yaml | 251 - .../down.yaml | 246 - .../up.yaml | 253 - .../down.yaml | 5 - .../up.yaml | 31 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 5 - .../up.yaml | 33 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 46 - .../down.yaml | 6 - .../up.yaml | 44 - .../down.yaml | 6 - .../up.yaml | 45 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 50 - .../down.yaml | 6 - .../up.yaml | 48 - .../down.yaml | 6 - .../up.yaml | 49 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 253 - .../up.yaml | 252 - .../down.yaml | 251 - .../up.yaml | 250 - .../down.yaml | 253 - .../up.yaml | 252 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 51 - .../up.yaml | 52 - .../down.yaml | 49 - .../up.yaml | 50 - .../down.yaml | 51 - .../up.yaml | 52 - .../down.yaml | 74 - .../up.yaml | 74 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 43 - .../up.yaml | 44 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 252 - .../up.yaml | 253 - .../down.yaml | 250 - .../up.yaml | 251 - .../down.yaml | 252 - .../up.yaml | 253 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 253 - .../up.yaml | 254 - .../down.yaml | 251 - .../up.yaml | 252 - .../down.yaml | 253 - .../up.yaml | 254 - .../down.yaml | 5 - .../up.yaml | 29 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 36 - .../down.yaml | 6 - .../up.yaml | 34 - .../down.yaml | 6 - .../up.yaml | 35 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 45 - .../up.yaml | 46 - .../down.yaml | 5 - .../up.yaml | 24 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 45 - .../up.yaml | 46 - .../down.yaml | 46 - .../up.yaml | 44 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 35 - .../up.yaml | 37 - .../down.yaml | 37 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 39 - .../1587417631171_run_sql_migration/down.yaml | 1 - .../1587417631171_run_sql_migration/up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 32 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 22 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 254 - .../up.yaml | 255 - .../down.yaml | 252 - .../up.yaml | 253 - .../down.yaml | 254 - .../up.yaml | 255 - .../1587574775829_run_sql_migration/down.yaml | 1 - .../1587574775829_run_sql_migration/up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 13 - .../1587575091197_run_sql_migration/down.yaml | 1 - .../1587575091197_run_sql_migration/up.yaml | 16 - .../down.yaml | 8 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 43 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 74 - .../up.yaml | 75 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 77 - .../up.yaml | 78 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 77 - .../up.yaml | 78 - .../1588004408193_run_sql_migration/down.yaml | 1 - .../1588004408193_run_sql_migration/up.yaml | 18 - .../1588004740163_run_sql_migration/down.yaml | 1 - .../1588004740163_run_sql_migration/up.yaml | 5 - .../1588004759773_run_sql_migration/down.yaml | 1 - .../1588004759773_run_sql_migration/up.yaml | 7 - .../1588021481109_run_sql_migration/down.yaml | 1 - .../1588021481109_run_sql_migration/up.yaml | 18 - .../down.yaml | 48 - .../up.yaml | 50 - .../down.yaml | 50 - .../up.yaml | 49 - .../down.yaml | 1 - .../up.yaml | 5 - .../1588023324274_run_sql_migration/down.yaml | 1 - .../1588023324274_run_sql_migration/up.yaml | 22 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 44 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 21 - .../up.yaml | 22 - .../down.yaml | 23 - .../up.yaml | 22 - .../down.yaml | 22 - .../up.yaml | 24 - .../down.yaml | 25 - .../up.yaml | 24 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 40 - .../up.yaml | 43 - .../down.yaml | 38 - .../up.yaml | 41 - .../down.yaml | 40 - .../up.yaml | 43 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 47 - .../up.yaml | 48 - .../down.yaml | 45 - .../up.yaml | 46 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 39 - .../up.yaml | 40 - .../1588869001045_run_sql_migration/down.yaml | 1 - .../1588869001045_run_sql_migration/up.yaml | 19 - .../down.yaml | 49 - .../up.yaml | 49 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 48 - .../up.yaml | 49 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 6 - .../up.yaml | 29 - .../down.yaml | 6 - .../up.yaml | 19 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 49 - .../up.yaml | 50 - .../down.yaml | 47 - .../up.yaml | 48 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 255 - .../up.yaml | 256 - .../down.yaml | 253 - .../up.yaml | 254 - .../down.yaml | 255 - .../up.yaml | 256 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 254 - .../up.yaml | 254 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 256 - .../up.yaml | 257 - .../down.yaml | 254 - .../up.yaml | 255 - .../down.yaml | 256 - .../up.yaml | 257 - .../down.yaml | 5 - .../up.yaml | 27 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 29 - .../down.yaml | 6 - .../up.yaml | 16 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 36 - .../up.yaml | 35 - .../down.yaml | 22 - .../up.yaml | 24 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 23 - .../up.yaml | 22 - .../down.yaml | 5 - .../up.yaml | 25 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 14 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 6 - .../up.yaml | 22 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 11 - .../up.yaml | 10 - .../down.yaml | 34 - .../up.yaml | 36 - .../down.yaml | 22 - .../up.yaml | 24 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 44 - .../up.yaml | 45 - .../down.yaml | 46 - .../up.yaml | 47 - .../1590765528126_run_sql_migration/down.yaml | 1 - .../1590765528126_run_sql_migration/up.yaml | 8 - .../1590765808875_run_sql_migration/down.yaml | 1 - .../1590765808875_run_sql_migration/up.yaml | 12 - .../1590766570195_run_sql_migration/down.yaml | 1 - .../1590766570195_run_sql_migration/up.yaml | 5 - .../1590766913775_run_sql_migration/down.yaml | 1 - .../1590766913775_run_sql_migration/up.yaml | 12 - .../1590767016519_run_sql_migration/down.yaml | 1 - .../1590767016519_run_sql_migration/up.yaml | 10 - .../1590768879487_run_sql_migration/down.yaml | 1 - .../1590768879487_run_sql_migration/up.yaml | 11 - .../1590769637626_run_sql_migration/down.yaml | 1 - .../1590769637626_run_sql_migration/up.yaml | 7 - .../1590769674755_run_sql_migration/down.yaml | 1 - .../1590769674755_run_sql_migration/up.yaml | 9 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 50 - .../up.yaml | 51 - .../down.yaml | 48 - .../up.yaml | 49 - .../1590790802468_run_sql_migration/down.yaml | 1 - .../1590790802468_run_sql_migration/up.yaml | 7 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 42 - .../down.yaml | 6 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 41 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 51 - .../up.yaml | 52 - .../down.yaml | 49 - .../up.yaml | 50 - .../down.yaml | 36 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 23 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 28 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 17 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 52 - .../up.yaml | 53 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 33 - .../up.yaml | 36 - .../down.yaml | 31 - .../up.yaml | 34 - .../down.yaml | 33 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 36 - .../up.yaml | 37 - .../1592324679227_run_sql_migration/down.yaml | 1 - .../1592324679227_run_sql_migration/up.yaml | 5 - .../1592325045380_run_sql_migration/down.yaml | 1 - .../1592325045380_run_sql_migration/up.yaml | 12 - .../down.yaml | 35 - .../up.yaml | 35 - .../1592325262313_run_sql_migration/down.yaml | 1 - .../1592325262313_run_sql_migration/up.yaml | 7 - .../1592325288329_run_sql_migration/down.yaml | 1 - .../1592325288329_run_sql_migration/up.yaml | 9 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 257 - .../up.yaml | 258 - .../down.yaml | 255 - .../up.yaml | 256 - .../down.yaml | 257 - .../up.yaml | 258 - .../1592338828686_run_sql_migration/down.yaml | 1 - .../1592338828686_run_sql_migration/up.yaml | 20 - .../down.yaml | 49 - .../up.yaml | 50 - .../down.yaml | 1 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../1592417343599_run_sql_migration/down.yaml | 1 - .../1592417343599_run_sql_migration/up.yaml | 24 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 45 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 53 - .../up.yaml | 54 - .../down.yaml | 47 - .../up.yaml | 48 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 18 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 6 - .../up.yaml | 27 - .../down.yaml | 6 - .../up.yaml | 25 - .../down.yaml | 6 - .../up.yaml | 18 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 54 - .../up.yaml | 55 - .../down.yaml | 48 - .../up.yaml | 49 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 55 - .../up.yaml | 56 - .../down.yaml | 49 - .../up.yaml | 50 - .../1594680139254_run_sql_migration/down.yaml | 1 - .../1594680139254_run_sql_migration/up.yaml | 7 - .../1594680221027_run_sql_migration/down.yaml | 1 - .../1594680221027_run_sql_migration/up.yaml | 13 - .../down.yaml | 50 - .../up.yaml | 50 - .../1594681018728_run_sql_migration/down.yaml | 1 - .../1594681018728_run_sql_migration/up.yaml | 19 - .../down.yaml | 45 - .../up.yaml | 45 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 24 - .../up.yaml | 25 - .../down.yaml | 21 - .../up.yaml | 22 - .../down.yaml | 41 - .../up.yaml | 41 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 8 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 38 - .../up.yaml | 29 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 29 - .../up.yaml | 37 - .../down.yaml | 39 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 38 - .../down.yaml | 23 - .../up.yaml | 22 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 24 - .../up.yaml | 40 - .../down.yaml | 255 - .../up.yaml | 257 - .../down.yaml | 256 - .../up.yaml | 258 - .../down.yaml | 255 - .../up.yaml | 257 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../1594932730719_run_sql_migration/down.yaml | 1 - .../1594932730719_run_sql_migration/up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 9 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 56 - .../up.yaml | 57 - .../down.yaml | 50 - .../up.yaml | 51 - .../1595971170482_run_sql_migration/down.yaml | 1 - .../1595971170482_run_sql_migration/up.yaml | 6 - .../1595971216422_run_sql_migration/down.yaml | 1 - .../1595971216422_run_sql_migration/up.yaml | 12 - .../1595973678869_run_sql_migration/down.yaml | 1 - .../1595973678869_run_sql_migration/up.yaml | 8 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 52 - .../up.yaml | 53 - .../down.yaml | 53 - .../up.yaml | 54 - .../down.yaml | 52 - .../up.yaml | 53 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 54 - .../up.yaml | 54 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 53 - .../up.yaml | 64 - .../down.yaml | 54 - .../up.yaml | 65 - .../down.yaml | 53 - .../up.yaml | 64 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 57 - .../up.yaml | 58 - .../down.yaml | 51 - .../up.yaml | 52 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 58 - .../up.yaml | 59 - .../down.yaml | 52 - .../up.yaml | 53 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 77 - .../up.yaml | 78 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 6 - .../up.yaml | 8 - .../down.yaml | 6 - .../up.yaml | 12 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 257 - .../up.yaml | 258 - .../down.yaml | 258 - .../up.yaml | 259 - .../down.yaml | 257 - .../up.yaml | 258 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 38 - .../up.yaml | 40 - .../down.yaml | 39 - .../up.yaml | 41 - .../down.yaml | 38 - .../up.yaml | 40 - .../down.yaml | 1 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 59 - .../up.yaml | 60 - .../down.yaml | 53 - .../up.yaml | 54 - .../down.yaml | 5 - .../up.yaml | 5 - .../1596730747611_run_sql_migration/down.yaml | 1 - .../1596730747611_run_sql_migration/up.yaml | 14 - .../down.yaml | 10 - .../up.yaml | 5 - .../1596731045755_run_sql_migration/down.yaml | 1 - .../1596731045755_run_sql_migration/up.yaml | 14 - .../down.yaml | 10 - .../up.yaml | 5 - .../1596731097672_run_sql_migration/down.yaml | 1 - .../1596731097672_run_sql_migration/up.yaml | 14 - .../down.yaml | 10 - .../up.yaml | 5 - .../1596731190786_run_sql_migration/down.yaml | 1 - .../1596731190786_run_sql_migration/up.yaml | 14 - .../1596731313289_run_sql_migration/down.yaml | 1 - .../1596731313289_run_sql_migration/up.yaml | 8 - .../1596731327292_run_sql_migration/down.yaml | 1 - .../1596731327292_run_sql_migration/up.yaml | 8 - .../down.yaml | 8 - .../up.yaml | 5 - .../1596731602565_run_sql_migration/down.yaml | 1 - .../1596731602565_run_sql_migration/up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 13 - .../down.yaml | 6 - .../up.yaml | 26 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 24 - .../up.yaml | 25 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 60 - .../up.yaml | 61 - .../down.yaml | 54 - .../up.yaml | 55 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 31 - .../up.yaml | 32 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 61 - .../up.yaml | 62 - .../down.yaml | 55 - .../up.yaml | 56 - .../down.yaml | 258 - .../up.yaml | 257 - .../down.yaml | 259 - .../up.yaml | 258 - .../down.yaml | 258 - .../up.yaml | 257 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 257 - .../up.yaml | 258 - .../down.yaml | 258 - .../up.yaml | 259 - .../down.yaml | 257 - .../up.yaml | 258 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 258 - .../up.yaml | 260 - .../down.yaml | 259 - .../up.yaml | 261 - .../down.yaml | 258 - .../up.yaml | 260 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 62 - .../up.yaml | 65 - .../down.yaml | 56 - .../up.yaml | 59 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 65 - .../up.yaml | 66 - .../down.yaml | 59 - .../up.yaml | 60 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 24 - .../up.yaml | 33 - .../1598482210998_run_sql_migration/down.yaml | 1 - .../1598482210998_run_sql_migration/up.yaml | 11 - .../1598482371598_run_sql_migration/down.yaml | 1 - .../1598482371598_run_sql_migration/up.yaml | 11 - .../1598482569425_run_sql_migration/down.yaml | 1 - .../1598482569425_run_sql_migration/up.yaml | 11 - .../1598568175188_run_sql_migration/down.yaml | 1 - .../1598568175188_run_sql_migration/up.yaml | 8 - .../1598568298727_run_sql_migration/down.yaml | 1 - .../1598568298727_run_sql_migration/up.yaml | 8 - .../1598568331134_run_sql_migration/down.yaml | 1 - .../1598568331134_run_sql_migration/up.yaml | 8 - .../1598634176882_run_sql_migration/down.yaml | 1 - .../1598634176882_run_sql_migration/up.yaml | 9 - .../1598634335411_run_sql_migration/down.yaml | 1 - .../1598634335411_run_sql_migration/up.yaml | 9 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 66 - .../up.yaml | 67 - .../down.yaml | 60 - .../up.yaml | 61 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 67 - .../up.yaml | 68 - .../down.yaml | 61 - .../up.yaml | 62 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 260 - .../up.yaml | 261 - .../down.yaml | 261 - .../up.yaml | 262 - .../down.yaml | 260 - .../up.yaml | 261 - .../down.yaml | 6 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 261 - .../up.yaml | 260 - .../down.yaml | 262 - .../up.yaml | 261 - .../down.yaml | 261 - .../up.yaml | 260 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 260 - .../up.yaml | 261 - .../down.yaml | 261 - .../up.yaml | 262 - .../down.yaml | 260 - .../up.yaml | 261 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 77 - .../up.yaml | 79 - .../down.yaml | 78 - .../up.yaml | 80 - .../down.yaml | 77 - .../up.yaml | 79 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 68 - .../up.yaml | 69 - .../down.yaml | 62 - .../up.yaml | 63 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 69 - .../up.yaml | 70 - .../down.yaml | 63 - .../up.yaml | 64 - .../1600811731481_run_sql_migration/down.yaml | 1 - .../1600811731481_run_sql_migration/up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../1600812079500_run_sql_migration/down.yaml | 1 - .../1600812079500_run_sql_migration/up.yaml | 8 - .../down.yaml | 7 - .../up.yaml | 7 - .../1600814306056_run_sql_migration/down.yaml | 1 - .../1600814306056_run_sql_migration/up.yaml | 8 - .../1600814334466_run_sql_migration/down.yaml | 1 - .../1600814334466_run_sql_migration/up.yaml | 12 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 70 - .../up.yaml | 71 - .../down.yaml | 64 - .../up.yaml | 65 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 261 - .../up.yaml | 262 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 261 - .../up.yaml | 262 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 264 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 262 - .../up.yaml | 262 - .../down.yaml | 264 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 79 - .../up.yaml | 81 - .../down.yaml | 80 - .../up.yaml | 82 - .../down.yaml | 79 - .../up.yaml | 81 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 71 - .../up.yaml | 72 - .../down.yaml | 65 - .../up.yaml | 66 - .../1601917532118_run_sql_migration/down.yaml | 1 - .../1601917532118_run_sql_migration/up.yaml | 40 - .../1601918477756_run_sql_migration/down.yaml | 1 - .../1601918477756_run_sql_migration/up.yaml | 14 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 72 - .../up.yaml | 74 - .../down.yaml | 66 - .../up.yaml | 68 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 44 - .../up.yaml | 44 - .../down.yaml | 45 - .../up.yaml | 45 - .../down.yaml | 44 - .../up.yaml | 44 - .../down.yaml | 45 - .../up.yaml | 44 - .../down.yaml | 46 - .../up.yaml | 45 - .../down.yaml | 45 - .../up.yaml | 44 - .../down.yaml | 64 - .../up.yaml | 61 - .../down.yaml | 65 - .../up.yaml | 62 - .../down.yaml | 64 - .../up.yaml | 61 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 11 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 61 - .../up.yaml | 63 - .../down.yaml | 62 - .../up.yaml | 64 - .../down.yaml | 61 - .../up.yaml | 63 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 39 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 11 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 264 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 10 - .../up.yaml | 5 - .../1608179312131_run_sql_migration/down.yaml | 1 - .../1608179312131_run_sql_migration/up.yaml | 17 - .../1608179336471_run_sql_migration/down.yaml | 1 - .../1608179336471_run_sql_migration/up.yaml | 21 - .../1608179815354_run_sql_migration/down.yaml | 1 - .../1608179815354_run_sql_migration/up.yaml | 18 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 40 - .../up.yaml | 41 - .../1608740480171_run_sql_migration/down.yaml | 1 - .../1608740480171_run_sql_migration/up.yaml | 10 - .../1608740577735_run_sql_migration/down.yaml | 1 - .../1608740577735_run_sql_migration/up.yaml | 6 - .../1608740773551_run_sql_migration/down.yaml | 1 - .../1608740773551_run_sql_migration/up.yaml | 10 - .../1608741009417_run_sql_migration/down.yaml | 1 - .../1608741009417_run_sql_migration/up.yaml | 5 - .../1608741053957_run_sql_migration/down.yaml | 1 - .../1608741053957_run_sql_migration/up.yaml | 6 - .../1608741063718_run_sql_migration/down.yaml | 1 - .../1608741063718_run_sql_migration/up.yaml | 6 - .../1608741100308_run_sql_migration/down.yaml | 1 - .../1608741100308_run_sql_migration/up.yaml | 5 - .../1608741387779_run_sql_migration/down.yaml | 1 - .../1608741387779_run_sql_migration/up.yaml | 11 - .../1608741701614_run_sql_migration/down.yaml | 1 - .../1608741701614_run_sql_migration/up.yaml | 11 - .../1608741738380_run_sql_migration/down.yaml | 1 - .../1608741738380_run_sql_migration/up.yaml | 11 - .../down.yaml | 25 - .../up.yaml | 28 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 74 - .../up.yaml | 75 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 264 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 15 - .../up.yaml | 5 - .../1610061773237_run_sql_migration/down.yaml | 1 - .../1610061773237_run_sql_migration/up.yaml | 41 - .../down.yaml | 25 - .../up.yaml | 30 - .../down.yaml | 20 - .../up.yaml | 21 - .../down.yaml | 1 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 40 - .../up.yaml | 41 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 264 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 75 - .../up.yaml | 76 - .../down.yaml | 68 - .../up.yaml | 69 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 81 - .../up.yaml | 82 - .../down.yaml | 82 - .../up.yaml | 83 - .../down.yaml | 81 - .../up.yaml | 82 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 39 - .../up.yaml | 38 - .../down.yaml | 40 - .../up.yaml | 39 - .../down.yaml | 39 - .../up.yaml | 38 - .../down.yaml | 6 - .../up.yaml | 21 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 76 - .../up.yaml | 77 - .../down.yaml | 69 - .../up.yaml | 70 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 77 - .../up.yaml | 78 - .../down.yaml | 70 - .../up.yaml | 71 - .../down.yaml | 6 - .../up.yaml | 5 - .../1612286825846_run_sql_migration/down.yaml | 1 - .../1612286825846_run_sql_migration/up.yaml | 7 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 36 - .../up.yaml | 37 - .../1612809975689_run_sql_migration/down.yaml | 1 - .../1612809975689_run_sql_migration/up.yaml | 10 - .../1612810025041_run_sql_migration/down.yaml | 1 - .../1612810025041_run_sql_migration/up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 264 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 262 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 36 - .../up.yaml | 45 - .../down.yaml | 37 - .../up.yaml | 46 - .../down.yaml | 23 - .../up.yaml | 32 - .../down.yaml | 25 - .../up.yaml | 45 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 44 - .../up.yaml | 41 - .../down.yaml | 45 - .../up.yaml | 42 - .../down.yaml | 44 - .../up.yaml | 41 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 16 - .../up.yaml | 5 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 78 - .../up.yaml | 79 - .../down.yaml | 71 - .../up.yaml | 72 - .../1613752488707_run_sql_migration/down.yaml | 1 - .../1613752488707_run_sql_migration/up.yaml | 9 - .../1613752680367_run_sql_migration/down.yaml | 1 - .../1613752680367_run_sql_migration/up.yaml | 10 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 263 - .../up.yaml | 264 - .../down.yaml | 262 - .../up.yaml | 263 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 79 - .../up.yaml | 80 - .../down.yaml | 72 - .../up.yaml | 73 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 37 - .../up.yaml | 36 - .../down.yaml | 38 - .../up.yaml | 37 - .../down.yaml | 36 - .../up.yaml | 35 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 36 - .../up.yaml | 37 - .../down.yaml | 37 - .../up.yaml | 38 - .../down.yaml | 35 - .../up.yaml | 36 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 39 - .../up.yaml | 39 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 6 - .../up.yaml | 5 - .../down.yaml | 80 - .../up.yaml | 79 - .../down.yaml | 73 - .../up.yaml | 72 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 79 - .../up.yaml | 80 - .../down.yaml | 72 - .../up.yaml | 73 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 6 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../1614196246406_run_sql_migration/down.yaml | 1 - .../1614196246406_run_sql_migration/up.yaml | 10 - .../1614196402453_run_sql_migration/down.yaml | 1 - .../1614196402453_run_sql_migration/up.yaml | 11 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 12 - .../up.yaml | 10 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 263 - .../up.yaml | 265 - .../down.yaml | 264 - .../up.yaml | 266 - .../down.yaml | 263 - .../up.yaml | 265 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 265 - .../up.yaml | 266 - .../down.yaml | 266 - .../up.yaml | 267 - .../down.yaml | 265 - .../up.yaml | 266 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 34 - .../up.yaml | 35 - .../down.yaml | 33 - .../up.yaml | 34 - .../down.yaml | 73 - .../up.yaml | 74 - .../down.yaml | 80 - .../up.yaml | 78 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 78 - .../up.yaml | 79 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 42 - .../up.yaml | 43 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 42 - .../up.yaml | 43 - .../down.yaml | 41 - .../up.yaml | 42 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 39 - .../up.yaml | 40 - .../down.yaml | 38 - .../up.yaml | 39 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 45 - .../up.yaml | 46 - .../down.yaml | 46 - .../up.yaml | 47 - .../down.yaml | 47 - .../up.yaml | 47 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 79 - .../up.yaml | 80 - .../down.yaml | 39 - .../up.yaml | 39 - .../down.yaml | 43 - .../up.yaml | 43 - .../down.yaml | 50 - .../up.yaml | 50 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 63 - .../up.yaml | 64 - .../down.yaml | 64 - .../up.yaml | 65 - .../down.yaml | 63 - .../up.yaml | 64 - .../down.yaml | 5 - .../up.yaml | 5 - .../1618357029467_run_sql_migration/down.yaml | 1 - .../1618357029467_run_sql_migration/up.yaml | 21 - .../1618357258765_run_sql_migration/down.yaml | 1 - .../1618357258765_run_sql_migration/up.yaml | 5 - .../1618357269948_run_sql_migration/down.yaml | 1 - .../1618357269948_run_sql_migration/up.yaml | 21 - .../1618357338608_run_sql_migration/down.yaml | 1 - .../1618357338608_run_sql_migration/up.yaml | 21 - .../1618358104427_run_sql_migration/down.yaml | 1 - .../1618358104427_run_sql_migration/up.yaml | 5 - .../1618358164400_run_sql_migration/down.yaml | 1 - .../1618358164400_run_sql_migration/up.yaml | 21 - .../1618358356468_run_sql_migration/down.yaml | 1 - .../1618358356468_run_sql_migration/up.yaml | 21 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 80 - .../up.yaml | 81 - .../down.yaml | 74 - .../up.yaml | 75 - .../1618431549525_run_sql_migration/down.yaml | 1 - .../1618431549525_run_sql_migration/up.yaml | 15 - .../1618431624011_run_sql_migration/down.yaml | 1 - .../1618431624011_run_sql_migration/up.yaml | 15 - .../1618431735033_run_sql_migration/down.yaml | 1 - .../1618431735033_run_sql_migration/up.yaml | 15 - .../1618432990073_run_sql_migration/down.yaml | 1 - .../1618432990073_run_sql_migration/up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 27 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 48 - .../up.yaml | 80 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 30 - .../down.yaml | 6 - .../up.yaml | 31 - .../down.yaml | 5 - .../up.yaml | 5 - .../1619039107283_run_sql_migration/down.yaml | 1 - .../1619039107283_run_sql_migration/up.yaml | 17 - .../1619039299307_run_sql_migration/down.yaml | 1 - .../1619039299307_run_sql_migration/up.yaml | 18 - .../1619039339617_run_sql_migration/down.yaml | 1 - .../1619039339617_run_sql_migration/up.yaml | 18 - .../1619039390662_run_sql_migration/down.yaml | 1 - .../1619039390662_run_sql_migration/up.yaml | 17 - .../1619039746435_run_sql_migration/down.yaml | 1 - .../1619039746435_run_sql_migration/up.yaml | 17 - .../1619039995255_run_sql_migration/down.yaml | 1 - .../1619039995255_run_sql_migration/up.yaml | 18 - .../1619040031634_run_sql_migration/down.yaml | 1 - .../1619040031634_run_sql_migration/up.yaml | 19 - .../1619040190377_run_sql_migration/down.yaml | 1 - .../1619040190377_run_sql_migration/up.yaml | 19 - .../down.yaml | 5 - .../up.yaml | 11 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 5 - .../up.yaml | 26 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 6 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 40 - .../down.yaml | 6 - .../up.yaml | 38 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 6 - .../up.yaml | 38 - .../down.yaml | 6 - .../up.yaml | 39 - .../down.yaml | 6 - .../up.yaml | 37 - .../1619133694446_run_sql_migration/down.yaml | 1 - .../1619133694446_run_sql_migration/up.yaml | 26 - .../down.yaml | 43 - .../up.yaml | 43 - .../down.yaml | 30 - .../up.yaml | 27 - .../down.yaml | 27 - .../up.yaml | 25 - .../down.yaml | 21 - .../up.yaml | 23 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 81 - .../up.yaml | 82 - .../down.yaml | 75 - .../up.yaml | 76 - .../1619540860369_run_sql_migration/down.yaml | 1 - .../1619540860369_run_sql_migration/up.yaml | 26 - .../1619540900896_run_sql_migration/down.yaml | 1 - .../1619540900896_run_sql_migration/up.yaml | 23 - .../down.yaml | 6 - .../up.yaml | 17 - .../1619823252812_run_sql_migration/down.yaml | 1 - .../1619823252812_run_sql_migration/up.yaml | 5 - .../1619823272875_run_sql_migration/down.yaml | 1 - .../1619823272875_run_sql_migration/up.yaml | 5 - .../1619823657628_run_sql_migration/down.yaml | 1 - .../1619823657628_run_sql_migration/up.yaml | 8 - .../1619823749138_run_sql_migration/down.yaml | 1 - .../1619823749138_run_sql_migration/up.yaml | 5 - .../1619824320231_run_sql_migration/down.yaml | 1 - .../1619824320231_run_sql_migration/up.yaml | 17 - .../1619824803848_run_sql_migration/down.yaml | 1 - .../1619824803848_run_sql_migration/up.yaml | 18 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 266 - .../up.yaml | 267 - .../down.yaml | 267 - .../up.yaml | 268 - .../down.yaml | 266 - .../up.yaml | 267 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 25 - .../up.yaml | 26 - .../down.yaml | 23 - .../up.yaml | 24 - .../down.yaml | 5 - .../up.yaml | 6 - .../down.yaml | 19 - .../up.yaml | 20 - .../down.yaml | 28 - .../up.yaml | 29 - .../down.yaml | 5 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 10 - .../down.yaml | 12 - .../up.yaml | 20 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 7 - .../up.yaml | 7 - .../down.yaml | 267 - .../up.yaml | 267 - .../down.yaml | 268 - .../up.yaml | 268 - .../down.yaml | 267 - .../up.yaml | 267 - .../down.yaml | 10 - .../up.yaml | 5 - .../down.yaml | 5 - .../up.yaml | 5 - hasura/migrations/metadata.yaml | 4495 ----------- 2868 files changed, 3 insertions(+), 140870 deletions(-) delete mode 100644 hasura/backups/dump-db62dpegj5roh3-202009221434.sql delete mode 100644 hasura/hasura_metadata_2020_09_22_14_25_15_367.json delete mode 100644 hasura/migrations/1575655211742_create_table_public_users/down.yaml delete mode 100644 hasura/migrations/1575655211742_create_table_public_users/up.yaml delete mode 100644 hasura/migrations/1575655225393_create_table_public_navitems/down.yaml delete mode 100644 hasura/migrations/1575655225393_create_table_public_navitems/up.yaml delete mode 100644 hasura/migrations/1575655236263_drop_table_public_navitems/down.yaml delete mode 100644 hasura/migrations/1575655236263_drop_table_public_navitems/up.yaml delete mode 100644 hasura/migrations/1575655252208_create_table_public_masterdata/down.yaml delete mode 100644 hasura/migrations/1575655252208_create_table_public_masterdata/up.yaml delete mode 100644 hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1575655363093_create_table_public_bodyshops/down.yaml delete mode 100644 hasura/migrations/1575655363093_create_table_public_bodyshops/up.yaml delete mode 100644 hasura/migrations/1575655424561_create_table_public_associations/down.yaml delete mode 100644 hasura/migrations/1575655424561_create_table_public_associations/up.yaml delete mode 100644 hasura/migrations/1575655478543_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1575655478543_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1575655536805_create_table_public_jobs/down.yaml delete mode 100644 hasura/migrations/1575655536805_create_table_public_jobs/up.yaml delete mode 100644 hasura/migrations/1575655627760_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575655627760_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575655638632_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575655638632_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1575658209686_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1575658209686_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1575660238077_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1575660238077_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1575660243572_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1575660243572_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1575660247920_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1575660247920_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1575660251141_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1575660251141_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1575660323008_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1575660323008_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575667732220_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575667732220_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575667738815_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575667738815_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668596604_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668596604_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668601516_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668601516_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/down.yaml delete mode 100644 hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/up.yaml delete mode 100644 hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/down.yaml delete mode 100644 hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/up.yaml delete mode 100644 hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/down.yaml delete mode 100644 hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/up.yaml delete mode 100644 hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/down.yaml delete mode 100644 hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/up.yaml delete mode 100644 hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/down.yaml delete mode 100644 hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/up.yaml delete mode 100644 hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/down.yaml delete mode 100644 hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/up.yaml delete mode 100644 hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/down.yaml delete mode 100644 hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/up.yaml delete mode 100644 hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/down.yaml delete mode 100644 hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/up.yaml delete mode 100644 hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/down.yaml delete mode 100644 hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/up.yaml delete mode 100644 hasura/migrations/1576008393377_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576008393377_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576008404806_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576008404806_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576008411287_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576008411287_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576008417375_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576008417375_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/down.yaml delete mode 100644 hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/up.yaml delete mode 100644 hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/down.yaml delete mode 100644 hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/up.yaml delete mode 100644 hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/down.yaml delete mode 100644 hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/up.yaml delete mode 100644 hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/down.yaml delete mode 100644 hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/up.yaml delete mode 100644 hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/down.yaml delete mode 100644 hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/up.yaml delete mode 100644 hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/down.yaml delete mode 100644 hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/up.yaml delete mode 100644 hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml delete mode 100644 hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml delete mode 100644 hasura/migrations/1576014144093_create_table_public_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014144093_create_table_public_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014152478_add_relationship__table_public_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014152478_add_relationship__table_public_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014578461_create_table_public_owners/down.yaml delete mode 100644 hasura/migrations/1576014578461_create_table_public_owners/up.yaml delete mode 100644 hasura/migrations/1576014584770_add_relationship__table_public_owners/down.yaml delete mode 100644 hasura/migrations/1576014584770_add_relationship__table_public_owners/up.yaml delete mode 100644 hasura/migrations/1576014629571_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576014629571_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576014635512_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576014635512_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576014641407_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576014641407_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576014648112_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576014648112_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576014651784_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576014651784_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/down.yaml delete mode 100644 hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/up.yaml delete mode 100644 hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/down.yaml delete mode 100644 hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/up.yaml delete mode 100644 hasura/migrations/1576015434120_jobs_rates_1/down.yaml delete mode 100644 hasura/migrations/1576015434120_jobs_rates_1/up.yaml delete mode 100644 hasura/migrations/1576016564351_jobs_data2/down.yaml delete mode 100644 hasura/migrations/1576016564351_jobs_data2/up.yaml delete mode 100644 hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/down.yaml delete mode 100644 hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/up.yaml delete mode 100644 hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/down.yaml delete mode 100644 hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/up.yaml delete mode 100644 hasura/migrations/1576018142298_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1576018142298_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1576019378331_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576019378331_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576019542947_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1576019542947_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1576019690098_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576019690098_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576019700601_delete_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576019700601_delete_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576019716667_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576019716667_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576019726586_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576019726586_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576020312696_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576020312696_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576021306809_remove_roles_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576021306809_remove_roles_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576021327368_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576021327368_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576021331871_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576021331871_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576021618689_remove_roles_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576021618689_remove_roles_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576021625374_remove_roles_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1576021625374_remove_roles_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576021639806_remove_roles_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576021639806_remove_roles_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576021647414_remove_roles_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1576021647414_remove_roles_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1576021655502_remove_roles_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576021655502_remove_roles_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576021673775_remove_roles_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576021673775_remove_roles_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576021723657_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576021723657_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576022310317_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576022310317_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576022435103_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576022435103_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576022455887_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1576022455887_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1576022465318_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1576022465318_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576026931133_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576026931133_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576026955649_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576026955649_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576026973657_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576026973657_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576026979367_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576026979367_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/down.yaml delete mode 100644 hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/up.yaml delete mode 100644 hasura/migrations/1576027033657_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576027033657_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576027044808_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576027044808_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576027050551_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576027050551_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576027068096_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1576027068096_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1576029072284_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576029072284_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576029179533_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1576029179533_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/down.yaml delete mode 100644 hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/up.yaml delete mode 100644 hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/down.yaml delete mode 100644 hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/up.yaml delete mode 100644 hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/down.yaml delete mode 100644 hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/up.yaml delete mode 100644 hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/down.yaml delete mode 100644 hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/up.yaml delete mode 100644 hasura/migrations/1576535389457_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576535389457_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576535397848_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576535397848_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576535406904_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576535406904_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/down.yaml delete mode 100644 hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/up.yaml delete mode 100644 hasura/migrations/1576545362627_create_table_public_joblines/down.yaml delete mode 100644 hasura/migrations/1576545362627_create_table_public_joblines/up.yaml delete mode 100644 hasura/migrations/1576545371943_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1576545371943_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1576545448467_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1576545448467_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1576545454196_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1576545454196_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1576545472510_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1576545472510_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1576545476731_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1576545476731_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/down.yaml delete mode 100644 hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/up.yaml delete mode 100644 hasura/migrations/1576606158614_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576606158614_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576606166716_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576606166716_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576606172105_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1576606172105_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/down.yaml delete mode 100644 hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/up.yaml delete mode 100644 hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1577753580584_create_table_public_job_status/down.yaml delete mode 100644 hasura/migrations/1577753580584_create_table_public_job_status/up.yaml delete mode 100644 hasura/migrations/1577753590084_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1577753590084_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1577753654005_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753654005_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753660685_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753660685_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753667543_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753667543_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753671228_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753671228_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/down.yaml delete mode 100644 hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/up.yaml delete mode 100644 hasura/migrations/1577753849417_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753849417_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753852887_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753852887_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577753857951_update_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1577753857951_update_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/down.yaml delete mode 100644 hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/up.yaml delete mode 100644 hasura/migrations/1577754190642_set_fk_public_jobs_statusid/down.yaml delete mode 100644 hasura/migrations/1577754190642_set_fk_public_jobs_statusid/up.yaml delete mode 100644 hasura/migrations/1577754205804_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1577754205804_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1577754219714_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1577754219714_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1577754229569_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1577754229569_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1577754242567_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1577754242567_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/down.yaml delete mode 100644 hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/up.yaml delete mode 100644 hasura/migrations/1578415206280_create_table_public_vendors/down.yaml delete mode 100644 hasura/migrations/1578415206280_create_table_public_vendors/up.yaml delete mode 100644 hasura/migrations/1578415220953_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1578415220953_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1578415310253_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1578415310253_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1578415315745_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1578415315745_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1578415321110_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1578415321110_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1578415327701_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1578415327701_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1578416086468_create_table_public_parts_order/down.yaml delete mode 100644 hasura/migrations/1578416086468_create_table_public_parts_order/up.yaml delete mode 100644 hasura/migrations/1578416103317_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1578416103317_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1578416710710_create_table_public_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1578416710710_create_table_public_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1578416775337_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1578416775337_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/down.yaml delete mode 100644 hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/up.yaml delete mode 100644 hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/down.yaml delete mode 100644 hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/up.yaml delete mode 100644 hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/down.yaml delete mode 100644 hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/up.yaml delete mode 100644 hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/down.yaml delete mode 100644 hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/up.yaml delete mode 100644 hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/down.yaml delete mode 100644 hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/up.yaml delete mode 100644 hasura/migrations/1578593710942_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578593710942_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578593719835_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578593719835_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578593729177_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578593729177_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578604401770_bulk_jobs_update/down.yaml delete mode 100644 hasura/migrations/1578604401770_bulk_jobs_update/up.yaml delete mode 100644 hasura/migrations/1578604420364_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578604420364_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578604426830_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578604426830_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578604433860_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578604433860_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/down.yaml delete mode 100644 hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/up.yaml delete mode 100644 hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/down.yaml delete mode 100644 hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/up.yaml delete mode 100644 hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/down.yaml delete mode 100644 hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/up.yaml delete mode 100644 hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/down.yaml delete mode 100644 hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/up.yaml delete mode 100644 hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/down.yaml delete mode 100644 hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/up.yaml delete mode 100644 hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/down.yaml delete mode 100644 hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/up.yaml delete mode 100644 hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/down.yaml delete mode 100644 hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/up.yaml delete mode 100644 hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/down.yaml delete mode 100644 hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/up.yaml delete mode 100644 hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/down.yaml delete mode 100644 hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/up.yaml delete mode 100644 hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/down.yaml delete mode 100644 hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/up.yaml delete mode 100644 hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/down.yaml delete mode 100644 hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/up.yaml delete mode 100644 hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/down.yaml delete mode 100644 hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/up.yaml delete mode 100644 hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/down.yaml delete mode 100644 hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/up.yaml delete mode 100644 hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/down.yaml delete mode 100644 hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/up.yaml delete mode 100644 hasura/migrations/1578954579180_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578954579180_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578954585318_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578954585318_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578954590633_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1578954590633_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1578961956675_create_table_public_notes/down.yaml delete mode 100644 hasura/migrations/1578961956675_create_table_public_notes/up.yaml delete mode 100644 hasura/migrations/1578961968258_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1578961968258_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1578962007220_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1578962007220_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1578962015322_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1578962015322_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1578962026938_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1578962026938_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1578962038955_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1578962038955_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1578962633097_set_fk_public_notes_created_by/down.yaml delete mode 100644 hasura/migrations/1578962633097_set_fk_public_notes_created_by/up.yaml delete mode 100644 hasura/migrations/1579026961016_create_table_public_counters/down.yaml delete mode 100644 hasura/migrations/1579026961016_create_table_public_counters/up.yaml delete mode 100644 hasura/migrations/1579026971671_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1579026971671_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1579027296343_create_ronum_function/down.yaml delete mode 100644 hasura/migrations/1579027296343_create_ronum_function/up.yaml delete mode 100644 hasura/migrations/1579027345149_assign_ro_trigger/down.yaml delete mode 100644 hasura/migrations/1579027345149_assign_ro_trigger/up.yaml delete mode 100644 hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/down.yaml delete mode 100644 hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/up.yaml delete mode 100644 hasura/migrations/1579028156646_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579028156646_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579028161738_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579028161738_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579028166613_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579028166613_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579030370307_fix_assign_ro_function/down.yaml delete mode 100644 hasura/migrations/1579030370307_fix_assign_ro_function/up.yaml delete mode 100644 hasura/migrations/1579031584079_fix_ro_assign_function2/down.yaml delete mode 100644 hasura/migrations/1579031584079_fix_ro_assign_function2/up.yaml delete mode 100644 hasura/migrations/1579031647010_fix_ro_assign_function3/down.yaml delete mode 100644 hasura/migrations/1579031647010_fix_ro_assign_function3/up.yaml delete mode 100644 hasura/migrations/1579106882840_create_table_public_documents/down.yaml delete mode 100644 hasura/migrations/1579106882840_create_table_public_documents/up.yaml delete mode 100644 hasura/migrations/1579106900223_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1579106900223_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1579106943432_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579106943432_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579106952393_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579106952393_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579106959311_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579106959311_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579106966146_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579106966146_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml delete mode 100644 hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml delete mode 100644 hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/down.yaml delete mode 100644 hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/up.yaml delete mode 100644 hasura/migrations/1579303896469_ad1_file_additions/down.yaml delete mode 100644 hasura/migrations/1579303896469_ad1_file_additions/up.yaml delete mode 100644 hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/down.yaml delete mode 100644 hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/up.yaml delete mode 100644 hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/down.yaml delete mode 100644 hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/up.yaml delete mode 100644 hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/down.yaml delete mode 100644 hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/up.yaml delete mode 100644 hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/down.yaml delete mode 100644 hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/up.yaml delete mode 100644 hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/down.yaml delete mode 100644 hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/up.yaml delete mode 100644 hasura/migrations/1579304768385_additional_ad1_fields/down.yaml delete mode 100644 hasura/migrations/1579304768385_additional_ad1_fields/up.yaml delete mode 100644 hasura/migrations/1579305427485_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579305427485_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579305435976_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579305435976_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579305444942_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579305444942_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/down.yaml delete mode 100644 hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/up.yaml delete mode 100644 hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/down.yaml delete mode 100644 hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/up.yaml delete mode 100644 hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/down.yaml delete mode 100644 hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/up.yaml delete mode 100644 hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/down.yaml delete mode 100644 hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/up.yaml delete mode 100644 hasura/migrations/1579316700913_new_vehicle_fields/down.yaml delete mode 100644 hasura/migrations/1579316700913_new_vehicle_fields/up.yaml delete mode 100644 hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/down.yaml delete mode 100644 hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/up.yaml delete mode 100644 hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1579317282874_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579317282874_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579317288521_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579317288521_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579317294400_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579317294400_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/down.yaml delete mode 100644 hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/up.yaml delete mode 100644 hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/down.yaml delete mode 100644 hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/up.yaml delete mode 100644 hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/down.yaml delete mode 100644 hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/up.yaml delete mode 100644 hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/down.yaml delete mode 100644 hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/up.yaml delete mode 100644 hasura/migrations/1579729438238_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579729438238_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579729459311_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579729459311_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579729474321_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579729474321_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579729492341_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579729492341_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/down.yaml delete mode 100644 hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/up.yaml delete mode 100644 hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/down.yaml delete mode 100644 hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/up.yaml delete mode 100644 hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/down.yaml delete mode 100644 hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/up.yaml delete mode 100644 hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/down.yaml delete mode 100644 hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/up.yaml delete mode 100644 hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/down.yaml delete mode 100644 hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/up.yaml delete mode 100644 hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/down.yaml delete mode 100644 hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/up.yaml delete mode 100644 hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/down.yaml delete mode 100644 hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/up.yaml delete mode 100644 hasura/migrations/1579808226020_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579808226020_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579808232227_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579808232227_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579808237403_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1579808237403_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1579818641451_enable_pg_trm/down.yaml delete mode 100644 hasura/migrations/1579818641451_enable_pg_trm/up.yaml delete mode 100644 hasura/migrations/1579819352860_create_gin_index_jobs/down.yaml delete mode 100644 hasura/migrations/1579819352860_create_gin_index_jobs/up.yaml delete mode 100644 hasura/migrations/1579819439525_search_jobs_function/down.yaml delete mode 100644 hasura/migrations/1579819439525_search_jobs_function/up.yaml delete mode 100644 hasura/migrations/1579820833038_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1579820833038_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1579820853826_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1579820853826_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1579821113991_new_jobs_index/down.yaml delete mode 100644 hasura/migrations/1579821113991_new_jobs_index/up.yaml delete mode 100644 hasura/migrations/1579823064149_drop_index/down.yaml delete mode 100644 hasura/migrations/1579823064149_drop_index/up.yaml delete mode 100644 hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/down.yaml delete mode 100644 hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/up.yaml delete mode 100644 hasura/migrations/1579825076007_job_search_function/down.yaml delete mode 100644 hasura/migrations/1579825076007_job_search_function/up.yaml delete mode 100644 hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/down.yaml delete mode 100644 hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/up.yaml delete mode 100644 hasura/migrations/1579828405600_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828405600_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579828420568_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828420568_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579828431423_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828431423_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/down.yaml delete mode 100644 hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/up.yaml delete mode 100644 hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/down.yaml delete mode 100644 hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/up.yaml delete mode 100644 hasura/migrations/1579828599348_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828599348_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579828619557_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828619557_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1579828627607_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1579828627607_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/down.yaml delete mode 100644 hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/up.yaml delete mode 100644 hasura/migrations/1580169357455_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169357455_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169365397_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169365397_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169373151_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169373151_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/down.yaml delete mode 100644 hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/up.yaml delete mode 100644 hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/down.yaml delete mode 100644 hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/up.yaml delete mode 100644 hasura/migrations/1580169609143_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169609143_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169617954_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169617954_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580169626079_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580169626079_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/down.yaml delete mode 100644 hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/up.yaml delete mode 100644 hasura/migrations/1580178922902_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580178922902_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580178929598_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580178929598_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580178936376_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580178936376_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/down.yaml delete mode 100644 hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/up.yaml delete mode 100644 hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/down.yaml delete mode 100644 hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/up.yaml delete mode 100644 hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/down.yaml delete mode 100644 hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/up.yaml delete mode 100644 hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/down.yaml delete mode 100644 hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/up.yaml delete mode 100644 hasura/migrations/1580180067779_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180067779_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580180073360_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180073360_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580180078983_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180078983_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/down.yaml delete mode 100644 hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/up.yaml delete mode 100644 hasura/migrations/1580180688551_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180688551_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580180694341_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180694341_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580180700206_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580180700206_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/down.yaml delete mode 100644 hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/up.yaml delete mode 100644 hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/down.yaml delete mode 100644 hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/up.yaml delete mode 100644 hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/down.yaml delete mode 100644 hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/up.yaml delete mode 100644 hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/down.yaml delete mode 100644 hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/up.yaml delete mode 100644 hasura/migrations/1580232453942_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580232453942_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580232464001_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580232464001_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580232469614_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580232469614_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/down.yaml delete mode 100644 hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/up.yaml delete mode 100644 hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/down.yaml delete mode 100644 hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/up.yaml delete mode 100644 hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/down.yaml delete mode 100644 hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/up.yaml delete mode 100644 hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/down.yaml delete mode 100644 hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/up.yaml delete mode 100644 hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/down.yaml delete mode 100644 hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/up.yaml delete mode 100644 hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/down.yaml delete mode 100644 hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/up.yaml delete mode 100644 hasura/migrations/1580235459628_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580235459628_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580235465660_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580235465660_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580235470911_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580235470911_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580237327073_create_table_public_available_jobs/down.yaml delete mode 100644 hasura/migrations/1580237327073_create_table_public_available_jobs/up.yaml delete mode 100644 hasura/migrations/1580237346108_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1580237346108_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/down.yaml delete mode 100644 hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/up.yaml delete mode 100644 hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/down.yaml delete mode 100644 hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/up.yaml delete mode 100644 hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/down.yaml delete mode 100644 hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/up.yaml delete mode 100644 hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/down.yaml delete mode 100644 hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/up.yaml delete mode 100644 hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/down.yaml delete mode 100644 hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/up.yaml delete mode 100644 hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/down.yaml delete mode 100644 hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/up.yaml delete mode 100644 hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/down.yaml delete mode 100644 hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/up.yaml delete mode 100644 hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/down.yaml delete mode 100644 hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/up.yaml delete mode 100644 hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/down.yaml delete mode 100644 hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/up.yaml delete mode 100644 hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/down.yaml delete mode 100644 hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/up.yaml delete mode 100644 hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/down.yaml delete mode 100644 hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/up.yaml delete mode 100644 hasura/migrations/1580319295873_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580319295873_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580319301454_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580319301454_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580319306963_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580319306963_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580321100336_owner_gin_idx/down.yaml delete mode 100644 hasura/migrations/1580321100336_owner_gin_idx/up.yaml delete mode 100644 hasura/migrations/1580321202242_owner_search_function/down.yaml delete mode 100644 hasura/migrations/1580321202242_owner_search_function/up.yaml delete mode 100644 hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/down.yaml delete mode 100644 hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/up.yaml delete mode 100644 hasura/migrations/1580322221407_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580322221407_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580322225907_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580322225907_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580322230561_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580322230561_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/down.yaml delete mode 100644 hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/up.yaml delete mode 100644 hasura/migrations/1580332923811_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580332923811_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580332931020_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580332931020_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580332936658_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1580332936658_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1580338993317_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1580338993317_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1580339054130_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1580339054130_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/down.yaml delete mode 100644 hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/up.yaml delete mode 100644 hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/down.yaml delete mode 100644 hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/up.yaml delete mode 100644 hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml delete mode 100644 hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml delete mode 100644 hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/down.yaml delete mode 100644 hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/up.yaml delete mode 100644 hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml delete mode 100644 hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml delete mode 100644 hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/down.yaml delete mode 100644 hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/up.yaml delete mode 100644 hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/down.yaml delete mode 100644 hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/up.yaml delete mode 100644 hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml delete mode 100644 hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml delete mode 100644 hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml delete mode 100644 hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml delete mode 100644 hasura/migrations/1580343246214_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580343246214_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580343251291_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580343251291_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580343257730_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580343257730_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/down.yaml delete mode 100644 hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/up.yaml delete mode 100644 hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/down.yaml delete mode 100644 hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/up.yaml delete mode 100644 hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/down.yaml delete mode 100644 hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/up.yaml delete mode 100644 hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/down.yaml delete mode 100644 hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/up.yaml delete mode 100644 hasura/migrations/1580346901283_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580346901283_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580346908847_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580346908847_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580346914307_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580346914307_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580356194265_alter_line_ref/down.yaml delete mode 100644 hasura/migrations/1580356194265_alter_line_ref/up.yaml delete mode 100644 hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/down.yaml delete mode 100644 hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/up.yaml delete mode 100644 hasura/migrations/1580424750331_jobs_fields/down.yaml delete mode 100644 hasura/migrations/1580424750331_jobs_fields/up.yaml delete mode 100644 hasura/migrations/1580424775529_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580424775529_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580424780619_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580424780619_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580424785911_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580424785911_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580425245598_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1580425245598_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1580425277537_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580425277537_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580425285636_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580425285636_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580425296863_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580425296863_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/down.yaml delete mode 100644 hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/up.yaml delete mode 100644 hasura/migrations/1580425481308_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580425481308_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580425487863_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580425487863_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580425491775_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580425491775_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580425495615_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580425495615_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580425498865_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580425498865_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/down.yaml delete mode 100644 hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/up.yaml delete mode 100644 hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/down.yaml delete mode 100644 hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/up.yaml delete mode 100644 hasura/migrations/1580428876888_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580428876888_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580428884075_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580428884075_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580428891595_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1580428891595_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1580845008791_create_table_public_employees/down.yaml delete mode 100644 hasura/migrations/1580845008791_create_table_public_employees/up.yaml delete mode 100644 hasura/migrations/1580845024748_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1580845024748_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1580845064503_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1580845064503_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1580845070982_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1580845070982_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1580845078647_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1580845078647_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1580845085318_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1580845085318_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1580924578754_create_table_public_appointments/down.yaml delete mode 100644 hasura/migrations/1580924578754_create_table_public_appointments/up.yaml delete mode 100644 hasura/migrations/1580924597777_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1580924597777_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1580924636108_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1580924636108_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1580924643897_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1580924643897_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1580924650229_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1580924650229_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1580924654728_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1580924654728_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1580931183725_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580931183725_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580931192674_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580931192674_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580931206615_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1580931206615_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/down.yaml delete mode 100644 hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/up.yaml delete mode 100644 hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/down.yaml delete mode 100644 hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/up.yaml delete mode 100644 hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/down.yaml delete mode 100644 hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/up.yaml delete mode 100644 hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/down.yaml delete mode 100644 hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/up.yaml delete mode 100644 hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/down.yaml delete mode 100644 hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/up.yaml delete mode 100644 hasura/migrations/1581022758869_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581022758869_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581022764017_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581022764017_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581022771283_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581022771283_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581028719187_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581028719187_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/down.yaml delete mode 100644 hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/up.yaml delete mode 100644 hasura/migrations/1581029864710_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581029864710_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581029870003_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581029870003_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581029875101_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581029875101_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/down.yaml delete mode 100644 hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/up.yaml delete mode 100644 hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/down.yaml delete mode 100644 hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/up.yaml delete mode 100644 hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/down.yaml delete mode 100644 hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/up.yaml delete mode 100644 hasura/migrations/1581030663585_drop_table_public_job_status/down.yaml delete mode 100644 hasura/migrations/1581030663585_drop_table_public_job_status/up.yaml delete mode 100644 hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/down.yaml delete mode 100644 hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/up.yaml delete mode 100644 hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/down.yaml delete mode 100644 hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/up.yaml delete mode 100644 hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/down.yaml delete mode 100644 hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/up.yaml delete mode 100644 hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/down.yaml delete mode 100644 hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/up.yaml delete mode 100644 hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/down.yaml delete mode 100644 hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/up.yaml delete mode 100644 hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/down.yaml delete mode 100644 hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/up.yaml delete mode 100644 hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/down.yaml delete mode 100644 hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/up.yaml delete mode 100644 hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/down.yaml delete mode 100644 hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/up.yaml delete mode 100644 hasura/migrations/1581357336859_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1581357336859_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1581357342062_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1581357342062_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1581357346836_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1581357346836_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1581377678620_create_table_public_allocations/down.yaml delete mode 100644 hasura/migrations/1581377678620_create_table_public_allocations/up.yaml delete mode 100644 hasura/migrations/1581377762602_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1581377762602_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1581377891854_update_permission_user_public_table_allocations/down.yaml delete mode 100644 hasura/migrations/1581377891854_update_permission_user_public_table_allocations/up.yaml delete mode 100644 hasura/migrations/1581377911733_update_permission_user_public_table_allocations/down.yaml delete mode 100644 hasura/migrations/1581377911733_update_permission_user_public_table_allocations/up.yaml delete mode 100644 hasura/migrations/1581377928527_update_permission_user_public_table_allocations/down.yaml delete mode 100644 hasura/migrations/1581377928527_update_permission_user_public_table_allocations/up.yaml delete mode 100644 hasura/migrations/1581377943700_update_permission_user_public_table_allocations/down.yaml delete mode 100644 hasura/migrations/1581377943700_update_permission_user_public_table_allocations/up.yaml delete mode 100644 hasura/migrations/1581378054962_update_permission_user_public_table_allocations/down.yaml delete mode 100644 hasura/migrations/1581378054962_update_permission_user_public_table_allocations/up.yaml delete mode 100644 hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/down.yaml delete mode 100644 hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/up.yaml delete mode 100644 hasura/migrations/1581528231712_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581528231712_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581528238817_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581528238817_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581528245337_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581528245337_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/down.yaml delete mode 100644 hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/up.yaml delete mode 100644 hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/down.yaml delete mode 100644 hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/up.yaml delete mode 100644 hasura/migrations/1581529463377_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581529463377_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581529471244_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581529471244_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581529480083_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1581529480083_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/down.yaml delete mode 100644 hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/up.yaml delete mode 100644 hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/down.yaml delete mode 100644 hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/up.yaml delete mode 100644 hasura/migrations/1581530623178_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581530623178_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581530628660_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581530628660_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581530632721_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581530632721_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/down.yaml delete mode 100644 hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/up.yaml delete mode 100644 hasura/migrations/1581533044908_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1581533044908_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1581533078439_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581533078439_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581533085254_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581533085254_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581533092537_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581533092537_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581533100559_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581533100559_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581533106127_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581533106127_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/down.yaml delete mode 100644 hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/up.yaml delete mode 100644 hasura/migrations/1581536568049_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581536568049_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581536573614_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581536573614_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581536577315_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1581536577315_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/down.yaml delete mode 100644 hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/up.yaml delete mode 100644 hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/down.yaml delete mode 100644 hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/up.yaml delete mode 100644 hasura/migrations/1581630600157_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581630600157_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581630604954_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581630604954_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581630611638_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581630611638_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/down.yaml delete mode 100644 hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/up.yaml delete mode 100644 hasura/migrations/1581709971205_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581709971205_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581709974750_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581709974750_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581709977611_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581709977611_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/down.yaml delete mode 100644 hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/up.yaml delete mode 100644 hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/down.yaml delete mode 100644 hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/up.yaml delete mode 100644 hasura/migrations/1581710237559_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710237559_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581710252861_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710252861_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581710255645_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710255645_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581710270792_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710270792_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581710283854_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710283854_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1581710297623_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1581710297623_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/down.yaml delete mode 100644 hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/up.yaml delete mode 100644 hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/down.yaml delete mode 100644 hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/up.yaml delete mode 100644 hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/down.yaml delete mode 100644 hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/up.yaml delete mode 100644 hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/down.yaml delete mode 100644 hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/up.yaml delete mode 100644 hasura/migrations/1582046821601_rename_table_public_parts_order/down.yaml delete mode 100644 hasura/migrations/1582046821601_rename_table_public_parts_order/up.yaml delete mode 100644 hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/down.yaml delete mode 100644 hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/up.yaml delete mode 100644 hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/down.yaml delete mode 100644 hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/up.yaml delete mode 100644 hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1582151001705_drop_function_public_search_owners/down.yaml delete mode 100644 hasura/migrations/1582151001705_drop_function_public_search_owners/up.yaml delete mode 100644 hasura/migrations/1582151051596_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1582151051596_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1582151260638_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1582151260638_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1582151340160_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1582151340160_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/down.yaml delete mode 100644 hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/up.yaml delete mode 100644 hasura/migrations/1582224725146_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1582224725146_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1582224730652_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1582224730652_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1582224737046_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1582224737046_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1582587971597_create_table_public_invoices/down.yaml delete mode 100644 hasura/migrations/1582587971597_create_table_public_invoices/up.yaml delete mode 100644 hasura/migrations/1582587989233_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1582587989233_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1582588052326_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1582588052326_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1582588061657_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1582588061657_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1582588071369_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1582588071369_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1582588465637_create_table_public_invoicelines/down.yaml delete mode 100644 hasura/migrations/1582588465637_create_table_public_invoicelines/up.yaml delete mode 100644 hasura/migrations/1582588478430_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1582588478430_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/down.yaml delete mode 100644 hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/up.yaml delete mode 100644 hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/down.yaml delete mode 100644 hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/up.yaml delete mode 100644 hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/down.yaml delete mode 100644 hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/up.yaml delete mode 100644 hasura/migrations/1583795241718_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1583795241718_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/down.yaml delete mode 100644 hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/up.yaml delete mode 100644 hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/down.yaml delete mode 100644 hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/up.yaml delete mode 100644 hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1583795349329_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1583795349329_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1583795594722_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1583795594722_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1583795623008_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1583795623008_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1583795859969_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1583795859969_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/down.yaml delete mode 100644 hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/up.yaml delete mode 100644 hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/down.yaml delete mode 100644 hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/up.yaml delete mode 100644 hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/down.yaml delete mode 100644 hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/up.yaml delete mode 100644 hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/down.yaml delete mode 100644 hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/up.yaml delete mode 100644 hasura/migrations/1584473287107_set_fk_public_documents_vendorid/down.yaml delete mode 100644 hasura/migrations/1584473287107_set_fk_public_documents_vendorid/up.yaml delete mode 100644 hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/down.yaml delete mode 100644 hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/up.yaml delete mode 100644 hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/down.yaml delete mode 100644 hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/up.yaml delete mode 100644 hasura/migrations/1584473335595_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1584473335595_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585153417017_create_table_public_conversations/down.yaml delete mode 100644 hasura/migrations/1585153417017_create_table_public_conversations/up.yaml delete mode 100644 hasura/migrations/1585153424258_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1585153424258_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585153464139_update_permission_user_public_table_conversations/down.yaml delete mode 100644 hasura/migrations/1585153464139_update_permission_user_public_table_conversations/up.yaml delete mode 100644 hasura/migrations/1585153470172_update_permission_user_public_table_conversations/down.yaml delete mode 100644 hasura/migrations/1585153470172_update_permission_user_public_table_conversations/up.yaml delete mode 100644 hasura/migrations/1585153476909_update_permission_user_public_table_conversations/down.yaml delete mode 100644 hasura/migrations/1585153476909_update_permission_user_public_table_conversations/up.yaml delete mode 100644 hasura/migrations/1585153777706_create_table_public_messages/down.yaml delete mode 100644 hasura/migrations/1585153777706_create_table_public_messages/up.yaml delete mode 100644 hasura/migrations/1585153792735_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1585153792735_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585153822636_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585153822636_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585153829941_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585153829941_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585153837554_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585153837554_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585153843391_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585153843391_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585153926580_create_table_public_job_conversations/down.yaml delete mode 100644 hasura/migrations/1585153926580_create_table_public_job_conversations/up.yaml delete mode 100644 hasura/migrations/1585153936524_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1585153936524_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/down.yaml delete mode 100644 hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/up.yaml delete mode 100644 hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/down.yaml delete mode 100644 hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/up.yaml delete mode 100644 hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/down.yaml delete mode 100644 hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/up.yaml delete mode 100644 hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/down.yaml delete mode 100644 hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/up.yaml delete mode 100644 hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/down.yaml delete mode 100644 hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/up.yaml delete mode 100644 hasura/migrations/1585160140032_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585160140032_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585160145919_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585160145919_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585160150937_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585160150937_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/down.yaml delete mode 100644 hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/up.yaml delete mode 100644 hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1585179467940_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179467940_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585179475576_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179475576_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585179482717_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179482717_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/down.yaml delete mode 100644 hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/up.yaml delete mode 100644 hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/down.yaml delete mode 100644 hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/up.yaml delete mode 100644 hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/down.yaml delete mode 100644 hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/up.yaml delete mode 100644 hasura/migrations/1585179627356_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179627356_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585179632891_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179632891_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585179638124_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585179638124_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/down.yaml delete mode 100644 hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/up.yaml delete mode 100644 hasura/migrations/1585181603176_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585181603176_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585181608761_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585181608761_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585181614380_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585181614380_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585182358098_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1585182358098_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1585182522250_update_permission_user_public_table_conversations/down.yaml delete mode 100644 hasura/migrations/1585182522250_update_permission_user_public_table_conversations/up.yaml delete mode 100644 hasura/migrations/1585586288586_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1585586288586_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1585586312881_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585586312881_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585586320551_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585586320551_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585586326162_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585586326162_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585594344847_create_table_public_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585594344847_create_table_public_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585594392845_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1585594392845_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585595056116_create_table_public_cccontract/down.yaml delete mode 100644 hasura/migrations/1585595056116_create_table_public_cccontract/up.yaml delete mode 100644 hasura/migrations/1585595063336_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1585595063336_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585595120824_rename_table_public_cccontract/down.yaml delete mode 100644 hasura/migrations/1585595120824_rename_table_public_cccontract/up.yaml delete mode 100644 hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/down.yaml delete mode 100644 hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/up.yaml delete mode 100644 hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/down.yaml delete mode 100644 hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/up.yaml delete mode 100644 hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/down.yaml delete mode 100644 hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/up.yaml delete mode 100644 hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/down.yaml delete mode 100644 hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/up.yaml delete mode 100644 hasura/migrations/1585703170344_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585703170344_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585703177515_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585703177515_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585703194595_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1585703194595_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/down.yaml delete mode 100644 hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/up.yaml delete mode 100644 hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/down.yaml delete mode 100644 hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/up.yaml delete mode 100644 hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1586216036874_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1586216036874_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/down.yaml delete mode 100644 hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/up.yaml delete mode 100644 hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/down.yaml delete mode 100644 hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/up.yaml delete mode 100644 hasura/migrations/1586365232521_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586365232521_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586365248281_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586365248281_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586365257227_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586365257227_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/down.yaml delete mode 100644 hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/up.yaml delete mode 100644 hasura/migrations/1586880003979_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586880003979_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586880014259_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586880014259_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586880020786_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1586880020786_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1586907397057_create_table_public_timetickets/down.yaml delete mode 100644 hasura/migrations/1586907397057_create_table_public_timetickets/up.yaml delete mode 100644 hasura/migrations/1586907431308_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1586907431308_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/down.yaml delete mode 100644 hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/up.yaml delete mode 100644 hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587062110920_create_table_public_templates/down.yaml delete mode 100644 hasura/migrations/1587062110920_create_table_public_templates/up.yaml delete mode 100644 hasura/migrations/1587062123352_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1587062123352_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1587062292554_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1587062292554_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1587062297744_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1587062297744_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/down.yaml delete mode 100644 hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/up.yaml delete mode 100644 hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/down.yaml delete mode 100644 hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/up.yaml delete mode 100644 hasura/migrations/1587408195798_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587408195798_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587408202367_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587408202367_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587408207340_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587408207340_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587417631171_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1587417631171_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1587417677218_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587417677218_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587417682323_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587417682323_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587417686752_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1587417686752_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/down.yaml delete mode 100644 hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/up.yaml delete mode 100644 hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/down.yaml delete mode 100644 hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/up.yaml delete mode 100644 hasura/migrations/1587508379993_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1587508379993_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1587508390066_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1587508390066_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1587508396891_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1587508396891_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1587574775829_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1587574775829_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1587575091197_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1587575091197_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1587575154011_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1587575154011_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/down.yaml delete mode 100644 hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/up.yaml delete mode 100644 hasura/migrations/1587662623164_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587662623164_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1587662633919_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587662633919_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1587662641941_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587662641941_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/down.yaml delete mode 100644 hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/up.yaml delete mode 100644 hasura/migrations/1587663746281_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587663746281_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1587663753304_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587663753304_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1587663758715_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1587663758715_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1588004408193_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588004408193_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588004740163_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588004740163_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588004759773_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588004759773_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588021481109_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588021481109_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588021714218_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1588021714218_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1588023147082_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1588023147082_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1588023310053_drop_view_public_productionview/down.yaml delete mode 100644 hasura/migrations/1588023310053_drop_view_public_productionview/up.yaml delete mode 100644 hasura/migrations/1588023324274_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588023324274_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1588023375186_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1588023375186_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/down.yaml delete mode 100644 hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/up.yaml delete mode 100644 hasura/migrations/1588355462630_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1588355462630_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1588355471991_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1588355471991_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1588355478259_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1588355478259_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1588355488534_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1588355488534_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/down.yaml delete mode 100644 hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/up.yaml delete mode 100644 hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/down.yaml delete mode 100644 hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/up.yaml delete mode 100644 hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/down.yaml delete mode 100644 hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/up.yaml delete mode 100644 hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/down.yaml delete mode 100644 hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/up.yaml delete mode 100644 hasura/migrations/1588704166538_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1588704166538_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1588704173695_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1588704173695_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1588704180439_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1588704180439_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/down.yaml delete mode 100644 hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/up.yaml delete mode 100644 hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/down.yaml delete mode 100644 hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/up.yaml delete mode 100644 hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/down.yaml delete mode 100644 hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/up.yaml delete mode 100644 hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/down.yaml delete mode 100644 hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/up.yaml delete mode 100644 hasura/migrations/1588869001045_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1588869001045_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1588963534664_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1588963534664_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/down.yaml delete mode 100644 hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/up.yaml delete mode 100644 hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/down.yaml delete mode 100644 hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/up.yaml delete mode 100644 hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1589302634242_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1589302634242_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1589303851671_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1589303851671_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/down.yaml delete mode 100644 hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/up.yaml delete mode 100644 hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/down.yaml delete mode 100644 hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/up.yaml delete mode 100644 hasura/migrations/1589354360622_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1589354360622_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1589354371131_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1589354371131_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1589354381499_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1589354381499_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/down.yaml delete mode 100644 hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/up.yaml delete mode 100644 hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/down.yaml delete mode 100644 hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/up.yaml delete mode 100644 hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/down.yaml delete mode 100644 hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/up.yaml delete mode 100644 hasura/migrations/1589491967880_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1589491967880_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1589499599269_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1589499599269_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/down.yaml delete mode 100644 hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/up.yaml delete mode 100644 hasura/migrations/1590010117414_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1590010117414_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1590010125521_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1590010125521_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1590010134425_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1590010134425_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1590169457641_create_table_public_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169457641_create_table_public_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169486927_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1590169486927_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169665926_rename_table_public_csiinvites/down.yaml delete mode 100644 hasura/migrations/1590169665926_rename_table_public_csiinvites/up.yaml delete mode 100644 hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/down.yaml delete mode 100644 hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/up.yaml delete mode 100644 hasura/migrations/1590169707794_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169707794_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590169716647_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169716647_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590169723269_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169723269_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590172385133_create_table_public_csiquestion/down.yaml delete mode 100644 hasura/migrations/1590172385133_create_table_public_csiquestion/up.yaml delete mode 100644 hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/down.yaml delete mode 100644 hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/up.yaml delete mode 100644 hasura/migrations/1590172429767_rename_table_public_csiquestion/down.yaml delete mode 100644 hasura/migrations/1590172429767_rename_table_public_csiquestion/up.yaml delete mode 100644 hasura/migrations/1590172446694_set_fk_public_csi_questionset/down.yaml delete mode 100644 hasura/migrations/1590172446694_set_fk_public_csi_questionset/up.yaml delete mode 100644 hasura/migrations/1590172453385_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1590172453385_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/down.yaml delete mode 100644 hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/up.yaml delete mode 100644 hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/down.yaml delete mode 100644 hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/up.yaml delete mode 100644 hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/down.yaml delete mode 100644 hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/up.yaml delete mode 100644 hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/down.yaml delete mode 100644 hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/up.yaml delete mode 100644 hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/down.yaml delete mode 100644 hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/up.yaml delete mode 100644 hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/down.yaml delete mode 100644 hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/up.yaml delete mode 100644 hasura/migrations/1590184719915_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590184719915_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/down.yaml delete mode 100644 hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/up.yaml delete mode 100644 hasura/migrations/1590698778968_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590698778968_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1590698784975_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590698784975_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1590698791753_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590698791753_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1590765528126_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590765528126_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590765808875_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590765808875_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590766570195_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590766570195_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590766913775_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590766913775_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590767016519_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590767016519_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590768879487_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590768879487_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590769637626_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590769637626_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590769674755_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590769674755_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590772155750_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590772155750_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590772289591_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1590772289591_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/down.yaml delete mode 100644 hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/up.yaml delete mode 100644 hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1590790802468_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1590790802468_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/down.yaml delete mode 100644 hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/up.yaml delete mode 100644 hasura/migrations/1590790851669_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590790851669_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1590790859209_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590790859209_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1590790873577_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1590790873577_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/down.yaml delete mode 100644 hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/up.yaml delete mode 100644 hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1591292925100_update_permission_user_public_table_csi/down.yaml delete mode 100644 hasura/migrations/1591292925100_update_permission_user_public_table_csi/up.yaml delete mode 100644 hasura/migrations/1591303854947_create_table_public_payments/down.yaml delete mode 100644 hasura/migrations/1591303854947_create_table_public_payments/up.yaml delete mode 100644 hasura/migrations/1591303886596_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1591303886596_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1591303935525_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1591303935525_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1591303943431_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1591303943431_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1591303949732_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1591303949732_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1591303955052_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1591303955052_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/down.yaml delete mode 100644 hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/up.yaml delete mode 100644 hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/down.yaml delete mode 100644 hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/up.yaml delete mode 100644 hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/down.yaml delete mode 100644 hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/up.yaml delete mode 100644 hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/down.yaml delete mode 100644 hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/up.yaml delete mode 100644 hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/down.yaml delete mode 100644 hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/up.yaml delete mode 100644 hasura/migrations/1592261038745_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592261038745_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592261045012_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592261045012_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592261051274_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592261051274_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/down.yaml delete mode 100644 hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/up.yaml delete mode 100644 hasura/migrations/1592324603137_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592324603137_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592324618856_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592324618856_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592324625348_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592324625348_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592324679227_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592324679227_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592325045380_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592325045380_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592325133932_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592325133932_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592325262313_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592325262313_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592325288329_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592325288329_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/down.yaml delete mode 100644 hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/up.yaml delete mode 100644 hasura/migrations/1592325964121_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592325964121_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592325969484_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592325969484_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592325975305_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1592325975305_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/down.yaml delete mode 100644 hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/up.yaml delete mode 100644 hasura/migrations/1592338664495_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1592338664495_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1592338672542_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1592338672542_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1592338681306_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1592338681306_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1592338828686_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592338828686_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592338856120_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1592338856120_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1592417299712_drop_view_public_productionview/down.yaml delete mode 100644 hasura/migrations/1592417299712_drop_view_public_productionview/up.yaml delete mode 100644 hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/down.yaml delete mode 100644 hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/up.yaml delete mode 100644 hasura/migrations/1592417343599_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1592417343599_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1592417440460_update_permission_user_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1592417440460_update_permission_user_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/down.yaml delete mode 100644 hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/up.yaml delete mode 100644 hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/down.yaml delete mode 100644 hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/up.yaml delete mode 100644 hasura/migrations/1593106965112_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1593106965112_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1593106971803_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1593106971803_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1593106978517_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1593106978517_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1593188899179_create_table_public_scoreboard/down.yaml delete mode 100644 hasura/migrations/1593188899179_create_table_public_scoreboard/up.yaml delete mode 100644 hasura/migrations/1593188907600_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1593188907600_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/down.yaml delete mode 100644 hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/up.yaml delete mode 100644 hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/down.yaml delete mode 100644 hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/up.yaml delete mode 100644 hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/down.yaml delete mode 100644 hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/up.yaml delete mode 100644 hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/down.yaml delete mode 100644 hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/up.yaml delete mode 100644 hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/down.yaml delete mode 100644 hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/up.yaml delete mode 100644 hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/down.yaml delete mode 100644 hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/up.yaml delete mode 100644 hasura/migrations/1593465285886_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1593465285886_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1593465298025_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1593465298025_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1593465305783_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1593465305783_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/down.yaml delete mode 100644 hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/up.yaml delete mode 100644 hasura/migrations/1593558184193_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1593558184193_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1593558194216_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1593558194216_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/down.yaml delete mode 100644 hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/up.yaml delete mode 100644 hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/down.yaml delete mode 100644 hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/up.yaml delete mode 100644 hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/down.yaml delete mode 100644 hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/up.yaml delete mode 100644 hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1594680139254_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1594680139254_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1594680221027_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1594680221027_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/down.yaml delete mode 100644 hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/up.yaml delete mode 100644 hasura/migrations/1594681018728_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1594681018728_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1594681091201_update_permission_user_public_table_owners/down.yaml delete mode 100644 hasura/migrations/1594681091201_update_permission_user_public_table_owners/up.yaml delete mode 100644 hasura/migrations/1594741283350_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1594741283350_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/down.yaml delete mode 100644 hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/up.yaml delete mode 100644 hasura/migrations/1594749387526_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1594749387526_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1594749395552_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1594749395552_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1594836040740_update_permission_user_public_table_invoices/down.yaml delete mode 100644 hasura/migrations/1594836040740_update_permission_user_public_table_invoices/up.yaml delete mode 100644 hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/down.yaml delete mode 100644 hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/up.yaml delete mode 100644 hasura/migrations/1594851844985_set_fk_public_employees_user_email/down.yaml delete mode 100644 hasura/migrations/1594851844985_set_fk_public_employees_user_email/up.yaml delete mode 100644 hasura/migrations/1594851857360_set_fk_public_employees_user_email/down.yaml delete mode 100644 hasura/migrations/1594851857360_set_fk_public_employees_user_email/up.yaml delete mode 100644 hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1594852259471_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1594852259471_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1594852265828_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1594852265828_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1594852271012_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1594852271012_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1594915490297_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1594915490297_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/down.yaml delete mode 100644 hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/up.yaml delete mode 100644 hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/down.yaml delete mode 100644 hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/up.yaml delete mode 100644 hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/down.yaml delete mode 100644 hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/up.yaml delete mode 100644 hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/down.yaml delete mode 100644 hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/up.yaml delete mode 100644 hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/down.yaml delete mode 100644 hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/up.yaml delete mode 100644 hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/down.yaml delete mode 100644 hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/up.yaml delete mode 100644 hasura/migrations/1594921899352_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1594921899352_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1594923683074_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1594923683074_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1594923695014_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1594923695014_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1594923702147_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1594923702147_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1594932730719_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1594932730719_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/down.yaml delete mode 100644 hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/up.yaml delete mode 100644 hasura/migrations/1594934537921_drop_function_public_search_owner/down.yaml delete mode 100644 hasura/migrations/1594934537921_drop_function_public_search_owner/up.yaml delete mode 100644 hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/down.yaml delete mode 100644 hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/up.yaml delete mode 100644 hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1595971170482_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1595971170482_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1595971216422_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1595971216422_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1595973678869_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1595973678869_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/down.yaml delete mode 100644 hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/up.yaml delete mode 100644 hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/down.yaml delete mode 100644 hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/up.yaml delete mode 100644 hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/down.yaml delete mode 100644 hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/up.yaml delete mode 100644 hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/down.yaml delete mode 100644 hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/up.yaml delete mode 100644 hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/down.yaml delete mode 100644 hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/up.yaml delete mode 100644 hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/down.yaml delete mode 100644 hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/up.yaml delete mode 100644 hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/down.yaml delete mode 100644 hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/up.yaml delete mode 100644 hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/down.yaml delete mode 100644 hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/up.yaml delete mode 100644 hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/down.yaml delete mode 100644 hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/up.yaml delete mode 100644 hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/down.yaml delete mode 100644 hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/up.yaml delete mode 100644 hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/down.yaml delete mode 100644 hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/up.yaml delete mode 100644 hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/down.yaml delete mode 100644 hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/up.yaml delete mode 100644 hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/down.yaml delete mode 100644 hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/up.yaml delete mode 100644 hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/down.yaml delete mode 100644 hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/up.yaml delete mode 100644 hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/down.yaml delete mode 100644 hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/up.yaml delete mode 100644 hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/down.yaml delete mode 100644 hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/up.yaml delete mode 100644 hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/down.yaml delete mode 100644 hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/up.yaml delete mode 100644 hasura/migrations/1596048785701_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596048785701_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596048860276_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596048860276_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596048875858_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596048875858_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/down.yaml delete mode 100644 hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/up.yaml delete mode 100644 hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/down.yaml delete mode 100644 hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/up.yaml delete mode 100644 hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/down.yaml delete mode 100644 hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/up.yaml delete mode 100644 hasura/migrations/1596214571725_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596214571725_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596214578452_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596214578452_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596214586798_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1596214586798_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/down.yaml delete mode 100644 hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/up.yaml delete mode 100644 hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/down.yaml delete mode 100644 hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/up.yaml delete mode 100644 hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/down.yaml delete mode 100644 hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/up.yaml delete mode 100644 hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1596226147493_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1596226147493_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1596226171391_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1596226171391_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1596226179648_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1596226179648_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/down.yaml delete mode 100644 hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/up.yaml delete mode 100644 hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/down.yaml delete mode 100644 hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/up.yaml delete mode 100644 hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1596487312718_drop_view_public_productionview/down.yaml delete mode 100644 hasura/migrations/1596487312718_drop_view_public_productionview/up.yaml delete mode 100644 hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/down.yaml delete mode 100644 hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/up.yaml delete mode 100644 hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/down.yaml delete mode 100644 hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/up.yaml delete mode 100644 hasura/migrations/1596730747611_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596730747611_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/down.yaml delete mode 100644 hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/up.yaml delete mode 100644 hasura/migrations/1596731045755_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731045755_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/down.yaml delete mode 100644 hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/up.yaml delete mode 100644 hasura/migrations/1596731097672_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731097672_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/down.yaml delete mode 100644 hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/up.yaml delete mode 100644 hasura/migrations/1596731190786_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731190786_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731313289_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731313289_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731327292_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731327292_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/down.yaml delete mode 100644 hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/up.yaml delete mode 100644 hasura/migrations/1596731602565_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1596731602565_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1596731617912_rename_view_public_joblines_stats/down.yaml delete mode 100644 hasura/migrations/1596731617912_rename_view_public_joblines_stats/up.yaml delete mode 100644 hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/down.yaml delete mode 100644 hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/up.yaml delete mode 100644 hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/down.yaml delete mode 100644 hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/up.yaml delete mode 100644 hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/down.yaml delete mode 100644 hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/up.yaml delete mode 100644 hasura/migrations/1597086494884_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1597086494884_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/down.yaml delete mode 100644 hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/up.yaml delete mode 100644 hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/down.yaml delete mode 100644 hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/up.yaml delete mode 100644 hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/down.yaml delete mode 100644 hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/up.yaml delete mode 100644 hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/down.yaml delete mode 100644 hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/up.yaml delete mode 100644 hasura/migrations/1597428983824_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1597428983824_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1597428991518_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1597428991518_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1597428999933_update_permission_user_public_table_templates/down.yaml delete mode 100644 hasura/migrations/1597428999933_update_permission_user_public_table_templates/up.yaml delete mode 100644 hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/down.yaml delete mode 100644 hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/up.yaml delete mode 100644 hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597686736155_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597686736155_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597686746605_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597686746605_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597686758732_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597686758732_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/down.yaml delete mode 100644 hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/up.yaml delete mode 100644 hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/down.yaml delete mode 100644 hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/up.yaml delete mode 100644 hasura/migrations/1597777848218_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597777848218_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597777863211_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597777863211_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597777876008_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597777876008_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/down.yaml delete mode 100644 hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/up.yaml delete mode 100644 hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/down.yaml delete mode 100644 hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/up.yaml delete mode 100644 hasura/migrations/1597779720123_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597779720123_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597779769450_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597779769450_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597779780370_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1597779780370_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/down.yaml delete mode 100644 hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/up.yaml delete mode 100644 hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/down.yaml delete mode 100644 hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/up.yaml delete mode 100644 hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/down.yaml delete mode 100644 hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/up.yaml delete mode 100644 hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/down.yaml delete mode 100644 hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/up.yaml delete mode 100644 hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1598482210998_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598482210998_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598482371598_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598482371598_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598482569425_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598482569425_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598568175188_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598568175188_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598568298727_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598568298727_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598568331134_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598568331134_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598634176882_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598634176882_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598634335411_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1598634335411_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/down.yaml delete mode 100644 hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/up.yaml delete mode 100644 hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/down.yaml delete mode 100644 hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/up.yaml delete mode 100644 hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/down.yaml delete mode 100644 hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/up.yaml delete mode 100644 hasura/migrations/1599070210260_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599070210260_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599070220118_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599070220118_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599070232908_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599070232908_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml delete mode 100644 hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml delete mode 100644 hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml delete mode 100644 hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml delete mode 100644 hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/down.yaml delete mode 100644 hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/up.yaml delete mode 100644 hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/down.yaml delete mode 100644 hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/up.yaml delete mode 100644 hasura/migrations/1599685044433_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599685044433_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599685058705_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599685058705_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599685070271_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599685070271_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/down.yaml delete mode 100644 hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/up.yaml delete mode 100644 hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/down.yaml delete mode 100644 hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/up.yaml delete mode 100644 hasura/migrations/1599692310270_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599692310270_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599692321158_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599692321158_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1599692329335_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1599692329335_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/down.yaml delete mode 100644 hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/up.yaml delete mode 100644 hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/down.yaml delete mode 100644 hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/up.yaml delete mode 100644 hasura/migrations/1600106247186_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1600106247186_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1600106254802_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1600106254802_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1600106261415_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1600106261415_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/down.yaml delete mode 100644 hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/up.yaml delete mode 100644 hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/down.yaml delete mode 100644 hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/up.yaml delete mode 100644 hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600811731481_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1600811731481_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1600811750963_rename_table_public_invoices/down.yaml delete mode 100644 hasura/migrations/1600811750963_rename_table_public_invoices/up.yaml delete mode 100644 hasura/migrations/1600811831857_rename_table_public_invoicelines/down.yaml delete mode 100644 hasura/migrations/1600811831857_rename_table_public_invoicelines/up.yaml delete mode 100644 hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/down.yaml delete mode 100644 hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/up.yaml delete mode 100644 hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/down.yaml delete mode 100644 hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/up.yaml delete mode 100644 hasura/migrations/1600812079500_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1600812079500_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/down.yaml delete mode 100644 hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/up.yaml delete mode 100644 hasura/migrations/1600814306056_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1600814306056_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1600814334466_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1600814334466_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/down.yaml delete mode 100644 hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/up.yaml delete mode 100644 hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/down.yaml delete mode 100644 hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/up.yaml delete mode 100644 hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/down.yaml delete mode 100644 hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/up.yaml delete mode 100644 hasura/migrations/1600878486095_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1600878486095_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1600878494450_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1600878494450_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1600878500075_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1600878500075_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/down.yaml delete mode 100644 hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/up.yaml delete mode 100644 hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/down.yaml delete mode 100644 hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/up.yaml delete mode 100644 hasura/migrations/1600886399615_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600886399615_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600886414066_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600886414066_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600886423573_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600886423573_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/down.yaml delete mode 100644 hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/up.yaml delete mode 100644 hasura/migrations/1600980661887_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600980661887_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600980673046_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600980673046_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600980681641_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600980681641_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600986243351_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600986243351_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600986262894_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600986262894_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600986270946_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600986270946_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600986285430_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1600986285430_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/down.yaml delete mode 100644 hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/up.yaml delete mode 100644 hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/down.yaml delete mode 100644 hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/up.yaml delete mode 100644 hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/down.yaml delete mode 100644 hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/up.yaml delete mode 100644 hasura/migrations/1601394888768_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1601394888768_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1601394897792_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1601394897792_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1601394905183_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1601394905183_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/down.yaml delete mode 100644 hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/up.yaml delete mode 100644 hasura/migrations/1601400929812_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1601400929812_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1601400937507_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1601400937507_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1601400944178_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1601400944178_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/down.yaml delete mode 100644 hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/up.yaml delete mode 100644 hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1601917532118_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1601917532118_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1601918477756_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1601918477756_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/down.yaml delete mode 100644 hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/up.yaml delete mode 100644 hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/down.yaml delete mode 100644 hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/up.yaml delete mode 100644 hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/down.yaml delete mode 100644 hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/up.yaml delete mode 100644 hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/down.yaml delete mode 100644 hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/up.yaml delete mode 100644 hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/down.yaml delete mode 100644 hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/up.yaml delete mode 100644 hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/down.yaml delete mode 100644 hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/up.yaml delete mode 100644 hasura/migrations/1606890446033_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606890446033_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1606890454484_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606890454484_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1606890462598_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606890462598_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1606960912111_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606960912111_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1606960921681_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606960921681_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1606960929621_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1606960929621_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/down.yaml delete mode 100644 hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/up.yaml delete mode 100644 hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/down.yaml delete mode 100644 hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/up.yaml delete mode 100644 hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/down.yaml delete mode 100644 hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/up.yaml delete mode 100644 hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/down.yaml delete mode 100644 hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/up.yaml delete mode 100644 hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/down.yaml delete mode 100644 hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/up.yaml delete mode 100644 hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/down.yaml delete mode 100644 hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/up.yaml delete mode 100644 hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1608161228998_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1608161228998_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1608161238714_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1608161238714_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1608161255330_update_permission_user_public_table_appointments/down.yaml delete mode 100644 hasura/migrations/1608161255330_update_permission_user_public_table_appointments/up.yaml delete mode 100644 hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/down.yaml delete mode 100644 hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/up.yaml delete mode 100644 hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/down.yaml delete mode 100644 hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/up.yaml delete mode 100644 hasura/migrations/1608161407237_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1608161407237_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1608161439192_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1608161439192_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1608161448390_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1608161448390_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1608179192407_drop_function_public_search_owners/down.yaml delete mode 100644 hasura/migrations/1608179192407_drop_function_public_search_owners/up.yaml delete mode 100644 hasura/migrations/1608179312131_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608179312131_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608179336471_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608179336471_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608179815354_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608179815354_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/down.yaml delete mode 100644 hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/up.yaml delete mode 100644 hasura/migrations/1608740361292_update_permission_user_public_table_bills/down.yaml delete mode 100644 hasura/migrations/1608740361292_update_permission_user_public_table_bills/up.yaml delete mode 100644 hasura/migrations/1608740373347_update_permission_user_public_table_bills/down.yaml delete mode 100644 hasura/migrations/1608740373347_update_permission_user_public_table_bills/up.yaml delete mode 100644 hasura/migrations/1608740385538_update_permission_user_public_table_bills/down.yaml delete mode 100644 hasura/migrations/1608740385538_update_permission_user_public_table_bills/up.yaml delete mode 100644 hasura/migrations/1608740480171_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608740480171_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608740577735_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608740577735_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608740773551_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608740773551_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741009417_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741009417_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741053957_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741053957_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741063718_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741063718_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741100308_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741100308_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741387779_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741387779_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741701614_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741701614_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608741738380_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1608741738380_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1608765772036_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1608765772036_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/down.yaml delete mode 100644 hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/up.yaml delete mode 100644 hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1610046845471_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610046845471_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610046883329_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610046883329_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610046900101_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610046900101_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/down.yaml delete mode 100644 hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/up.yaml delete mode 100644 hasura/migrations/1610061773237_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1610061773237_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1610062707742_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1610062707742_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1610065492233_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1610065492233_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1610126817563_drop_table_public_templates/down.yaml delete mode 100644 hasura/migrations/1610126817563_drop_table_public_templates/up.yaml delete mode 100644 hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/down.yaml delete mode 100644 hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/up.yaml delete mode 100644 hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/down.yaml delete mode 100644 hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/up.yaml delete mode 100644 hasura/migrations/1610135335076_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610135335076_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610135347875_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610135347875_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610135386514_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1610135386514_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/down.yaml delete mode 100644 hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/up.yaml delete mode 100644 hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/down.yaml delete mode 100644 hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/up.yaml delete mode 100644 hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/down.yaml delete mode 100644 hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/up.yaml delete mode 100644 hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/down.yaml delete mode 100644 hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/up.yaml delete mode 100644 hasura/migrations/1611165639521_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1611165639521_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1611165651041_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1611165651041_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1611165680112_update_permission_user_public_table_joblines/down.yaml delete mode 100644 hasura/migrations/1611165680112_update_permission_user_public_table_joblines/up.yaml delete mode 100644 hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/down.yaml delete mode 100644 hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/up.yaml delete mode 100644 hasura/migrations/1611175625070_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1611175625070_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1611175633677_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1611175633677_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1611175641709_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1611175641709_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/down.yaml delete mode 100644 hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/up.yaml delete mode 100644 hasura/migrations/1611248259535_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1611248259535_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1611248275728_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1611248275728_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1611248283963_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1611248283963_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1611272576261_update_permission_user_public_table_bills/down.yaml delete mode 100644 hasura/migrations/1611272576261_update_permission_user_public_table_bills/up.yaml delete mode 100644 hasura/migrations/1611272645898_set_fk_public_documents_billid/down.yaml delete mode 100644 hasura/migrations/1611272645898_set_fk_public_documents_billid/up.yaml delete mode 100644 hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/down.yaml delete mode 100644 hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/up.yaml delete mode 100644 hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/down.yaml delete mode 100644 hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/up.yaml delete mode 100644 hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/down.yaml delete mode 100644 hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/up.yaml delete mode 100644 hasura/migrations/1612286825846_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1612286825846_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/down.yaml delete mode 100644 hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/up.yaml delete mode 100644 hasura/migrations/1612478855295_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1612478855295_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1612478861357_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1612478861357_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/down.yaml delete mode 100644 hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/up.yaml delete mode 100644 hasura/migrations/1612809727981_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612809727981_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612809735669_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612809735669_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612809739863_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612809739863_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612809744309_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612809744309_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612809975689_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1612809975689_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1612810025041_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1612810025041_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/down.yaml delete mode 100644 hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/up.yaml delete mode 100644 hasura/migrations/1612810438043_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612810438043_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612810444714_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612810444714_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612810451283_update_permission_user_public_table_payments/down.yaml delete mode 100644 hasura/migrations/1612810451283_update_permission_user_public_table_payments/up.yaml delete mode 100644 hasura/migrations/1612812065763_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1612812065763_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1612812077482_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1612812077482_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1612812086661_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1612812086661_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/down.yaml delete mode 100644 hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/up.yaml delete mode 100644 hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1613150060719_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150060719_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613150071924_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150071924_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613150092386_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1613150092386_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1613150538264_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150538264_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613150584040_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150584040_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613150597122_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150597122_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613150614467_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1613150614467_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/down.yaml delete mode 100644 hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/up.yaml delete mode 100644 hasura/migrations/1613500513684_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1613500513684_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1613500523633_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1613500523633_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1613500538231_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1613500538231_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/down.yaml delete mode 100644 hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/up.yaml delete mode 100644 hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/down.yaml delete mode 100644 hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/up.yaml delete mode 100644 hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/down.yaml delete mode 100644 hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/up.yaml delete mode 100644 hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/down.yaml delete mode 100644 hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/up.yaml delete mode 100644 hasura/migrations/1613512720454_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1613512720454_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/down.yaml delete mode 100644 hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/up.yaml delete mode 100644 hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1613752488707_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1613752488707_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1613752680367_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1613752680367_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/down.yaml delete mode 100644 hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/up.yaml delete mode 100644 hasura/migrations/1613754454833_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1613754454833_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1613754473488_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1613754473488_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1613754485354_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1613754485354_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/down.yaml delete mode 100644 hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/up.yaml delete mode 100644 hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/down.yaml delete mode 100644 hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/up.yaml delete mode 100644 hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/down.yaml delete mode 100644 hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/up.yaml delete mode 100644 hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/down.yaml delete mode 100644 hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/up.yaml delete mode 100644 hasura/migrations/1613762365032_set_fk_public_messages_userid/down.yaml delete mode 100644 hasura/migrations/1613762365032_set_fk_public_messages_userid/up.yaml delete mode 100644 hasura/migrations/1613762380479_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613762380479_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613762388836_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613762388836_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613767928898_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613767928898_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613767944643_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613767944643_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613767953059_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613767953059_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/down.yaml delete mode 100644 hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/up.yaml delete mode 100644 hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/down.yaml delete mode 100644 hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/up.yaml delete mode 100644 hasura/migrations/1613768005234_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613768005234_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613768012873_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613768012873_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613768023989_update_permission_user_public_table_messages/down.yaml delete mode 100644 hasura/migrations/1613768023989_update_permission_user_public_table_messages/up.yaml delete mode 100644 hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/down.yaml delete mode 100644 hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/up.yaml delete mode 100644 hasura/migrations/1614016458508_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1614016458508_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1614050626219_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1614050626219_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/down.yaml delete mode 100644 hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/up.yaml delete mode 100644 hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/down.yaml delete mode 100644 hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/up.yaml delete mode 100644 hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/down.yaml delete mode 100644 hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/up.yaml delete mode 100644 hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/down.yaml delete mode 100644 hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/up.yaml delete mode 100644 hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/down.yaml delete mode 100644 hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/up.yaml delete mode 100644 hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml delete mode 100644 hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml delete mode 100644 hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/down.yaml delete mode 100644 hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/up.yaml delete mode 100644 hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/down.yaml delete mode 100644 hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/up.yaml delete mode 100644 hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/down.yaml delete mode 100644 hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/up.yaml delete mode 100644 hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/down.yaml delete mode 100644 hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/up.yaml delete mode 100644 hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/down.yaml delete mode 100644 hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/up.yaml delete mode 100644 hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/down.yaml delete mode 100644 hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/up.yaml delete mode 100644 hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/down.yaml delete mode 100644 hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/up.yaml delete mode 100644 hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/down.yaml delete mode 100644 hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/up.yaml delete mode 100644 hasura/migrations/1614196246406_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1614196246406_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1614196402453_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1614196402453_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/down.yaml delete mode 100644 hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/up.yaml delete mode 100644 hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/down.yaml delete mode 100644 hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/up.yaml delete mode 100644 hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/down.yaml delete mode 100644 hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/up.yaml delete mode 100644 hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/down.yaml delete mode 100644 hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/up.yaml delete mode 100644 hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/down.yaml delete mode 100644 hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/up.yaml delete mode 100644 hasura/migrations/1614714096099_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614714096099_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1614714109455_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614714109455_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1614714121199_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614714121199_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/down.yaml delete mode 100644 hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/up.yaml delete mode 100644 hasura/migrations/1614809720949_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614809720949_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1614809744257_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614809744257_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1614809755471_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1614809755471_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/down.yaml delete mode 100644 hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/up.yaml delete mode 100644 hasura/migrations/1615242747543_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1615242747543_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1615242754507_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1615242754507_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1615242757671_update_permission_user_public_table_notes/down.yaml delete mode 100644 hasura/migrations/1615242757671_update_permission_user_public_table_notes/up.yaml delete mode 100644 hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/down.yaml delete mode 100644 hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/up.yaml delete mode 100644 hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/down.yaml delete mode 100644 hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/up.yaml delete mode 100644 hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/down.yaml delete mode 100644 hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/up.yaml delete mode 100644 hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/down.yaml delete mode 100644 hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/up.yaml delete mode 100644 hasura/migrations/1616459505404_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1616459505404_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1616459520408_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1616459520408_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1616459530975_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1616459530975_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/down.yaml delete mode 100644 hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/up.yaml delete mode 100644 hasura/migrations/1616690903375_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1616690903375_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1616690912315_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1616690912315_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1616690919696_update_permission_user_public_table_billlines/down.yaml delete mode 100644 hasura/migrations/1616690919696_update_permission_user_public_table_billlines/up.yaml delete mode 100644 hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/down.yaml delete mode 100644 hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/up.yaml delete mode 100644 hasura/migrations/1617658618070_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1617658618070_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1617658628914_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1617658628914_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1617659090899_update_permission_user_public_table_documents/down.yaml delete mode 100644 hasura/migrations/1617659090899_update_permission_user_public_table_documents/up.yaml delete mode 100644 hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/down.yaml delete mode 100644 hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/up.yaml delete mode 100644 hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1617990757965_update_permission_user_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1617990757965_update_permission_user_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1617990875647_update_permission_user_public_table_vendors/down.yaml delete mode 100644 hasura/migrations/1617990875647_update_permission_user_public_table_vendors/up.yaml delete mode 100644 hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/down.yaml delete mode 100644 hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/up.yaml delete mode 100644 hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/down.yaml delete mode 100644 hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/up.yaml delete mode 100644 hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/down.yaml delete mode 100644 hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/up.yaml delete mode 100644 hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/down.yaml delete mode 100644 hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/up.yaml delete mode 100644 hasura/migrations/1618357029467_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618357029467_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618357258765_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618357258765_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618357269948_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618357269948_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618357338608_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618357338608_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618358104427_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618358104427_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618358164400_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618358164400_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618358356468_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618358356468_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/down.yaml delete mode 100644 hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/up.yaml delete mode 100644 hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1618431549525_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618431549525_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618431624011_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618431624011_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618431735033_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618431735033_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618432990073_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1618432990073_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1618965084777_create_table_public_exportlog/down.yaml delete mode 100644 hasura/migrations/1618965084777_create_table_public_exportlog/up.yaml delete mode 100644 hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/down.yaml delete mode 100644 hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/up.yaml delete mode 100644 hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/down.yaml delete mode 100644 hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/up.yaml delete mode 100644 hasura/migrations/1618965201750_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1618965201750_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/down.yaml delete mode 100644 hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/up.yaml delete mode 100644 hasura/migrations/1618965255172_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1618965255172_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/down.yaml delete mode 100644 hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/up.yaml delete mode 100644 hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/down.yaml delete mode 100644 hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/up.yaml delete mode 100644 hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/down.yaml delete mode 100644 hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/up.yaml delete mode 100644 hasura/migrations/1619039107283_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039107283_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619039299307_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039299307_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619039339617_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039339617_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619039390662_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039390662_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619039746435_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039746435_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619039995255_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619039995255_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619040031634_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619040031634_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619040190377_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619040190377_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619110268248_create_table_public_ioevents/down.yaml delete mode 100644 hasura/migrations/1619110268248_create_table_public_ioevents/up.yaml delete mode 100644 hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/down.yaml delete mode 100644 hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/up.yaml delete mode 100644 hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/down.yaml delete mode 100644 hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/up.yaml delete mode 100644 hasura/migrations/1619132732600_create_table_public_phonebook/down.yaml delete mode 100644 hasura/migrations/1619132732600_create_table_public_phonebook/up.yaml delete mode 100644 hasura/migrations/1619132753494_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1619132753494_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/down.yaml delete mode 100644 hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/up.yaml delete mode 100644 hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/down.yaml delete mode 100644 hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/up.yaml delete mode 100644 hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619133694446_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619133694446_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619194947063_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1619194947063_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1619281006351_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1619281006351_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1619281014662_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1619281014662_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/down.yaml delete mode 100644 hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/up.yaml delete mode 100644 hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/down.yaml delete mode 100644 hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/up.yaml delete mode 100644 hasura/migrations/1619540860369_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619540860369_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619540900896_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619540900896_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/down.yaml delete mode 100644 hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/up.yaml delete mode 100644 hasura/migrations/1619823252812_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619823252812_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619823272875_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619823272875_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619823657628_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619823657628_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619823749138_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619823749138_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619824320231_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619824320231_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1619824803848_run_sql_migration/down.yaml delete mode 100644 hasura/migrations/1619824803848_run_sql_migration/up.yaml delete mode 100644 hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/down.yaml delete mode 100644 hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/up.yaml delete mode 100644 hasura/migrations/1620066736411_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620066736411_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620066749181_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620066749181_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620066758022_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620066758022_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/down.yaml delete mode 100644 hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/up.yaml delete mode 100644 hasura/migrations/1620083115002_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1620083115002_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1620083126422_update_permission_user_public_table_associations/down.yaml delete mode 100644 hasura/migrations/1620083126422_update_permission_user_public_table_associations/up.yaml delete mode 100644 hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/down.yaml delete mode 100644 hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/up.yaml delete mode 100644 hasura/migrations/1620336525583_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1620336525583_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1620336532828_update_permission_user_public_table_users/down.yaml delete mode 100644 hasura/migrations/1620336532828_update_permission_user_public_table_users/up.yaml delete mode 100644 hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/down.yaml delete mode 100644 hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/up.yaml delete mode 100644 hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/down.yaml delete mode 100644 hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/up.yaml delete mode 100644 hasura/migrations/1620339458298_track_all_relationships/down.yaml delete mode 100644 hasura/migrations/1620339458298_track_all_relationships/up.yaml delete mode 100644 hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/down.yaml delete mode 100644 hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/up.yaml delete mode 100644 hasura/migrations/1620339722083_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620339722083_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620339734806_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620339734806_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620339746168_update_permission_user_public_table_jobs/down.yaml delete mode 100644 hasura/migrations/1620339746168_update_permission_user_public_table_jobs/up.yaml delete mode 100644 hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/down.yaml delete mode 100644 hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/up.yaml delete mode 100644 hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/down.yaml delete mode 100644 hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/up.yaml delete mode 100644 hasura/migrations/metadata.yaml diff --git a/README.MD b/README.MD index 8e5a4f570..079f153e8 100644 --- a/README.MD +++ b/README.MD @@ -1,26 +1,17 @@ -React App: - Yarn Dependency Management: To force upgrades for some packages: yarn upgrade-interactive --latest To Start Hasura CLI: -npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware! +npx hasura console Migrating to Staging: npx hasura migrate apply --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#' - -npx hasura migrate apply --version "1620770615633" --skip-execution --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!' +npx hasura migrate apply --up 50 --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!' +npx hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!' NGROK TEsting: - ./ngrok.exe http http://localhost:5000 -host-header="localhost:5000" Finding deadfiles - run from client directory npx deadfile ./src/index.js --exclude build templates - -cd client && yarn build && cd build && scp -r \*\* imex@prod-tor1.imex.online:~/bodyshop/client/build && cd .. &&cd .. - -gq https://bodyshop-dev-db.herokuapp.com/v1/graphql -H "X-Hasura-Admin-Secret: Dev-BodyShopAppBySnaptSoftware\!" --introspect > schema.graphql - -npx hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!' diff --git a/hasura/backups/dump-db62dpegj5roh3-202009221434.sql b/hasura/backups/dump-db62dpegj5roh3-202009221434.sql deleted file mode 100644 index 6c89df762dbb08fb7e05501805d30a3c9fc20e6f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 343941 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⋘0nji4168LSAb%AXljV0ZeQrx`;vn)+?#0 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͙{SKXpb@9{8B6qoD%l2`VWa8+ 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
icnd0F7&6 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 diff --git a/hasura/hasura_metadata_2020_09_22_14_25_15_367.json b/hasura/hasura_metadata_2020_09_22_14_25_15_367.json deleted file mode 100644 index 11d1a73c6..000000000 --- a/hasura/hasura_metadata_2020_09_22_14_25_15_367.json +++ /dev/null @@ -1,6540 +0,0 @@ -{ - "version": 2, - "tables": [ - { - "table": { - "schema": "public", - "name": "allocations" - }, - "object_relationships": [ - { - "name": "employee", - "using": { - "foreign_key_constraint_on": "employeeid" - } - }, - { - "name": "jobline", - "using": { - "foreign_key_constraint_on": "joblineid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "jobline": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "columns": [ - "hours", - "created_at", - "updated_at", - "employeeid", - "id", - "joblineid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "hours", - "created_at", - "updated_at", - "employeeid", - "id", - "joblineid" - ], - "filter": { - "jobline": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [], - "filter": { - "jobline": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "jobline": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "appointments" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "arrived", - "block", - "bodyshopid", - "canceled", - "created_at", - "end", - "id", - "isintake", - "jobid", - "start", - "title", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "arrived", - "block", - "bodyshopid", - "canceled", - "created_at", - "end", - "id", - "isintake", - "jobid", - "start", - "title", - "updated_at" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "arrived", - "block", - "bodyshopid", - "canceled", - "created_at", - "end", - "id", - "isintake", - "jobid", - "start", - "title", - "updated_at" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "associations" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - }, - { - "name": "user", - "using": { - "foreign_key_constraint_on": "useremail" - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "active", - "authlevel", - "id", - "shopid", - "useremail" - ], - "filter": { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "active" - ], - "filter": { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "audit_trail" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - }, - { - "name": "user", - "using": { - "foreign_key_constraint_on": "useremail" - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "id", - "new_val", - "old_val", - "operation", - "schemaname", - "tabname", - "useremail", - "created", - "bodyshopid", - "recordid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "available_jobs" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "uploaded_by", - "cieca_id", - "bodyshopid", - "est_data", - "issupplement", - "jobid", - "supplement_number", - "ownr_name", - "vehicle_info", - "clm_amt", - "clm_no", - "source_system" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "issupplement", - "supplement_number", - "est_data", - "clm_amt", - "cieca_id", - "clm_no", - "ownr_name", - "source_system", - "uploaded_by", - "vehicle_info", - "created_at", - "updated_at", - "bodyshopid", - "id", - "jobid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "cieca_id", - "clm_amt", - "est_data", - "issupplement", - "ownr_name", - "source_system", - "supplement_number", - "uploaded_by", - "vehicle_info" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "bodyshops" - }, - "array_relationships": [ - { - "name": "appointments", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "appointments" - } - } - } - }, - { - "name": "associations", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "associations" - } - } - } - }, - { - "name": "audit_trails", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "audit_trail" - } - } - } - }, - { - "name": "available_jobs", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "available_jobs" - } - } - } - }, - { - "name": "conversations", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "conversations" - } - } - } - }, - { - "name": "counters", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "counters" - } - } - } - }, - { - "name": "courtesycars", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "courtesycars" - } - } - } - }, - { - "name": "csiinvites", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "csi" - } - } - } - }, - { - "name": "csiquestions", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "csiquestions" - } - } - } - }, - { - "name": "employees", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "employees" - } - } - } - }, - { - "name": "jobs", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - }, - { - "name": "owners", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "owners" - } - } - } - }, - { - "name": "templates", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "templates" - } - } - } - }, - { - "name": "timetickets", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "timetickets" - } - } - } - }, - { - "name": "vehicles", - "using": { - "foreign_key_constraint_on": { - "column": "shopid", - "table": { - "schema": "public", - "name": "vehicles" - } - } - } - }, - { - "name": "vendors", - "using": { - "foreign_key_constraint_on": { - "column": "bodyshopid", - "table": { - "schema": "public", - "name": "vendors" - } - } - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "accountingconfig", - "address1", - "address2", - "appt_length", - "city", - "country", - "created_at", - "deliverchecklist", - "email", - "enforce_class", - "federal_tax_id", - "id", - "inhousevendorid", - "insurance_vendor_id", - "intakechecklist", - "invoice_tax_rates", - "logo_img_path", - "md_categories", - "md_classes", - "md_ins_cos", - "md_labor_rates", - "md_messaging_presets", - "md_notes_presets", - "md_order_statuses", - "md_parts_locations", - "md_rbac", - "md_referral_sources", - "md_responsibility_centers", - "md_ro_statuses", - "messagingservicesid", - "phone", - "prodtargethrs", - "production_config", - "region_config", - "scoreboard_target", - "shopname", - "shoprates", - "speedprint", - "ssbuckets", - "state", - "state_tax_id", - "stripe_acct_id", - "target_touchtime", - "template_header", - "textid", - "updated_at", - "zip_post" - ], - "filter": { - "associations": { - "bodyshop": { - "associations": { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "accountingconfig", - "address1", - "address2", - "appt_length", - "city", - "country", - "created_at", - "deliverchecklist", - "email", - "enforce_class", - "federal_tax_id", - "id", - "inhousevendorid", - "insurance_vendor_id", - "intakechecklist", - "invoice_tax_rates", - "logo_img_path", - "md_categories", - "md_classes", - "md_ins_cos", - "md_labor_rates", - "md_messaging_presets", - "md_notes_presets", - "md_order_statuses", - "md_parts_locations", - "md_rbac", - "md_referral_sources", - "md_responsibility_centers", - "md_ro_statuses", - "phone", - "prodtargethrs", - "production_config", - "scoreboard_target", - "shopname", - "shoprates", - "speedprint", - "ssbuckets", - "state", - "state_tax_id", - "target_touchtime", - "updated_at", - "zip_post" - ], - "filter": { - "associations": { - "bodyshop": { - "associations": { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - } - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "cccontracts" - }, - "object_relationships": [ - { - "name": "courtesycar", - "using": { - "foreign_key_constraint_on": "courtesycarid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "courtesycar": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "agreementnumber", - "courtesycarid", - "jobid", - "status", - "start", - "scheduledreturn", - "actualreturn", - "kmstart", - "kmend", - "driver_dlnumber", - "driver_dlexpiry", - "driver_dlst", - "driver_fn", - "driver_ln", - "driver_addr1", - "driver_addr2", - "driver_city", - "driver_state", - "driver_zip", - "driver_ph1", - "driver_dob", - "cc_num", - "cc_expiry", - "cc_cardholder", - "contract_date", - "dailyrate", - "actax", - "dailyfreekm", - "refuelcharge", - "excesskmrate", - "cleanupcharge", - "damagewaiver", - "federaltax", - "statetax", - "localtax", - "coverage" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "contract_date", - "driver_dlexpiry", - "driver_dob", - "agreementnumber", - "dailyfreekm", - "actax", - "cleanupcharge", - "coverage", - "dailyrate", - "damagewaiver", - "excesskmrate", - "federaltax", - "kmend", - "kmstart", - "localtax", - "refuelcharge", - "statetax", - "cc_cardholder", - "cc_expiry", - "cc_num", - "driver_addr1", - "driver_addr2", - "driver_city", - "driver_dlnumber", - "driver_dlst", - "driver_fn", - "driver_ln", - "driver_ph1", - "driver_state", - "driver_zip", - "status", - "actualreturn", - "created_at", - "scheduledreturn", - "start", - "updated_at", - "courtesycarid", - "id", - "jobid" - ], - "filter": { - "courtesycar": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "contract_date", - "driver_dlexpiry", - "driver_dob", - "agreementnumber", - "dailyfreekm", - "actax", - "cleanupcharge", - "coverage", - "dailyrate", - "damagewaiver", - "excesskmrate", - "federaltax", - "kmend", - "kmstart", - "localtax", - "refuelcharge", - "statetax", - "cc_cardholder", - "cc_expiry", - "cc_num", - "driver_addr1", - "driver_addr2", - "driver_city", - "driver_dlnumber", - "driver_dlst", - "driver_fn", - "driver_ln", - "driver_ph1", - "driver_state", - "driver_zip", - "status", - "actualreturn", - "created_at", - "scheduledreturn", - "start", - "updated_at", - "courtesycarid", - "id", - "jobid" - ], - "filter": { - "courtesycar": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "courtesycar": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "conversations" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - } - ], - "array_relationships": [ - { - "name": "job_conversations", - "using": { - "foreign_key_constraint_on": { - "column": "conversationid", - "table": { - "schema": "public", - "name": "job_conversations" - } - } - } - }, - { - "name": "messages", - "using": { - "foreign_key_constraint_on": { - "column": "conversationid", - "table": { - "schema": "public", - "name": "messages" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "bodyshopid", - "phone_num" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "phone_num", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "phone_num", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "counters" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "courtesycars" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - } - ], - "array_relationships": [ - { - "name": "cccontracts", - "using": { - "foreign_key_constraint_on": { - "column": "courtesycarid", - "table": { - "schema": "public", - "name": "cccontracts" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "bodyshopid", - "make", - "model", - "year", - "plate", - "color", - "vin", - "fleetnumber", - "purchasedate", - "servicestartdate", - "serviceenddate", - "leaseenddate", - "status", - "nextservicekm", - "nextservicedate", - "damage", - "notes", - "fuel", - "registrationexpires", - "insuranceexpires", - "dailycost", - "mileage" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "insuranceexpires", - "leaseenddate", - "nextservicedate", - "purchasedate", - "registrationexpires", - "serviceenddate", - "servicestartdate", - "dailycost", - "fuel", - "mileage", - "nextservicekm", - "color", - "damage", - "fleetnumber", - "make", - "model", - "notes", - "plate", - "status", - "vin", - "year", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "insuranceexpires", - "leaseenddate", - "nextservicedate", - "purchasedate", - "registrationexpires", - "serviceenddate", - "servicestartdate", - "dailycost", - "fuel", - "mileage", - "nextservicekm", - "color", - "damage", - "fleetnumber", - "make", - "model", - "notes", - "plate", - "status", - "vin", - "year", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "csi" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - }, - { - "name": "csiquestion", - "using": { - "foreign_key_constraint_on": "questionset" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "bodyshopid", - "created_at", - "id", - "jobid", - "questionset", - "relateddata", - "updated_at", - "valid", - "validuntil" - ] - } - } - ], - "select_permissions": [ - { - "role": "anonymous", - "permission": { - "columns": [ - "id", - "relateddata", - "valid", - "validuntil" - ], - "filter": { - "valid": { - "_eq": true - } - }, - "limit": 1 - } - }, - { - "role": "user", - "permission": { - "columns": [ - "bodyshopid", - "completedon", - "created_at", - "id", - "jobid", - "questionset", - "relateddata", - "response", - "updated_at", - "valid", - "validuntil" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "anonymous", - "permission": { - "columns": [ - "completedon", - "response", - "valid" - ], - "filter": { - "valid": { - "_eq": true - } - }, - "check": null - } - }, - { - "role": "user", - "permission": { - "columns": [ - "bodyshopid", - "completedon", - "created_at", - "id", - "jobid", - "relateddata", - "updated_at", - "valid", - "validuntil" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "csiquestions" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - } - ], - "array_relationships": [ - { - "name": "csis", - "using": { - "foreign_key_constraint_on": { - "column": "questionset", - "table": { - "schema": "public", - "name": "csi" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "current", - "config", - "created_at", - "updated_at", - "bodyshopid", - "id" - ] - } - } - ], - "select_permissions": [ - { - "role": "anonymous", - "permission": { - "columns": [ - "config", - "id" - ], - "filter": {}, - "limit": 1 - } - }, - { - "role": "user", - "permission": { - "columns": [ - "current", - "config", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "current" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "documents" - }, - "object_relationships": [ - { - "name": "invoice", - "using": { - "foreign_key_constraint_on": "invoiceid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "uploaded_by", - "jobid", - "name", - "key", - "invoiceid", - "type" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "key", - "name", - "type", - "uploaded_by", - "created_at", - "updated_at", - "id", - "invoiceid", - "jobid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "employees" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - }, - { - "name": "user", - "using": { - "foreign_key_constraint_on": "user_email" - } - } - ], - "array_relationships": [ - { - "name": "allocations", - "using": { - "foreign_key_constraint_on": { - "column": "employeeid", - "table": { - "schema": "public", - "name": "allocations" - } - } - } - }, - { - "name": "jobs", - "using": { - "foreign_key_constraint_on": { - "column": "employee_body", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - }, - { - "name": "jobsByEmployeePrep", - "using": { - "foreign_key_constraint_on": { - "column": "employee_prep", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - }, - { - "name": "jobsByEmployeeRefinish", - "using": { - "foreign_key_constraint_on": { - "column": "employee_refinish", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - }, - { - "name": "timetickets", - "using": { - "foreign_key_constraint_on": { - "column": "employeeid", - "table": { - "schema": "public", - "name": "timetickets" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "active", - "base_rate", - "cost_center", - "created_at", - "employee_number", - "first_name", - "flat_rate", - "hire_date", - "id", - "last_name", - "pin", - "shopid", - "termination_date", - "updated_at", - "user_email" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "active", - "base_rate", - "cost_center", - "created_at", - "employee_number", - "first_name", - "flat_rate", - "hire_date", - "id", - "last_name", - "pin", - "shopid", - "termination_date", - "updated_at", - "user_email" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "active", - "base_rate", - "cost_center", - "created_at", - "employee_number", - "first_name", - "flat_rate", - "hire_date", - "id", - "last_name", - "pin", - "shopid", - "termination_date", - "updated_at", - "user_email" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "invoicelines" - }, - "object_relationships": [ - { - "name": "invoice", - "using": { - "foreign_key_constraint_on": "invoiceid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "invoice": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "columns": [ - "actual_cost", - "actual_price", - "applicable_taxes", - "cost_center", - "created_at", - "id", - "invoiceid", - "joblineid", - "line_desc", - "quantity", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actual_cost", - "actual_price", - "applicable_taxes", - "cost_center", - "created_at", - "id", - "invoiceid", - "joblineid", - "line_desc", - "quantity", - "updated_at" - ], - "filter": { - "invoice": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actual_cost", - "actual_price", - "applicable_taxes", - "cost_center", - "created_at", - "id", - "invoiceid", - "joblineid", - "line_desc", - "quantity", - "updated_at" - ], - "filter": { - "invoice": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "invoice": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "invoices" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - }, - { - "name": "vendor", - "using": { - "foreign_key_constraint_on": "vendorid" - } - } - ], - "array_relationships": [ - { - "name": "documents", - "using": { - "foreign_key_constraint_on": { - "column": "invoiceid", - "table": { - "schema": "public", - "name": "documents" - } - } - } - }, - { - "name": "invoicelines", - "using": { - "foreign_key_constraint_on": { - "column": "invoiceid", - "table": { - "schema": "public", - "name": "invoicelines" - } - } - } - }, - { - "name": "parts_orders", - "using": { - "foreign_key_constraint_on": { - "column": "returnfrominvoice", - "table": { - "schema": "public", - "name": "parts_orders" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "created_at", - "date", - "due_date", - "exported", - "exported_at", - "federal_tax_rate", - "id", - "invoice_number", - "is_credit_memo", - "jobid", - "local_tax_rate", - "state_tax_rate", - "total", - "updated_at", - "vendorid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "created_at", - "date", - "due_date", - "exported", - "exported_at", - "federal_tax_rate", - "id", - "invoice_number", - "is_credit_memo", - "jobid", - "local_tax_rate", - "state_tax_rate", - "total", - "updated_at", - "vendorid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "created_at", - "date", - "due_date", - "exported", - "exported_at", - "federal_tax_rate", - "id", - "invoice_number", - "is_credit_memo", - "jobid", - "local_tax_rate", - "state_tax_rate", - "total", - "updated_at", - "vendorid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "job_conversations" - }, - "object_relationships": [ - { - "name": "conversation", - "using": { - "foreign_key_constraint_on": "conversationid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "jobid", - "conversationid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "conversationid", - "jobid" - ], - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "conversationid", - "jobid" - ], - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "joblines" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "array_relationships": [ - { - "name": "allocations", - "using": { - "foreign_key_constraint_on": { - "column": "joblineid", - "table": { - "schema": "public", - "name": "allocations" - } - } - } - }, - { - "name": "parts_order_lines", - "using": { - "foreign_key_constraint_on": { - "column": "job_line_id", - "table": { - "schema": "public", - "name": "parts_order_lines" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "act_price", - "alt_co_id", - "alt_overrd", - "alt_part_i", - "alt_partm", - "alt_partno", - "bett_amt", - "bett_pctg", - "bett_tax", - "bett_type", - "cert_part", - "created_at", - "db_hrs", - "db_price", - "db_ref", - "est_seq", - "glass_flag", - "id", - "jobid", - "lbr_amt", - "lbr_hrs_j", - "lbr_inc", - "lbr_op", - "lbr_op_j", - "lbr_tax", - "lbr_typ_j", - "line_desc", - "line_ind", - "line_no", - "line_ref", - "location", - "misc_amt", - "misc_sublt", - "misc_tax", - "mod_lb_hrs", - "mod_lbr_ty", - "notes", - "oem_partno", - "op_code_desc", - "paint_stg", - "paint_tone", - "part_qty", - "part_type", - "price_inc", - "price_j", - "profitcenter_labor", - "profitcenter_part", - "prt_dsmk_m", - "prt_dsmk_p", - "removed", - "status", - "tax_part", - "unq_seq", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "act_price", - "alt_co_id", - "alt_overrd", - "alt_part_i", - "alt_partm", - "alt_partno", - "bett_amt", - "bett_pctg", - "bett_tax", - "bett_type", - "cert_part", - "created_at", - "db_hrs", - "db_price", - "db_ref", - "est_seq", - "glass_flag", - "id", - "jobid", - "lbr_amt", - "lbr_hrs_j", - "lbr_inc", - "lbr_op", - "lbr_op_j", - "lbr_tax", - "lbr_typ_j", - "line_desc", - "line_ind", - "line_no", - "line_ref", - "location", - "misc_amt", - "misc_sublt", - "misc_tax", - "mod_lb_hrs", - "mod_lbr_ty", - "notes", - "oem_partno", - "op_code_desc", - "paint_stg", - "paint_tone", - "part_qty", - "part_type", - "price_inc", - "price_j", - "profitcenter_labor", - "profitcenter_part", - "prt_dsmk_m", - "prt_dsmk_p", - "removed", - "status", - "tax_part", - "unq_seq", - "updated_at" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "act_price", - "alt_co_id", - "alt_overrd", - "alt_part_i", - "alt_partm", - "alt_partno", - "bett_amt", - "bett_pctg", - "bett_tax", - "bett_type", - "cert_part", - "created_at", - "db_hrs", - "db_price", - "db_ref", - "est_seq", - "glass_flag", - "id", - "jobid", - "lbr_amt", - "lbr_hrs_j", - "lbr_inc", - "lbr_op", - "lbr_op_j", - "lbr_tax", - "lbr_typ_j", - "line_desc", - "line_ind", - "line_no", - "line_ref", - "location", - "misc_amt", - "misc_sublt", - "misc_tax", - "mod_lb_hrs", - "mod_lbr_ty", - "notes", - "oem_partno", - "op_code_desc", - "paint_stg", - "paint_tone", - "part_qty", - "part_type", - "price_inc", - "price_j", - "profitcenter_labor", - "profitcenter_part", - "prt_dsmk_m", - "prt_dsmk_p", - "removed", - "status", - "tax_part", - "unq_seq", - "updated_at" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "joblines_status" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "manual_configuration": { - "remote_table": { - "schema": "public", - "name": "jobs" - }, - "column_mapping": { - "jobid": "id" - } - } - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "jobid", - "status", - "count", - "part_type" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "jobs" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - }, - { - "name": "employee_body_rel", - "using": { - "foreign_key_constraint_on": "employee_body" - } - }, - { - "name": "employee_prep_rel", - "using": { - "foreign_key_constraint_on": "employee_prep" - } - }, - { - "name": "employee_refinish_rel", - "using": { - "foreign_key_constraint_on": "employee_refinish" - } - }, - { - "name": "invoice", - "using": { - "manual_configuration": { - "remote_table": { - "schema": "public", - "name": "invoices" - }, - "column_mapping": { - "id": "jobid" - } - } - } - }, - { - "name": "owner", - "using": { - "foreign_key_constraint_on": "ownerid" - } - }, - { - "name": "vehicle", - "using": { - "foreign_key_constraint_on": "vehicleid" - } - } - ], - "array_relationships": [ - { - "name": "appointments", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "appointments" - } - } - } - }, - { - "name": "available_jobs", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "available_jobs" - } - } - } - }, - { - "name": "cccontracts", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "cccontracts" - } - } - } - }, - { - "name": "csiinvites", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "csi" - } - } - } - }, - { - "name": "documents", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "documents" - } - } - } - }, - { - "name": "invoices", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "invoices" - } - } - } - }, - { - "name": "job_conversations", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "job_conversations" - } - } - } - }, - { - "name": "joblines", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "joblines" - } - } - } - }, - { - "name": "joblines_status", - "using": { - "manual_configuration": { - "remote_table": { - "schema": "public", - "name": "joblines_status" - }, - "column_mapping": { - "id": "jobid" - } - } - } - }, - { - "name": "notes", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "notes" - } - } - } - }, - { - "name": "parts_orders", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "parts_orders" - } - } - } - }, - { - "name": "payments", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "payments" - } - } - } - }, - { - "name": "scoreboards", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "scoreboard" - } - } - } - }, - { - "name": "timetickets", - "using": { - "foreign_key_constraint_on": { - "column": "jobid", - "table": { - "schema": "public", - "name": "timetickets" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "actual_completion", - "actual_delivery", - "actual_in", - "adj_g_disc", - "adj_strdis", - "adj_towdis", - "adjustment_bottom_line", - "agt_addr1", - "agt_addr2", - "agt_city", - "agt_co_id", - "agt_co_nm", - "agt_ct_fn", - "agt_ct_ln", - "agt_ct_ph", - "agt_ct_phx", - "agt_ctry", - "agt_ea", - "agt_fax", - "agt_faxx", - "agt_lic_no", - "agt_ph1", - "agt_ph1x", - "agt_ph2", - "agt_ph2x", - "agt_st", - "agt_zip", - "area_of_damage", - "asgn_date", - "asgn_no", - "asgn_type", - "cat_no", - "category", - "cieca_stl", - "cieca_ttl", - "ciecaid", - "class", - "clm_addr1", - "clm_addr2", - "clm_city", - "clm_ct_fn", - "clm_ct_ln", - "clm_ct_ph", - "clm_ct_phx", - "clm_ctry", - "clm_ea", - "clm_fax", - "clm_faxx", - "clm_no", - "clm_ofc_id", - "clm_ofc_nm", - "clm_ph1", - "clm_ph1x", - "clm_ph2", - "clm_ph2x", - "clm_st", - "clm_title", - "clm_total", - "clm_zip", - "converted", - "created_at", - "csr", - "cust_pr", - "date_closed", - "date_estimated", - "date_exported", - "date_invoiced", - "date_open", - "date_scheduled", - "ded_amt", - "ded_status", - "deliverchecklist", - "depreciation_taxes", - "employee_body", - "employee_prep", - "employee_refinish", - "est_addr1", - "est_addr2", - "est_city", - "est_co_nm", - "est_ct_fn", - "est_ct_ln", - "est_ctry", - "est_ea", - "est_number", - "est_ph1", - "est_st", - "est_zip", - "federal_tax_payable", - "federal_tax_rate", - "g_bett_amt", - "id", - "inproduction", - "ins_addr1", - "ins_addr2", - "ins_city", - "ins_co_id", - "ins_co_nm", - "ins_ct_fn", - "ins_ct_ln", - "ins_ct_ph", - "ins_ct_phx", - "ins_ctry", - "ins_ea", - "ins_fax", - "ins_faxx", - "ins_memo", - "ins_ph1", - "ins_ph1x", - "ins_ph2", - "ins_ph2x", - "ins_st", - "ins_title", - "ins_zip", - "insd_addr1", - "insd_addr2", - "insd_city", - "insd_co_nm", - "insd_ctry", - "insd_ea", - "insd_fax", - "insd_faxx", - "insd_fn", - "insd_ln", - "insd_ph1", - "insd_ph1x", - "insd_ph2", - "insd_ph2x", - "insd_st", - "insd_title", - "insd_zip", - "intakechecklist", - "invoice_allocation", - "invoice_date", - "job_totals", - "kanbanparent", - "kmin", - "kmout", - "labor_rate_desc", - "labor_rate_id", - "local_tax_rate", - "loss_cat", - "loss_date", - "loss_desc", - "loss_type", - "other_amount_payable", - "owner_owing", - "ownerid", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_co_nm", - "ownr_ctry", - "ownr_ea", - "ownr_fax", - "ownr_faxx", - "ownr_fn", - "ownr_ln", - "ownr_ph1", - "ownr_ph1x", - "ownr_ph2", - "ownr_ph2x", - "ownr_st", - "ownr_title", - "ownr_zip", - "parts_tax_rates", - "pay_amt", - "pay_chknm", - "pay_date", - "pay_type", - "payee_nms", - "plate_no", - "plate_st", - "po_number", - "policy_no", - "production_vars", - "rate_la1", - "rate_la2", - "rate_la3", - "rate_la4", - "rate_laa", - "rate_lab", - "rate_lad", - "rate_lae", - "rate_laf", - "rate_lag", - "rate_lam", - "rate_lar", - "rate_las", - "rate_lau", - "rate_ma2s", - "rate_ma2t", - "rate_ma3s", - "rate_mabl", - "rate_macs", - "rate_mahw", - "rate_mapa", - "rate_mash", - "rate_matd", - "referral_source", - "regie_number", - "ro_number", - "scheduled_completion", - "scheduled_delivery", - "scheduled_in", - "selling_dealer", - "selling_dealer_contact", - "servicing_dealer", - "servicing_dealer_contact", - "shopid", - "special_coverage_policy", - "state_tax_rate", - "status", - "storage_payable", - "tax_lbr_rt", - "tax_levies_rt", - "tax_paint_mat_rt", - "tax_predis", - "tax_prethr", - "tax_pstthr", - "tax_registration_number", - "tax_shop_mat_rt", - "tax_str_rt", - "tax_sub_rt", - "tax_thramt", - "tax_tow_rt", - "theft_ind", - "tlos_ind", - "towing_payable", - "unit_number", - "updated_at", - "v_color", - "v_make_desc", - "v_model_desc", - "v_model_yr", - "v_vin", - "vehicleid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actual_completion", - "actual_delivery", - "actual_in", - "adj_g_disc", - "adj_strdis", - "adj_towdis", - "adjustment_bottom_line", - "agt_addr1", - "agt_addr2", - "agt_city", - "agt_co_id", - "agt_co_nm", - "agt_ct_fn", - "agt_ct_ln", - "agt_ct_ph", - "agt_ct_phx", - "agt_ctry", - "agt_ea", - "agt_fax", - "agt_faxx", - "agt_lic_no", - "agt_ph1", - "agt_ph1x", - "agt_ph2", - "agt_ph2x", - "agt_st", - "agt_zip", - "area_of_damage", - "asgn_date", - "asgn_no", - "asgn_type", - "cat_no", - "category", - "cieca_stl", - "cieca_ttl", - "ciecaid", - "class", - "clm_addr1", - "clm_addr2", - "clm_city", - "clm_ct_fn", - "clm_ct_ln", - "clm_ct_ph", - "clm_ct_phx", - "clm_ctry", - "clm_ea", - "clm_fax", - "clm_faxx", - "clm_no", - "clm_ofc_id", - "clm_ofc_nm", - "clm_ph1", - "clm_ph1x", - "clm_ph2", - "clm_ph2x", - "clm_st", - "clm_title", - "clm_total", - "clm_zip", - "converted", - "created_at", - "csr", - "cust_pr", - "date_closed", - "date_estimated", - "date_exported", - "date_invoiced", - "date_open", - "date_scheduled", - "ded_amt", - "ded_status", - "deliverchecklist", - "depreciation_taxes", - "employee_body", - "employee_prep", - "employee_refinish", - "est_addr1", - "est_addr2", - "est_city", - "est_co_nm", - "est_ct_fn", - "est_ct_ln", - "est_ctry", - "est_ea", - "est_number", - "est_ph1", - "est_st", - "est_zip", - "federal_tax_payable", - "federal_tax_rate", - "g_bett_amt", - "id", - "inproduction", - "ins_addr1", - "ins_addr2", - "ins_city", - "ins_co_id", - "ins_co_nm", - "ins_ct_fn", - "ins_ct_ln", - "ins_ct_ph", - "ins_ct_phx", - "ins_ctry", - "ins_ea", - "ins_fax", - "ins_faxx", - "ins_memo", - "ins_ph1", - "ins_ph1x", - "ins_ph2", - "ins_ph2x", - "ins_st", - "ins_title", - "ins_zip", - "insd_addr1", - "insd_addr2", - "insd_city", - "insd_co_nm", - "insd_ctry", - "insd_ea", - "insd_fax", - "insd_faxx", - "insd_fn", - "insd_ln", - "insd_ph1", - "insd_ph1x", - "insd_ph2", - "insd_ph2x", - "insd_st", - "insd_title", - "insd_zip", - "intakechecklist", - "invoice_allocation", - "invoice_date", - "job_totals", - "kanbanparent", - "kmin", - "kmout", - "labor_rate_desc", - "labor_rate_id", - "local_tax_rate", - "loss_cat", - "loss_date", - "loss_desc", - "loss_type", - "other_amount_payable", - "owner_owing", - "ownerid", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_co_nm", - "ownr_ctry", - "ownr_ea", - "ownr_fax", - "ownr_faxx", - "ownr_fn", - "ownr_ln", - "ownr_ph1", - "ownr_ph1x", - "ownr_ph2", - "ownr_ph2x", - "ownr_st", - "ownr_title", - "ownr_zip", - "parts_tax_rates", - "pay_amt", - "pay_chknm", - "pay_date", - "pay_type", - "payee_nms", - "plate_no", - "plate_st", - "po_number", - "policy_no", - "production_vars", - "rate_la1", - "rate_la2", - "rate_la3", - "rate_la4", - "rate_laa", - "rate_lab", - "rate_lad", - "rate_lae", - "rate_laf", - "rate_lag", - "rate_lam", - "rate_lar", - "rate_las", - "rate_lau", - "rate_ma2s", - "rate_ma2t", - "rate_ma3s", - "rate_mabl", - "rate_macs", - "rate_mahw", - "rate_mapa", - "rate_mash", - "rate_matd", - "referral_source", - "regie_number", - "ro_number", - "scheduled_completion", - "scheduled_delivery", - "scheduled_in", - "selling_dealer", - "selling_dealer_contact", - "servicing_dealer", - "servicing_dealer_contact", - "shopid", - "special_coverage_policy", - "state_tax_rate", - "status", - "storage_payable", - "tax_lbr_rt", - "tax_levies_rt", - "tax_paint_mat_rt", - "tax_predis", - "tax_prethr", - "tax_pstthr", - "tax_registration_number", - "tax_shop_mat_rt", - "tax_str_rt", - "tax_sub_rt", - "tax_thramt", - "tax_tow_rt", - "theft_ind", - "tlos_ind", - "towing_payable", - "unit_number", - "updated_at", - "v_color", - "v_make_desc", - "v_model_desc", - "v_model_yr", - "v_vin", - "vehicleid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actual_completion", - "actual_delivery", - "actual_in", - "adj_g_disc", - "adj_strdis", - "adj_towdis", - "adjustment_bottom_line", - "agt_addr1", - "agt_addr2", - "agt_city", - "agt_co_id", - "agt_co_nm", - "agt_ct_fn", - "agt_ct_ln", - "agt_ct_ph", - "agt_ct_phx", - "agt_ctry", - "agt_ea", - "agt_fax", - "agt_faxx", - "agt_lic_no", - "agt_ph1", - "agt_ph1x", - "agt_ph2", - "agt_ph2x", - "agt_st", - "agt_zip", - "area_of_damage", - "asgn_date", - "asgn_no", - "asgn_type", - "cat_no", - "category", - "cieca_stl", - "cieca_ttl", - "ciecaid", - "class", - "clm_addr1", - "clm_addr2", - "clm_city", - "clm_ct_fn", - "clm_ct_ln", - "clm_ct_ph", - "clm_ct_phx", - "clm_ctry", - "clm_ea", - "clm_fax", - "clm_faxx", - "clm_no", - "clm_ofc_id", - "clm_ofc_nm", - "clm_ph1", - "clm_ph1x", - "clm_ph2", - "clm_ph2x", - "clm_st", - "clm_title", - "clm_total", - "clm_zip", - "converted", - "created_at", - "csr", - "cust_pr", - "date_closed", - "date_estimated", - "date_exported", - "date_invoiced", - "date_open", - "date_scheduled", - "ded_amt", - "ded_status", - "deliverchecklist", - "depreciation_taxes", - "employee_body", - "employee_prep", - "employee_refinish", - "est_addr1", - "est_addr2", - "est_city", - "est_co_nm", - "est_ct_fn", - "est_ct_ln", - "est_ctry", - "est_ea", - "est_number", - "est_ph1", - "est_st", - "est_zip", - "federal_tax_payable", - "federal_tax_rate", - "g_bett_amt", - "id", - "inproduction", - "ins_addr1", - "ins_addr2", - "ins_city", - "ins_co_id", - "ins_co_nm", - "ins_ct_fn", - "ins_ct_ln", - "ins_ct_ph", - "ins_ct_phx", - "ins_ctry", - "ins_ea", - "ins_fax", - "ins_faxx", - "ins_memo", - "ins_ph1", - "ins_ph1x", - "ins_ph2", - "ins_ph2x", - "ins_st", - "ins_title", - "ins_zip", - "insd_addr1", - "insd_addr2", - "insd_city", - "insd_co_nm", - "insd_ctry", - "insd_ea", - "insd_fax", - "insd_faxx", - "insd_fn", - "insd_ln", - "insd_ph1", - "insd_ph1x", - "insd_ph2", - "insd_ph2x", - "insd_st", - "insd_title", - "insd_zip", - "intakechecklist", - "invoice_allocation", - "invoice_date", - "job_totals", - "kanbanparent", - "kmin", - "kmout", - "labor_rate_desc", - "labor_rate_id", - "local_tax_rate", - "loss_cat", - "loss_date", - "loss_desc", - "loss_type", - "other_amount_payable", - "owner_owing", - "ownerid", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_co_nm", - "ownr_ctry", - "ownr_ea", - "ownr_fax", - "ownr_faxx", - "ownr_fn", - "ownr_ln", - "ownr_ph1", - "ownr_ph1x", - "ownr_ph2", - "ownr_ph2x", - "ownr_st", - "ownr_title", - "ownr_zip", - "parts_tax_rates", - "pay_amt", - "pay_chknm", - "pay_date", - "pay_type", - "payee_nms", - "plate_no", - "plate_st", - "po_number", - "policy_no", - "production_vars", - "rate_la1", - "rate_la2", - "rate_la3", - "rate_la4", - "rate_laa", - "rate_lab", - "rate_lad", - "rate_lae", - "rate_laf", - "rate_lag", - "rate_lam", - "rate_lar", - "rate_las", - "rate_lau", - "rate_ma2s", - "rate_ma2t", - "rate_ma3s", - "rate_mabl", - "rate_macs", - "rate_mahw", - "rate_mapa", - "rate_mash", - "rate_matd", - "referral_source", - "regie_number", - "ro_number", - "scheduled_completion", - "scheduled_delivery", - "scheduled_in", - "selling_dealer", - "selling_dealer_contact", - "servicing_dealer", - "servicing_dealer_contact", - "shopid", - "special_coverage_policy", - "state_tax_rate", - "status", - "storage_payable", - "tax_lbr_rt", - "tax_levies_rt", - "tax_paint_mat_rt", - "tax_predis", - "tax_prethr", - "tax_pstthr", - "tax_registration_number", - "tax_shop_mat_rt", - "tax_str_rt", - "tax_sub_rt", - "tax_thramt", - "tax_tow_rt", - "theft_ind", - "tlos_ind", - "towing_payable", - "unit_number", - "updated_at", - "v_color", - "v_make_desc", - "v_model_desc", - "v_model_yr", - "v_vin", - "vehicleid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "masterdata" - }, - "select_permissions": [ - { - "role": "anonymous", - "permission": { - "columns": [ - "key", - "value" - ], - "filter": {} - } - }, - { - "role": "user", - "permission": { - "columns": [ - "key", - "value" - ], - "filter": {} - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "messages" - }, - "object_relationships": [ - { - "name": "conversation", - "using": { - "foreign_key_constraint_on": "conversationid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "msid", - "conversationid", - "text", - "image", - "image_path", - "isoutbound", - "status", - "read" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "image", - "isoutbound", - "read", - "image_path", - "msid", - "status", - "text", - "created_at", - "updated_at", - "conversationid", - "id" - ], - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "image", - "isoutbound", - "read", - "image_path", - "msid", - "status", - "text", - "created_at", - "updated_at", - "conversationid", - "id" - ], - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "conversation": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "notes" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - }, - { - "name": "user", - "using": { - "foreign_key_constraint_on": "created_by" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "jobid", - "text", - "created_by", - "critical", - "private" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "critical", - "private", - "created_by", - "text", - "created_at", - "updated_at", - "id", - "jobid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "critical", - "private", - "created_by", - "text", - "created_at", - "updated_at", - "id", - "jobid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "owners" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - } - ], - "array_relationships": [ - { - "name": "jobs", - "using": { - "foreign_key_constraint_on": { - "column": "ownerid", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "ownr_fn", - "ownr_ln", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_st", - "ownr_zip", - "ownr_ctry", - "ownr_ea", - "ownr_ph1", - "preferred_contact", - "allow_text_message", - "shopid", - "ownr_ph2", - "ownr_co_nm", - "ownr_title", - "accountingid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "allow_text_message", - "accountingid", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_co_nm", - "ownr_ctry", - "ownr_ea", - "ownr_fn", - "ownr_ln", - "ownr_ph1", - "ownr_ph2", - "ownr_st", - "ownr_title", - "ownr_zip", - "preferred_contact", - "created_at", - "updated_at", - "id", - "shopid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "allow_text_message", - "accountingid", - "ownr_addr1", - "ownr_addr2", - "ownr_city", - "ownr_co_nm", - "ownr_ctry", - "ownr_ea", - "ownr_fn", - "ownr_ln", - "ownr_ph1", - "ownr_ph2", - "ownr_st", - "ownr_title", - "ownr_zip", - "preferred_contact", - "created_at", - "updated_at", - "id", - "shopid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "parts_order_lines" - }, - "object_relationships": [ - { - "name": "jobline", - "using": { - "foreign_key_constraint_on": "job_line_id" - } - }, - { - "name": "parts_order", - "using": { - "foreign_key_constraint_on": "orderid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "parts_order": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "columns": [ - "act_price", - "backordered_eta", - "backordered_on", - "created_at", - "db_price", - "id", - "job_line_id", - "line_desc", - "line_remarks", - "oem_partno", - "orderid", - "quantity", - "status", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "act_price", - "backordered_eta", - "backordered_on", - "created_at", - "db_price", - "id", - "job_line_id", - "line_desc", - "line_remarks", - "oem_partno", - "orderid", - "quantity", - "status", - "updated_at" - ], - "filter": { - "parts_order": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "act_price", - "backordered_eta", - "backordered_on", - "created_at", - "db_price", - "id", - "job_line_id", - "line_desc", - "line_remarks", - "oem_partno", - "orderid", - "quantity", - "status", - "updated_at" - ], - "filter": { - "parts_order": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "parts_order": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "parts_orders" - }, - "object_relationships": [ - { - "name": "invoice", - "using": { - "foreign_key_constraint_on": "returnfrominvoice" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - }, - { - "name": "user", - "using": { - "foreign_key_constraint_on": "user_email" - } - }, - { - "name": "vendor", - "using": { - "foreign_key_constraint_on": "vendorid" - } - } - ], - "array_relationships": [ - { - "name": "parts_order_lines", - "using": { - "foreign_key_constraint_on": { - "column": "orderid", - "table": { - "schema": "public", - "name": "parts_order_lines" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "created_at", - "deliver_by", - "id", - "jobid", - "order_date", - "order_number", - "return", - "returnfrominvoice", - "status", - "updated_at", - "user_email", - "vendorid" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "created_at", - "deliver_by", - "id", - "jobid", - "order_date", - "order_number", - "return", - "returnfrominvoice", - "status", - "updated_at", - "user_email", - "vendorid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "created_at", - "deliver_by", - "id", - "jobid", - "order_date", - "order_number", - "returnfrominvoice", - "status", - "updated_at", - "user_email", - "vendorid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "payments" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "amount", - "created_at", - "exportedat", - "id", - "jobid", - "memo", - "payer", - "stripeid", - "transactionid", - "type", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "amount", - "created_at", - "exportedat", - "id", - "jobid", - "memo", - "payer", - "stripeid", - "transactionid", - "type", - "updated_at" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "amount", - "created_at", - "exportedat", - "id", - "jobid", - "memo", - "payer", - "stripeid", - "transactionid", - "type", - "updated_at" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "scoreboard" - }, - "object_relationships": [ - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "columns": [ - "id", - "jobid", - "painthrs", - "bodyhrs", - "date" - ], - "backend_only": false - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "date", - "bodyhrs", - "painthrs", - "id", - "jobid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "date", - "bodyhrs", - "painthrs", - "id", - "jobid" - ], - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "job": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "templates" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "_or": [ - { - "bodyshopid": { - "_is_null": true - } - }, - { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - ] - }, - "columns": [ - "bodyshopid", - "html", - "jsontemplate", - "name", - "query" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "bodyshopid", - "created_at", - "html", - "id", - "jsontemplate", - "name", - "query", - "updated_at" - ], - "filter": { - "_or": [ - { - "bodyshopid": { - "_is_null": true - } - }, - { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - ] - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "bodyshopid", - "created_at", - "html", - "id", - "jsontemplate", - "name", - "query", - "updated_at" - ], - "filter": { - "_or": [ - { - "bodyshopid": { - "_is_null": true - } - }, - { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - ] - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "_or": [ - { - "bodyshopid": { - "_is_null": false - } - }, - { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - ] - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "timetickets" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - }, - { - "name": "employee", - "using": { - "foreign_key_constraint_on": "employeeid" - } - }, - { - "name": "job", - "using": { - "foreign_key_constraint_on": "jobid" - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "actualhrs", - "bodyshopid", - "ciecacode", - "clockoff", - "clockon", - "cost_center", - "created_at", - "date", - "employeeid", - "id", - "jobid", - "memo", - "productivehrs", - "rate", - "updated_at" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actualhrs", - "bodyshopid", - "ciecacode", - "clockoff", - "clockon", - "cost_center", - "created_at", - "date", - "employeeid", - "id", - "jobid", - "memo", - "productivehrs", - "rate", - "updated_at" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "actualhrs", - "bodyshopid", - "ciecacode", - "clockoff", - "clockon", - "cost_center", - "created_at", - "date", - "employeeid", - "id", - "jobid", - "memo", - "productivehrs", - "rate", - "updated_at" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "users" - }, - "object_relationships": [ - { - "name": "employee", - "using": { - "manual_configuration": { - "remote_table": { - "schema": "public", - "name": "employees" - }, - "column_mapping": { - "email": "user_email" - } - } - } - } - ], - "array_relationships": [ - { - "name": "associations", - "using": { - "foreign_key_constraint_on": { - "column": "useremail", - "table": { - "schema": "public", - "name": "associations" - } - } - } - }, - { - "name": "audit_trails", - "using": { - "foreign_key_constraint_on": { - "column": "useremail", - "table": { - "schema": "public", - "name": "audit_trail" - } - } - } - }, - { - "name": "notes", - "using": { - "foreign_key_constraint_on": { - "column": "created_by", - "table": { - "schema": "public", - "name": "notes" - } - } - } - }, - { - "name": "parts_orders", - "using": { - "foreign_key_constraint_on": { - "column": "user_email", - "table": { - "schema": "public", - "name": "parts_orders" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": {}, - "columns": [ - "authid", - "email", - "fcmtokens" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "authid", - "created_at", - "dashboardlayout", - "email", - "fcmtokens", - "updated_at" - ], - "filter": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "authid", - "dashboardlayout", - "email", - "fcmtokens" - ], - "filter": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - }, - "check": null - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "vehicles" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "shopid" - } - } - ], - "array_relationships": [ - { - "name": "jobs", - "using": { - "foreign_key_constraint_on": { - "column": "vehicleid", - "table": { - "schema": "public", - "name": "jobs" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "id", - "created_at", - "updated_at", - "v_vin", - "v_make_desc", - "v_model_desc", - "v_model_yr", - "v_color", - "v_paint_codes", - "v_bstyle", - "v_engine", - "shopid", - "db_v_code", - "plate_no", - "plate_st", - "v_cond", - "v_prod_dt", - "v_type", - "v_trimcode", - "trim_color", - "v_mldgcode", - "v_options", - "v_tone", - "v_stage", - "v_makecode" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "v_paint_codes", - "db_v_code", - "plate_no", - "plate_st", - "trim_color", - "v_bstyle", - "v_color", - "v_cond", - "v_engine", - "v_makecode", - "v_make_desc", - "v_mldgcode", - "v_model_desc", - "v_model_yr", - "v_options", - "v_prod_dt", - "v_stage", - "v_tone", - "v_trimcode", - "v_type", - "v_vin", - "created_at", - "updated_at", - "id", - "shopid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "allow_aggregations": true - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "v_paint_codes", - "db_v_code", - "plate_no", - "plate_st", - "trim_color", - "v_bstyle", - "v_color", - "v_cond", - "v_engine", - "v_makecode", - "v_make_desc", - "v_mldgcode", - "v_model_desc", - "v_model_yr", - "v_options", - "v_prod_dt", - "v_stage", - "v_tone", - "v_trimcode", - "v_type", - "v_vin", - "created_at", - "updated_at", - "id", - "shopid" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - }, - { - "table": { - "schema": "public", - "name": "vendors" - }, - "object_relationships": [ - { - "name": "bodyshop", - "using": { - "foreign_key_constraint_on": "bodyshopid" - } - } - ], - "array_relationships": [ - { - "name": "invoices", - "using": { - "foreign_key_constraint_on": { - "column": "vendorid", - "table": { - "schema": "public", - "name": "invoices" - } - } - } - }, - { - "name": "parts_orders", - "using": { - "foreign_key_constraint_on": { - "column": "vendorid", - "table": { - "schema": "public", - "name": "parts_orders" - } - } - } - } - ], - "insert_permissions": [ - { - "role": "user", - "permission": { - "check": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "columns": [ - "due_date", - "favorite", - "discount", - "prompt_discount", - "city", - "cost_center", - "country", - "display_name", - "email", - "name", - "state", - "street1", - "street2", - "taxid", - "terms", - "zip", - "created_at", - "updated_at", - "bodyshopid", - "id" - ] - } - } - ], - "select_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "due_date", - "favorite", - "discount", - "prompt_discount", - "city", - "cost_center", - "country", - "display_name", - "email", - "name", - "state", - "street1", - "street2", - "taxid", - "terms", - "zip", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ], - "update_permissions": [ - { - "role": "user", - "permission": { - "columns": [ - "due_date", - "favorite", - "discount", - "prompt_discount", - "city", - "cost_center", - "country", - "display_name", - "email", - "name", - "state", - "street1", - "street2", - "taxid", - "terms", - "zip", - "created_at", - "updated_at", - "bodyshopid", - "id" - ], - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - }, - "check": null - } - } - ], - "delete_permissions": [ - { - "role": "user", - "permission": { - "filter": { - "bodyshop": { - "associations": { - "_and": [ - { - "user": { - "authid": { - "_eq": "X-Hasura-User-Id" - } - } - }, - { - "active": { - "_eq": true - } - } - ] - } - } - } - } - } - ] - } - ], - "functions": [ - { - "function": { - "schema": "public", - "name": "search_invoices" - } - }, - { - "function": { - "schema": "public", - "name": "search_jobs" - } - }, - { - "function": { - "schema": "public", - "name": "search_owners" - } - }, - { - "function": { - "schema": "public", - "name": "search_payments" - } - }, - { - "function": { - "schema": "public", - "name": "search_vehicles" - } - } - ] -} \ No newline at end of file diff --git a/hasura/migrations/1575655211742_create_table_public_users/down.yaml b/hasura/migrations/1575655211742_create_table_public_users/down.yaml deleted file mode 100644 index 6d64784f0..000000000 --- a/hasura/migrations/1575655211742_create_table_public_users/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."users" - type: run_sql diff --git a/hasura/migrations/1575655211742_create_table_public_users/up.yaml b/hasura/migrations/1575655211742_create_table_public_users/up.yaml deleted file mode 100644 index 22b1e368e..000000000 --- a/hasura/migrations/1575655211742_create_table_public_users/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - sql: "CREATE TABLE \"public\".\"users\"(\"email\" text NOT NULL, \"authid\" text - NOT NULL, \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" - timestamptz NOT NULL DEFAULT now(), PRIMARY KEY (\"email\") );\nCREATE OR REPLACE - FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS TRIGGER - AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_users_updated_at\"\nBEFORE - UPDATE ON \"public\".\"users\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_users_updated_at\" ON \"public\".\"users\" \nIS 'trigger - to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: users - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655225393_create_table_public_navitems/down.yaml b/hasura/migrations/1575655225393_create_table_public_navitems/down.yaml deleted file mode 100644 index 2001fde1d..000000000 --- a/hasura/migrations/1575655225393_create_table_public_navitems/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."navitems" - type: run_sql diff --git a/hasura/migrations/1575655225393_create_table_public_navitems/up.yaml b/hasura/migrations/1575655225393_create_table_public_navitems/up.yaml deleted file mode 100644 index 7c8213fd1..000000000 --- a/hasura/migrations/1575655225393_create_table_public_navitems/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - sql: CREATE TABLE "public"."navitems"("key" text NOT NULL, "value" text NOT NULL, - PRIMARY KEY ("key") ); - type: run_sql -- args: - name: navitems - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655236263_drop_table_public_navitems/down.yaml b/hasura/migrations/1575655236263_drop_table_public_navitems/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1575655236263_drop_table_public_navitems/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1575655236263_drop_table_public_navitems/up.yaml b/hasura/migrations/1575655236263_drop_table_public_navitems/up.yaml deleted file mode 100644 index 2001fde1d..000000000 --- a/hasura/migrations/1575655236263_drop_table_public_navitems/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."navitems" - type: run_sql diff --git a/hasura/migrations/1575655252208_create_table_public_masterdata/down.yaml b/hasura/migrations/1575655252208_create_table_public_masterdata/down.yaml deleted file mode 100644 index 3f7048497..000000000 --- a/hasura/migrations/1575655252208_create_table_public_masterdata/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."masterdata" - type: run_sql diff --git a/hasura/migrations/1575655252208_create_table_public_masterdata/up.yaml b/hasura/migrations/1575655252208_create_table_public_masterdata/up.yaml deleted file mode 100644 index 389dc577b..000000000 --- a/hasura/migrations/1575655252208_create_table_public_masterdata/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - sql: CREATE TABLE "public"."masterdata"("key" text NOT NULL, "value" text NOT - NULL, PRIMARY KEY ("key") ); - type: run_sql -- args: - name: masterdata - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/down.yaml b/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/down.yaml deleted file mode 100644 index 1d0adab90..000000000 --- a/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: masterdata - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/up.yaml b/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/up.yaml deleted file mode 100644 index e8ceef321..000000000 --- a/hasura/migrations/1575655293505_update_permission_anonymous_public_table_masterdata/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: [] - filter: {} - limit: null - role: anonymous - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575655363093_create_table_public_bodyshops/down.yaml b/hasura/migrations/1575655363093_create_table_public_bodyshops/down.yaml deleted file mode 100644 index f47539e12..000000000 --- a/hasura/migrations/1575655363093_create_table_public_bodyshops/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."bodyshops" - type: run_sql diff --git a/hasura/migrations/1575655363093_create_table_public_bodyshops/up.yaml b/hasura/migrations/1575655363093_create_table_public_bodyshops/up.yaml deleted file mode 100644 index 7622e2eb3..000000000 --- a/hasura/migrations/1575655363093_create_table_public_bodyshops/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: CREATE TABLE "public"."bodyshops"("id" uuid NOT NULL DEFAULT gen_random_uuid(), - "shopname" text NOT NULL, PRIMARY KEY ("id") ); - type: run_sql -- args: - name: bodyshops - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655424561_create_table_public_associations/down.yaml b/hasura/migrations/1575655424561_create_table_public_associations/down.yaml deleted file mode 100644 index 21943476f..000000000 --- a/hasura/migrations/1575655424561_create_table_public_associations/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."associations" - type: run_sql diff --git a/hasura/migrations/1575655424561_create_table_public_associations/up.yaml b/hasura/migrations/1575655424561_create_table_public_associations/up.yaml deleted file mode 100644 index 45f41c0a9..000000000 --- a/hasura/migrations/1575655424561_create_table_public_associations/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: CREATE TABLE "public"."associations"("id" uuid NOT NULL DEFAULT gen_random_uuid(), - "shopid" uuid NOT NULL, "useremail" text NOT NULL, PRIMARY KEY ("id") , FOREIGN - KEY ("shopid") REFERENCES "public"."bodyshops"("id") ON UPDATE restrict ON DELETE - restrict, FOREIGN KEY ("useremail") REFERENCES "public"."users"("email") ON - UPDATE restrict ON DELETE restrict); - type: run_sql -- args: - name: associations - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655478543_track_all_relationships/down.yaml b/hasura/migrations/1575655478543_track_all_relationships/down.yaml deleted file mode 100644 index 74d00028c..000000000 --- a/hasura/migrations/1575655478543_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: user - table: - name: associations - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: associations - schema: public - type: drop_relationship -- args: - relationship: associations - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: associations - table: - name: users - schema: public - type: drop_relationship diff --git a/hasura/migrations/1575655478543_track_all_relationships/up.yaml b/hasura/migrations/1575655478543_track_all_relationships/up.yaml deleted file mode 100644 index 372c515eb..000000000 --- a/hasura/migrations/1575655478543_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: user - table: - name: associations - schema: public - using: - foreign_key_constraint_on: useremail - type: create_object_relationship -- args: - name: bodyshop - table: - name: associations - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship -- args: - name: associations - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: associations - schema: public - type: create_array_relationship -- args: - name: associations - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: useremail - table: - name: associations - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1575655536805_create_table_public_jobs/down.yaml b/hasura/migrations/1575655536805_create_table_public_jobs/down.yaml deleted file mode 100644 index 236b87dbe..000000000 --- a/hasura/migrations/1575655536805_create_table_public_jobs/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."jobs" - type: run_sql diff --git a/hasura/migrations/1575655536805_create_table_public_jobs/up.yaml b/hasura/migrations/1575655536805_create_table_public_jobs/up.yaml deleted file mode 100644 index 5183f36ae..000000000 --- a/hasura/migrations/1575655536805_create_table_public_jobs/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"jobs\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"shopid\" uuid NOT NULL, \"est_number\" text NOT NULL, - PRIMARY KEY (\"id\") , FOREIGN KEY (\"shopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") - ON UPDATE restrict ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_jobs_updated_at\"\nBEFORE - UPDATE ON \"public\".\"jobs\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_jobs_updated_at\" ON \"public\".\"jobs\" \nIS 'trigger - to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: jobs - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1575655627760_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575655627760_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 9e5d0dbf1..000000000 --- a/hasura/migrations/1575655627760_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575655627760_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575655627760_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 8bb5db736..000000000 --- a/hasura/migrations/1575655627760_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - filter: {} - limit: null - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575655638632_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575655638632_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 63eb45960..000000000 --- a/hasura/migrations/1575655638632_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1575655638632_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575655638632_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 84af8eb31..000000000 --- a/hasura/migrations/1575655638632_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - columns: [] - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/down.yaml b/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/down.yaml deleted file mode 100644 index 6d26ff312..000000000 --- a/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - role: anonymous - table: - name: masterdata - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: [] - computed_fields: [] - filter: {} - role: anonymous - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/up.yaml b/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/up.yaml deleted file mode 100644 index b63ec14d1..000000000 --- a/hasura/migrations/1575655690635_update_permission_anonymous_public_table_masterdata/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: anonymous - table: - name: masterdata - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - key - - value - computed_fields: [] - filter: {} - role: anonymous - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575658209686_track_all_relationships/down.yaml b/hasura/migrations/1575658209686_track_all_relationships/down.yaml deleted file mode 100644 index 482b92d15..000000000 --- a/hasura/migrations/1575658209686_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: jobs - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1575658209686_track_all_relationships/up.yaml b/hasura/migrations/1575658209686_track_all_relationships/up.yaml deleted file mode 100644 index 2562de615..000000000 --- a/hasura/migrations/1575658209686_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: jobs - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: jobs - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 30afb6bd8..000000000 --- a/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5d204d959..000000000 --- a/hasura/migrations/1575660238077_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - columns: - - id - - created_at - - updated_at - - shopid - - est_number - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 042242267..000000000 --- a/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index b88744124..000000000 --- a/hasura/migrations/1575660243572_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - limit: null - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8bb0759ac..000000000 --- a/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8631f36fd..000000000 --- a/hasura/migrations/1575660247920_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - permission: - columns: - - est_number - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e1abc5cdb..000000000 --- a/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e3907fafc..000000000 --- a/hasura/migrations/1575660251141_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: jobs - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 8559c1bd2..000000000 --- a/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5f5f605df..000000000 --- a/hasura/migrations/1575660275013_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - limit: null - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 0c08e2319..000000000 --- a/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 66469c9ff..000000000 --- a/hasura/migrations/1575660296520_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - columns: - - shopname - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575660323008_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1575660323008_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 27cf8ba1e..000000000 --- a/hasura/migrations/1575660323008_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575660323008_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1575660323008_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 768d34fb7..000000000 --- a/hasura/migrations/1575660323008_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - shopid - - useremail - filter: - user: - authid: - _eq: X-Hasura-User-Id - limit: null - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/down.yaml b/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/down.yaml deleted file mode 100644 index 2bd7ff797..000000000 --- a/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: masterdata - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/up.yaml b/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/up.yaml deleted file mode 100644 index 0aadc9c19..000000000 --- a/hasura/migrations/1575660685092_update_permission_user_public_table_masterdata/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: [] - filter: {} - limit: null - role: user - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/down.yaml b/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/down.yaml deleted file mode 100644 index fb1aaf161..000000000 --- a/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - role: user - table: - name: masterdata - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: [] - computed_fields: [] - filter: {} - role: user - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/up.yaml b/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/up.yaml deleted file mode 100644 index 199703d6f..000000000 --- a/hasura/migrations/1575660691578_update_permission_user_public_table_masterdata/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: masterdata - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - key - - value - computed_fields: [] - filter: {} - role: user - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 8d7fedcea..000000000 --- a/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 6a7e783a9..000000000 --- a/hasura/migrations/1575664673911_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - allow_upsert: true - check: {} - columns: - - authid - - created_at - - email - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1575667732220_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575667732220_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index d5fbeec68..000000000 --- a/hasura/migrations/1575667732220_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: [] - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575667732220_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575667732220_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 8ec4d6f35..000000000 --- a/hasura/migrations/1575667732220_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - email - - authid - - created_at - - updated_at - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575667738815_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575667738815_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 344aff306..000000000 --- a/hasura/migrations/1575667738815_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575667738815_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575667738815_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index c4393514e..000000000 --- a/hasura/migrations/1575667738815_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575668596604_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575668596604_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 5022ed879..000000000 --- a/hasura/migrations/1575668596604_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1575668596604_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575668596604_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index abd3f4a2f..000000000 --- a/hasura/migrations/1575668596604_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - permission: - allow_upsert: true - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1575668601516_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1575668601516_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index c5e1a383e..000000000 --- a/hasura/migrations/1575668601516_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1575668601516_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1575668601516_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index f91554e06..000000000 --- a/hasura/migrations/1575668601516_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - - created_at - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index adfb8ed02..000000000 --- a/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index c7d361254..000000000 --- a/hasura/migrations/1575668794454_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - columns: [] - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 56426a31b..000000000 --- a/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 244b9e444..000000000 --- a/hasura/migrations/1575668798166_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: [] - filter: {} - limit: null - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 44cc20727..000000000 --- a/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: [] - computed_fields: [] - filter: {} - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 1fa476545..000000000 --- a/hasura/migrations/1575668801857_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 3aa2385ed..000000000 --- a/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: [] - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index c932a3cd4..000000000 --- a/hasura/migrations/1575668805312_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - authid - - email - - created_at - - updated_at - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/down.yaml b/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/down.yaml deleted file mode 100644 index ba868fb1f..000000000 --- a/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."associations" DROP COLUMN "active"; - type: run_sql diff --git a/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/up.yaml b/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/up.yaml deleted file mode 100644 index 7283f840f..000000000 --- a/hasura/migrations/1576008107367_alter_table_public_associations_add_column_active/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."associations" ADD COLUMN "active" boolean NOT NULL - DEFAULT true; - type: run_sql diff --git a/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/down.yaml b/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/down.yaml deleted file mode 100644 index 14a3a8e10..000000000 --- a/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "created_at"; - type: run_sql diff --git a/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/up.yaml b/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/up.yaml deleted file mode 100644 index f6cea954f..000000000 --- a/hasura/migrations/1576008186244_alter_table_public_bodyshops_add_column_created_at/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "created_at" timestamptz NULL - DEFAULT now(); - type: run_sql diff --git a/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/down.yaml b/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/down.yaml deleted file mode 100644 index 2d86263f3..000000000 --- a/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - sql: |- - DROP TRIGGER IF EXISTS "set_public_bodyshops_updated_at" ON "public"."bodyshops"; - ALTER TABLE "public"."bodyshops" DROP COLUMN "updated_at"; - type: run_sql diff --git a/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/up.yaml b/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/up.yaml deleted file mode 100644 index 6e92161c2..000000000 --- a/hasura/migrations/1576008191005_alter_table_public_bodyshops_add_column_updated_at/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: "ALTER TABLE \"public\".\"bodyshops\" ADD COLUMN \"updated_at\" timestamptz - NULL DEFAULT now();\n\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_bodyshops_updated_at\"\nBEFORE - UPDATE ON \"public\".\"bodyshops\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_bodyshops_updated_at\" ON \"public\".\"bodyshops\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql diff --git a/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/down.yaml b/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/down.yaml deleted file mode 100644 index 4471b5836..000000000 --- a/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "address1"; - type: run_sql diff --git a/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/up.yaml b/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/up.yaml deleted file mode 100644 index 1983cefa1..000000000 --- a/hasura/migrations/1576008213974_alter_table_public_bodyshops_add_column_address1/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "address1" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/down.yaml b/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/down.yaml deleted file mode 100644 index 30157702e..000000000 --- a/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "address2"; - type: run_sql diff --git a/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/up.yaml b/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/up.yaml deleted file mode 100644 index 2835e387d..000000000 --- a/hasura/migrations/1576008221992_alter_table_public_bodyshops_add_column_address2/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "address2" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/down.yaml b/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/down.yaml deleted file mode 100644 index 9c7a6df69..000000000 --- a/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "city"; - type: run_sql diff --git a/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/up.yaml b/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/up.yaml deleted file mode 100644 index 231a0459f..000000000 --- a/hasura/migrations/1576008231814_alter_table_public_bodyshops_add_column_city/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "city" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/down.yaml b/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/down.yaml deleted file mode 100644 index 4ebf7e884..000000000 --- a/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "state"; - type: run_sql diff --git a/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/up.yaml b/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/up.yaml deleted file mode 100644 index 442b63aa3..000000000 --- a/hasura/migrations/1576008238769_alter_table_public_bodyshops_add_column_state/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "state" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/down.yaml b/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/down.yaml deleted file mode 100644 index d741d5e9e..000000000 --- a/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "zip_post"; - type: run_sql diff --git a/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/up.yaml b/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/up.yaml deleted file mode 100644 index e124f67e3..000000000 --- a/hasura/migrations/1576008248755_alter_table_public_bodyshops_add_column_zip_post/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "zip_post" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/down.yaml b/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/down.yaml deleted file mode 100644 index cdd0b45ae..000000000 --- a/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "country"; - type: run_sql diff --git a/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/up.yaml b/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/up.yaml deleted file mode 100644 index 58fcfafce..000000000 --- a/hasura/migrations/1576008259990_alter_table_public_bodyshops_add_column_country/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "country" text NULL; - type: run_sql diff --git a/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1920bef42..000000000 --- a/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - columns: - - id - - created_at - - updated_at - - shopid - - est_number - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 20414421f..000000000 --- a/hasura/migrations/1576008393377_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index d0132ea47..000000000 --- a/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index bb3b099a1..000000000 --- a/hasura/migrations/1576008404806_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index ecb76193d..000000000 --- a/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - est_number - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c64e6e99c..000000000 --- a/hasura/migrations/1576008411287_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - est_number - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 16583a05c..000000000 --- a/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_delete_permission -- args: - permission: - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: jobs - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 43ac58a38..000000000 --- a/hasura/migrations/1576008417375_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_delete_permission -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/down.yaml b/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/down.yaml deleted file mode 100644 index f5fccbb9d..000000000 --- a/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ro_number"; - type: run_sql diff --git a/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/up.yaml b/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/up.yaml deleted file mode 100644 index 275d0d9d1..000000000 --- a/hasura/migrations/1576008451464_alter_table_public_jobs_add_column_ro_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ro_number" text NULL; - type: run_sql diff --git a/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/down.yaml b/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/down.yaml deleted file mode 100644 index f62215e3b..000000000 --- a/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "email"; - type: run_sql diff --git a/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/up.yaml b/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/up.yaml deleted file mode 100644 index 35c79b8a6..000000000 --- a/hasura/migrations/1576009421091_alter_table_public_bodyshops_add_column_email/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "email" text NULL; - type: run_sql diff --git a/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/down.yaml b/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/down.yaml deleted file mode 100644 index 31b0e9ac7..000000000 --- a/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "tax_id"; - type: run_sql diff --git a/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/up.yaml b/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/up.yaml deleted file mode 100644 index 58cc79456..000000000 --- a/hasura/migrations/1576009436047_alter_table_public_bodyshops_add_column_tax_id/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "tax_id" text NULL; - type: run_sql diff --git a/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/down.yaml b/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/down.yaml deleted file mode 100644 index 9771ceb0d..000000000 --- a/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "insurance_vendor_id"; - type: run_sql diff --git a/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/up.yaml b/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/up.yaml deleted file mode 100644 index 3d1b7db23..000000000 --- a/hasura/migrations/1576009452288_alter_table_public_bodyshops_add_column_insurance_vendor_id/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "insurance_vendor_id" text NULL; - type: run_sql diff --git a/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/down.yaml b/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/down.yaml deleted file mode 100644 index dae69cfeb..000000000 --- a/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."bodyshops"."tax_id" IS E'null' - type: run_sql -- args: - sql: alter table "public"."bodyshops" rename column "federal_tax_id" to "tax_id"; - type: run_sql diff --git a/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/up.yaml b/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/up.yaml deleted file mode 100644 index fc3a26d34..000000000 --- a/hasura/migrations/1576009472439_alter_table_public_bodyshops_alter_column_tax_id/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."bodyshops"."tax_id" IS E'' - type: run_sql -- args: - sql: alter table "public"."bodyshops" rename column "tax_id" to "federal_tax_id"; - type: run_sql diff --git a/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/down.yaml b/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/down.yaml deleted file mode 100644 index 6b4f763c3..000000000 --- a/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "state_tax_id"; - type: run_sql diff --git a/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/up.yaml b/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/up.yaml deleted file mode 100644 index d4104876f..000000000 --- a/hasura/migrations/1576009483197_alter_table_public_bodyshops_add_column_state_tax_id/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "state_tax_id" text NULL; - type: run_sql diff --git a/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml b/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml deleted file mode 100644 index c1fe5c716..000000000 --- a/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "logo_img_path"; - type: run_sql diff --git a/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml b/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml deleted file mode 100644 index 0596866cd..000000000 --- a/hasura/migrations/1576009562016_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "logo_img_path" text NULL; - type: run_sql diff --git a/hasura/migrations/1576014144093_create_table_public_vehicles/down.yaml b/hasura/migrations/1576014144093_create_table_public_vehicles/down.yaml deleted file mode 100644 index 4c070b9f6..000000000 --- a/hasura/migrations/1576014144093_create_table_public_vehicles/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."vehicles" - type: run_sql diff --git a/hasura/migrations/1576014144093_create_table_public_vehicles/up.yaml b/hasura/migrations/1576014144093_create_table_public_vehicles/up.yaml deleted file mode 100644 index 2880853aa..000000000 --- a/hasura/migrations/1576014144093_create_table_public_vehicles/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"vehicles\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"v_vin\" text NOT NULL, \"v_make_desc\" text, \"v_model_desc\" - text, \"v_model_yr\" text, \"v_color\" text, \"v_paint_codes\" jsonb, \"v_bstyle\" - text, \"v_engine\" text, \"plate_no\" text, \"shopid\" uuid NOT NULL, PRIMARY - KEY (\"id\") , FOREIGN KEY (\"shopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") - ON UPDATE restrict ON DELETE cascade, UNIQUE (\"v_vin\", \"shopid\"));\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_vehicles_updated_at\"\nBEFORE - UPDATE ON \"public\".\"vehicles\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_vehicles_updated_at\" ON \"public\".\"vehicles\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: vehicles - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/down.yaml b/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/down.yaml deleted file mode 100644 index e7117546a..000000000 --- a/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: vehicles - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/up.yaml b/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/up.yaml deleted file mode 100644 index b7ab5578b..000000000 --- a/hasura/migrations/1576014152478_add_relationship__table_public_vehicles/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: bodyshop - table: - name: vehicles - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 145e5dcdf..000000000 --- a/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index f54487992..000000000 --- a/hasura/migrations/1576014219996_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 0d775176a..000000000 --- a/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 498b856f8..000000000 --- a/hasura/migrations/1576014226489_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - v_paint_codes - - plate_no - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - limit: null - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 394f3940d..000000000 --- a/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 901c337b7..000000000 --- a/hasura/migrations/1576014234136_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - permission: - columns: - - v_paint_codes - - plate_no - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 8033cffd5..000000000 --- a/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index b7e62fdbc..000000000 --- a/hasura/migrations/1576014238978_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576014578461_create_table_public_owners/down.yaml b/hasura/migrations/1576014578461_create_table_public_owners/down.yaml deleted file mode 100644 index d772ddcce..000000000 --- a/hasura/migrations/1576014578461_create_table_public_owners/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."owners" - type: run_sql diff --git a/hasura/migrations/1576014578461_create_table_public_owners/up.yaml b/hasura/migrations/1576014578461_create_table_public_owners/up.yaml deleted file mode 100644 index a1a227d6e..000000000 --- a/hasura/migrations/1576014578461_create_table_public_owners/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"owners\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"first_name\" text, \"last_name\" text, \"address1\" - text, \"address2\" text, \"city\" text, \"state\" text, \"zip\" text, \"country\" - text, \"email\" text, \"phone\" text, \"preferred_contact\" text, \"allow_text_message\" - boolean NOT NULL DEFAULT false, \"shopid\" uuid NOT NULL, PRIMARY KEY (\"id\") - , FOREIGN KEY (\"shopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE - restrict ON DELETE cascade);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_owners_updated_at\"\nBEFORE - UPDATE ON \"public\".\"owners\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_owners_updated_at\" ON \"public\".\"owners\" \nIS 'trigger - to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: owners - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1576014584770_add_relationship__table_public_owners/down.yaml b/hasura/migrations/1576014584770_add_relationship__table_public_owners/down.yaml deleted file mode 100644 index 3d7b7e29c..000000000 --- a/hasura/migrations/1576014584770_add_relationship__table_public_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: owners - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576014584770_add_relationship__table_public_owners/up.yaml b/hasura/migrations/1576014584770_add_relationship__table_public_owners/up.yaml deleted file mode 100644 index 8fd3c368f..000000000 --- a/hasura/migrations/1576014584770_add_relationship__table_public_owners/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: bodyshop - table: - name: owners - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1576014629571_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576014629571_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 915b657e4..000000000 --- a/hasura/migrations/1576014629571_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576014629571_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576014629571_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 595184554..000000000 --- a/hasura/migrations/1576014629571_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - address1 - - address2 - - allow_text_message - - city - - country - - created_at - - email - - first_name - - last_name - - phone - - preferred_contact - - shopid - - state - - updated_at - - zip - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576014635512_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576014635512_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 9f10ffd44..000000000 --- a/hasura/migrations/1576014635512_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576014635512_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576014635512_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 98a5b8f08..000000000 --- a/hasura/migrations/1576014635512_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - address1 - - address2 - - city - - country - - email - - first_name - - last_name - - phone - - preferred_contact - - state - - zip - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - limit: null - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576014641407_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576014641407_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index b94959d43..000000000 --- a/hasura/migrations/1576014641407_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576014641407_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576014641407_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 5a4e78743..000000000 --- a/hasura/migrations/1576014641407_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - permission: - columns: - - allow_text_message - - address1 - - address2 - - city - - country - - email - - first_name - - last_name - - phone - - preferred_contact - - state - - zip - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014648112_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576014648112_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index cbdd69319..000000000 --- a/hasura/migrations/1576014648112_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - address1 - - address2 - - city - - country - - email - - first_name - - last_name - - phone - - preferred_contact - - state - - zip - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014648112_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576014648112_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index cda1a6938..000000000 --- a/hasura/migrations/1576014648112_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - allow_text_message - - city - - country - - created_at - - email - - first_name - - last_name - - phone - - preferred_contact - - shopid - - state - - updated_at - - zip - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014651784_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576014651784_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index d53d96596..000000000 --- a/hasura/migrations/1576014651784_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576014651784_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576014651784_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 7dc619799..000000000 --- a/hasura/migrations/1576014651784_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index b3e750f91..000000000 --- a/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - v_paint_codes - - plate_no - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index a7a205abc..000000000 --- a/hasura/migrations/1576014661584_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/down.yaml b/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/down.yaml deleted file mode 100644 index 483a9242a..000000000 --- a/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: vehicles - table: - name: bodyshops - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/up.yaml b/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/up.yaml deleted file mode 100644 index afedea7ca..000000000 --- a/hasura/migrations/1576014668520_add_relationship_vehicles_table_public_undefined/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - name: vehicles - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: vehicles - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/down.yaml b/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/down.yaml deleted file mode 100644 index ff2838d31..000000000 --- a/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: owners - table: - name: bodyshops - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/up.yaml b/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/up.yaml deleted file mode 100644 index ba42734e1..000000000 --- a/hasura/migrations/1576014670301_add_relationship_owners_table_public_undefined/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - name: owners - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: owners - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/down.yaml b/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/down.yaml deleted file mode 100644 index 0c41da42f..000000000 --- a/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ownerid"; - type: run_sql diff --git a/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/up.yaml b/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/up.yaml deleted file mode 100644 index fce1126b5..000000000 --- a/hasura/migrations/1576014713339_alter_table_public_jobs_add_column_ownerid/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ownerid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/down.yaml b/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/down.yaml deleted file mode 100644 index 268cf9ada..000000000 --- a/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "vehicleid"; - type: run_sql diff --git a/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/up.yaml b/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/up.yaml deleted file mode 100644 index fbe57d467..000000000 --- a/hasura/migrations/1576014719854_alter_table_public_jobs_add_column_vehicleid/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "vehicleid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1576015434120_jobs_rates_1/down.yaml b/hasura/migrations/1576015434120_jobs_rates_1/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1576015434120_jobs_rates_1/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1576015434120_jobs_rates_1/up.yaml b/hasura/migrations/1576015434120_jobs_rates_1/up.yaml deleted file mode 100644 index 94cdf6c46..000000000 --- a/hasura/migrations/1576015434120_jobs_rates_1/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: true - sql: "alter table public.jobs\r\nadd column labor_rate_id text,\r\nadd column - labor_rate_desc text,\r\nadd column rate_lab numeric,\r\nadd column rate_lad - numeric,\r\nadd column rate_lae numeric,\r\nadd column rate_lar numeric,\r\nadd - column rate_las numeric,\r\nadd column rate_laf numeric,\r\nadd column rate_lam - numeric,\r\nadd column rate_lag numeric,\r\nadd column rate_atp numeric,\r\nadd - column rate_lau numeric,\r\nadd column rate_la1 numeric,\r\nadd column rate_la2 - numeric,\r\nadd column rate_la3 numeric,\r\nadd column rate_la4 numeric,\r\nadd - column rate_mapa numeric,\r\nadd column rate_mash numeric,\r\nadd column rate_mahw - numeric,\r\nadd column rate_ma2s numeric,\r\nadd column rate_ma3s numeric,\r\nadd - column rate_ma2t numeric,\r\nadd column rate_mabl numeric,\r\nadd column rate_macs - numeric,\r\nadd column rate_matd numeric,\r\nadd column federal_tax_rate numeric,\r\nadd - column state_tax_rate numeric,\r\nadd column local_tax_rate numeric\r\n" - type: run_sql diff --git a/hasura/migrations/1576016564351_jobs_data2/down.yaml b/hasura/migrations/1576016564351_jobs_data2/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1576016564351_jobs_data2/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1576016564351_jobs_data2/up.yaml b/hasura/migrations/1576016564351_jobs_data2/up.yaml deleted file mode 100644 index 90d9a8300..000000000 --- a/hasura/migrations/1576016564351_jobs_data2/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - sql: "alter table jobs\r\nadd column est_co_nm text,\r\nadd column est_addr1 text,\r\nadd - column est_addr2 text,\r\nadd column est_city text,\r\nadd column est_st text,\r\nadd - column est_zip text,\r\nadd column est_ctry text,\r\nadd column est_ph1 text,\r\nadd - column est_ea text,\r\nadd column est_ct_ln text,\r\nadd column est_ct_fn text,\r\nadd - column status text,\r\nadd column scheduled_in timestamp,\r\nadd column actual_in - timestamp,\r\nadd column scheduled_completion timestamp,\r\nadd column actual_completion - timestamp,\r\nadd column scheduled_delivery timestamp,\r\nadd column actual_delivery - timestamp,\r\nadd column regie_number text,\r\nadd column invoice_date date" - type: run_sql diff --git a/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/down.yaml b/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/down.yaml deleted file mode 100644 index 3429446a4..000000000 --- a/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\" drop constraint \"jobs_vehicleid_fkey\"\n - \ " - type: run_sql diff --git a/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/up.yaml b/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/up.yaml deleted file mode 100644 index 6602cf572..000000000 --- a/hasura/migrations/1576016661775_set_fk_public_jobs_vehicleid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\"\n add constraint - \"jobs_vehicleid_fkey\"\n foreign key (\"vehicleid\")\n references - \"public\".\"vehicles\"\n (\"id\") on update restrict on delete cascade;\n - \ " - type: run_sql diff --git a/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/down.yaml b/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/down.yaml deleted file mode 100644 index 1bb33177d..000000000 --- a/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\" drop constraint \"jobs_ownerid_fkey\"\n - \ " - type: run_sql diff --git a/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/up.yaml b/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/up.yaml deleted file mode 100644 index bc532904a..000000000 --- a/hasura/migrations/1576016672583_set_fk_public_jobs_ownerid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\"\n add constraint - \"jobs_ownerid_fkey\"\n foreign key (\"ownerid\")\n references - \"public\".\"owners\"\n (\"id\") on update restrict on delete cascade;\n - \ " - type: run_sql diff --git a/hasura/migrations/1576018142298_track_all_relationships/down.yaml b/hasura/migrations/1576018142298_track_all_relationships/down.yaml deleted file mode 100644 index c2d1dfefa..000000000 --- a/hasura/migrations/1576018142298_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: vehicle - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: owner - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: jobs - table: - name: owners - schema: public - type: drop_relationship -- args: - relationship: jobs - table: - name: vehicles - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576018142298_track_all_relationships/up.yaml b/hasura/migrations/1576018142298_track_all_relationships/up.yaml deleted file mode 100644 index 0d6247e2f..000000000 --- a/hasura/migrations/1576018142298_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: vehicle - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: vehicleid - type: create_object_relationship -- args: - name: owner - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: ownerid - type: create_object_relationship -- args: - name: jobs - table: - name: owners - schema: public - using: - foreign_key_constraint_on: - column: ownerid - table: - name: jobs - schema: public - type: create_array_relationship -- args: - name: jobs - table: - name: vehicles - schema: public - using: - foreign_key_constraint_on: - column: vehicleid - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index bb3b099a1..000000000 --- a/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0209e3fd8..000000000 --- a/hasura/migrations/1576019378331_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - user: - _and: - - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f2c9abad1..000000000 --- a/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index e3d64f41a..000000000 --- a/hasura/migrations/1576019497696_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - computed_fields: [] - filter: {} - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019542947_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1576019542947_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 4ceaff51c..000000000 --- a/hasura/migrations/1576019542947_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019542947_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1576019542947_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 1c9a62c76..000000000 --- a/hasura/migrations/1576019542947_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019690098_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576019690098_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index f91554e06..000000000 --- a/hasura/migrations/1576019690098_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - - created_at - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576019690098_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576019690098_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index c5e1a383e..000000000 --- a/hasura/migrations/1576019690098_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576019700601_delete_permission_user_public_table_users/down.yaml b/hasura/migrations/1576019700601_delete_permission_user_public_table_users/down.yaml deleted file mode 100644 index 09c93b79c..000000000 --- a/hasura/migrations/1576019700601_delete_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576019700601_delete_permission_user_public_table_users/up.yaml b/hasura/migrations/1576019700601_delete_permission_user_public_table_users/up.yaml deleted file mode 100644 index 5022ed879..000000000 --- a/hasura/migrations/1576019700601_delete_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576019716667_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576019716667_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index c4393514e..000000000 --- a/hasura/migrations/1576019716667_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019716667_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576019716667_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 6613a7889..000000000 --- a/hasura/migrations/1576019716667_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019726586_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576019726586_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 8ec4d6f35..000000000 --- a/hasura/migrations/1576019726586_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - email - - authid - - created_at - - updated_at - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576019726586_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576019726586_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 938874099..000000000 --- a/hasura/migrations/1576019726586_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - email - - authid - - created_at - - updated_at - filter: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 8ea476fcd..000000000 --- a/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 56426a31b..000000000 --- a/hasura/migrations/1576019895065_delete_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576020312696_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576020312696_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 6613a7889..000000000 --- a/hasura/migrations/1576020312696_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576020312696_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576020312696_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index c4393514e..000000000 --- a/hasura/migrations/1576020312696_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021306809_remove_roles_public_table_users/down.yaml b/hasura/migrations/1576021306809_remove_roles_public_table_users/down.yaml deleted file mode 100644 index f55c32110..000000000 --- a/hasura/migrations/1576021306809_remove_roles_public_table_users/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - columns: - - email - - authid - - created_at - - updated_at - filter: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021306809_remove_roles_public_table_users/up.yaml b/hasura/migrations/1576021306809_remove_roles_public_table_users/up.yaml deleted file mode 100644 index ab784a897..000000000 --- a/hasura/migrations/1576021306809_remove_roles_public_table_users/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021327368_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576021327368_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 9e5d0dbf1..000000000 --- a/hasura/migrations/1576021327368_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021327368_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576021327368_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 08fc57258..000000000 --- a/hasura/migrations/1576021327368_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: [] - filter: {} - limit: null - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021331871_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576021331871_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index a3fa7864c..000000000 --- a/hasura/migrations/1576021331871_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: [] - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021331871_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576021331871_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index c4393514e..000000000 --- a/hasura/migrations/1576021331871_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021618689_remove_roles_public_table_users/down.yaml b/hasura/migrations/1576021618689_remove_roles_public_table_users/down.yaml deleted file mode 100644 index 15c2c2629..000000000 --- a/hasura/migrations/1576021618689_remove_roles_public_table_users/down.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021618689_remove_roles_public_table_users/up.yaml b/hasura/migrations/1576021618689_remove_roles_public_table_users/up.yaml deleted file mode 100644 index 9e5d0dbf1..000000000 --- a/hasura/migrations/1576021618689_remove_roles_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021625374_remove_roles_public_table_associations/down.yaml b/hasura/migrations/1576021625374_remove_roles_public_table_associations/down.yaml deleted file mode 100644 index b4753db35..000000000 --- a/hasura/migrations/1576021625374_remove_roles_public_table_associations/down.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - active - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021625374_remove_roles_public_table_associations/up.yaml b/hasura/migrations/1576021625374_remove_roles_public_table_associations/up.yaml deleted file mode 100644 index 27cf8ba1e..000000000 --- a/hasura/migrations/1576021625374_remove_roles_public_table_associations/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/down.yaml b/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/down.yaml deleted file mode 100644 index 90a4769ac..000000000 --- a/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - computed_fields: [] - filter: {} - role: user - table: - name: bodyshops - schema: public - type: create_select_permission -- args: - permission: - columns: - - shopname - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/up.yaml b/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/up.yaml deleted file mode 100644 index cb036e22d..000000000 --- a/hasura/migrations/1576021632302_remove_roles_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576021639806_remove_roles_public_table_jobs/down.yaml b/hasura/migrations/1576021639806_remove_roles_public_table_jobs/down.yaml deleted file mode 100644 index 36cc11dad..000000000 --- a/hasura/migrations/1576021639806_remove_roles_public_table_jobs/down.yaml +++ /dev/null @@ -1,93 +0,0 @@ -- args: - permission: - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission -- args: - permission: - columns: - - est_number - - created_at - - updated_at - - id - - shopid - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_delete_permission -- args: - permission: - allow_aggregations: false - columns: - - est_number - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - user: - _and: - - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021639806_remove_roles_public_table_jobs/up.yaml b/hasura/migrations/1576021639806_remove_roles_public_table_jobs/up.yaml deleted file mode 100644 index 25d7bd2d6..000000000 --- a/hasura/migrations/1576021639806_remove_roles_public_table_jobs/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - role: user - table: - name: jobs - schema: public - type: drop_delete_permission -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/down.yaml b/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/down.yaml deleted file mode 100644 index f7b4707b8..000000000 --- a/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/down.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - key - - value - computed_fields: [] - filter: {} - role: user - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/up.yaml b/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/up.yaml deleted file mode 100644 index 2bd7ff797..000000000 --- a/hasura/migrations/1576021647414_remove_roles_public_table_masterdata/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: masterdata - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021655502_remove_roles_public_table_owners/down.yaml b/hasura/migrations/1576021655502_remove_roles_public_table_owners/down.yaml deleted file mode 100644 index 02681885d..000000000 --- a/hasura/migrations/1576021655502_remove_roles_public_table_owners/down.yaml +++ /dev/null @@ -1,125 +0,0 @@ -- args: - permission: - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - address1 - - address2 - - allow_text_message - - city - - country - - created_at - - email - - first_name - - last_name - - phone - - preferred_contact - - shopid - - state - - updated_at - - zip - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - address1 - - address2 - - city - - country - - email - - first_name - - last_name - - phone - - preferred_contact - - state - - zip - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission -- args: - permission: - columns: - - address1 - - address2 - - allow_text_message - - city - - country - - created_at - - email - - first_name - - last_name - - phone - - preferred_contact - - shopid - - state - - updated_at - - zip - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576021655502_remove_roles_public_table_owners/up.yaml b/hasura/migrations/1576021655502_remove_roles_public_table_owners/up.yaml deleted file mode 100644 index 618bfa53b..000000000 --- a/hasura/migrations/1576021655502_remove_roles_public_table_owners/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - role: user - table: - name: owners - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/down.yaml b/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/down.yaml deleted file mode 100644 index 13f73aefc..000000000 --- a/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/down.yaml +++ /dev/null @@ -1,116 +0,0 @@ -- args: - permission: - check: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission -- args: - permission: - allow_aggregations: false - columns: - - v_paint_codes - - plate_no - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission -- args: - permission: - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_delete_permission -- args: - permission: - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - _and: - - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - - bodyshop: - associations: - active: - _eq: true - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/up.yaml b/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/up.yaml deleted file mode 100644 index 860b7b224..000000000 --- a/hasura/migrations/1576021673775_remove_roles_public_table_vehicles/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - role: user - table: - name: vehicles - schema: public - type: drop_delete_permission -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576021723657_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576021723657_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 9e5d0dbf1..000000000 --- a/hasura/migrations/1576021723657_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576021723657_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576021723657_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index b01b3fab9..000000000 --- a/hasura/migrations/1576021723657_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - email - - authid - - created_at - - updated_at - filter: {} - limit: null - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576022310317_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576022310317_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 90e77dce3..000000000 --- a/hasura/migrations/1576022310317_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - email - - authid - - created_at - - updated_at - computed_fields: [] - filter: {} - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576022310317_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576022310317_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index bf559d77f..000000000 --- a/hasura/migrations/1576022310317_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - email - - authid - - created_at - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576022435103_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576022435103_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 63eb45960..000000000 --- a/hasura/migrations/1576022435103_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576022435103_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576022435103_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 92d1a5734..000000000 --- a/hasura/migrations/1576022435103_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - permission: - columns: - - authid - - email - - created_at - - updated_at - filter: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576022455887_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1576022455887_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 27cf8ba1e..000000000 --- a/hasura/migrations/1576022455887_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576022455887_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1576022455887_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 234ba2a51..000000000 --- a/hasura/migrations/1576022455887_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - shopid - - useremail - - active - filter: - user: - authid: - _eq: X-Hasura-User-Id - limit: null - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576022465318_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1576022465318_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index f2a2b2d6e..000000000 --- a/hasura/migrations/1576022465318_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576022465318_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1576022465318_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 0dcecbd40..000000000 --- a/hasura/migrations/1576022465318_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - columns: - - active - filter: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 8559c1bd2..000000000 --- a/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f880085fd..000000000 --- a/hasura/migrations/1576026461536_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - filter: - _and: - - associations: - user: - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - limit: null - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index e590073ac..000000000 --- a/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - computed_fields: [] - filter: - _and: - - associations: - user: - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 49abf772b..000000000 --- a/hasura/migrations/1576026582675_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - computed_fields: [] - filter: - associations: - user: - _and: - - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 49abf772b..000000000 --- a/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - computed_fields: [] - filter: - associations: - user: - _and: - - authid: - _eq: X-Hasura-User-Id - - associations: - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 3cbdf35a3..000000000 --- a/hasura/migrations/1576026751366_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - computed_fields: [] - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 0c08e2319..000000000 --- a/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 849d36b02..000000000 --- a/hasura/migrations/1576026882282_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 30afb6bd8..000000000 --- a/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index fb514ccf0..000000000 --- a/hasura/migrations/1576026931133_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - created_at - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 042242267..000000000 --- a/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8e3cb9305..000000000 --- a/hasura/migrations/1576026955649_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - invoice_date - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - labor_rate_desc - - labor_rate_id - - regie_number - - ro_number - - status - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8bb0759ac..000000000 --- a/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 655fa9994..000000000 --- a/hasura/migrations/1576026973657_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - created_at - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e1abc5cdb..000000000 --- a/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index b9b46a6ca..000000000 --- a/hasura/migrations/1576026979367_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/down.yaml b/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/down.yaml deleted file mode 100644 index 2bd7ff797..000000000 --- a/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: masterdata - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/up.yaml b/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/up.yaml deleted file mode 100644 index 8ac525b23..000000000 --- a/hasura/migrations/1576026999608_update_permission_user_public_table_masterdata/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - key - - value - filter: {} - limit: null - role: user - table: - name: masterdata - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576027033657_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576027033657_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 9f10ffd44..000000000 --- a/hasura/migrations/1576027033657_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576027033657_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576027033657_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 8eb088bde..000000000 --- a/hasura/migrations/1576027033657_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - first_name - - last_name - - address1 - - address2 - - city - - state - - zip - - country - - email - - phone - - preferred_contact - - allow_text_message - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576027044808_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576027044808_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 915b657e4..000000000 --- a/hasura/migrations/1576027044808_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576027044808_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576027044808_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index fbaa51189..000000000 --- a/hasura/migrations/1576027044808_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - allow_text_message - - address1 - - address2 - - city - - country - - email - - first_name - - last_name - - phone - - preferred_contact - - state - - zip - - created_at - - updated_at - - id - - shopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576027050551_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576027050551_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index d53d96596..000000000 --- a/hasura/migrations/1576027050551_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576027050551_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576027050551_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 2983aad0e..000000000 --- a/hasura/migrations/1576027050551_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576027068096_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1576027068096_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index b94959d43..000000000 --- a/hasura/migrations/1576027068096_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576027068096_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1576027068096_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index abfb7676a..000000000 --- a/hasura/migrations/1576027068096_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - permission: - columns: - - address1 - - address2 - - allow_text_message - - city - - country - - created_at - - email - - first_name - - last_name - - phone - - preferred_contact - - shopid - - state - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 145e5dcdf..000000000 --- a/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 75a6bedb4..000000000 --- a/hasura/migrations/1576027104076_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 0d775176a..000000000 --- a/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 97269d3fd..000000000 --- a/hasura/migrations/1576027112480_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 394f3940d..000000000 --- a/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 43129fe54..000000000 --- a/hasura/migrations/1576027119200_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - permission: - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 8033cffd5..000000000 --- a/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 9a333f12e..000000000 --- a/hasura/migrations/1576027123711_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576029072284_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576029072284_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 5022ed879..000000000 --- a/hasura/migrations/1576029072284_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576029072284_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576029072284_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index abd3f4a2f..000000000 --- a/hasura/migrations/1576029072284_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - permission: - allow_upsert: true - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576029179533_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1576029179533_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index c5e1a383e..000000000 --- a/hasura/migrations/1576029179533_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576029179533_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1576029179533_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 4e6739f81..000000000 --- a/hasura/migrations/1576029179533_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/down.yaml b/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/down.yaml deleted file mode 100644 index 9962c7227..000000000 --- a/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "claim_total"; - type: run_sql diff --git a/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/up.yaml b/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/up.yaml deleted file mode 100644 index da2211212..000000000 --- a/hasura/migrations/1576535281752_alter_table_public_jobs_add_column_claim_total/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "claim_total" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/down.yaml b/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/down.yaml deleted file mode 100644 index 4843e177d..000000000 --- a/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "deducitble"; - type: run_sql diff --git a/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/up.yaml b/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/up.yaml deleted file mode 100644 index 3ca55acc7..000000000 --- a/hasura/migrations/1576535291979_alter_table_public_jobs_add_column_deducitble/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "deducitble" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/down.yaml b/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/down.yaml deleted file mode 100644 index aeca06626..000000000 --- a/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "deducitble" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."deducitble" IS E'null' - type: run_sql diff --git a/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/up.yaml b/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/up.yaml deleted file mode 100644 index 9d5ce5e31..000000000 --- a/hasura/migrations/1576535325194_alter_table_public_jobs_alter_column_deducitble/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "deducitble" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."deducitble" IS E'' - type: run_sql diff --git a/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/down.yaml b/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/down.yaml deleted file mode 100644 index 9422e952a..000000000 --- a/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "claim_total" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."claim_total" IS E'null' - type: run_sql diff --git a/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/up.yaml b/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/up.yaml deleted file mode 100644 index a55ee0000..000000000 --- a/hasura/migrations/1576535331249_alter_table_public_jobs_alter_column_claim_total/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "claim_total" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."claim_total" IS E'' - type: run_sql diff --git a/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8b3bf4f17..000000000 --- a/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - created_at - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 15a874168..000000000 --- a/hasura/migrations/1576535389457_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deducitble - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 2cab84166..000000000 --- a/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - invoice_date - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - labor_rate_desc - - labor_rate_id - - regie_number - - ro_number - - status - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 9a3c6d01b..000000000 --- a/hasura/migrations/1576535397848_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,83 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deducitble - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 10ed07cd3..000000000 --- a/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - created_at - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 559577e7b..000000000 --- a/hasura/migrations/1576535406904_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deducitble - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/down.yaml b/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/down.yaml deleted file mode 100644 index a5c10f54e..000000000 --- a/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."deducitble" IS E'null' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "deductible" to "deducitble"; - type: run_sql diff --git a/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/up.yaml b/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/up.yaml deleted file mode 100644 index 43f679e73..000000000 --- a/hasura/migrations/1576535450019_alter_table_public_jobs_alter_column_deducitble/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."deducitble" IS E'' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "deducitble" to "deductible"; - type: run_sql diff --git a/hasura/migrations/1576545362627_create_table_public_joblines/down.yaml b/hasura/migrations/1576545362627_create_table_public_joblines/down.yaml deleted file mode 100644 index cf8ad114d..000000000 --- a/hasura/migrations/1576545362627_create_table_public_joblines/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."joblines" - type: run_sql diff --git a/hasura/migrations/1576545362627_create_table_public_joblines/up.yaml b/hasura/migrations/1576545362627_create_table_public_joblines/up.yaml deleted file mode 100644 index da0b6b197..000000000 --- a/hasura/migrations/1576545362627_create_table_public_joblines/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"joblines\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"unq_seq\" integer, \"line_ind\" - text, \"line_desc\" text, \"part_type\" text, \"oem_partno\" text, \"est_seq\" - integer, \"db_ref\" text, \"line_ref\" text, \"tax_part\" boolean NOT NULL DEFAULT - true, \"db_price\" numeric, \"act_price\" numeric, \"part_qty\" integer, \"alt_partno\" - text, \"mod_lbr_ty\" text, \"db_hrs\" numeric, \"mod_lb_hrs\" numeric, \"lbr_op\" - text, \"lbr_amt\" numeric, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES - \"public\".\"jobs\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE OR - REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_joblines_updated_at\"\nBEFORE - UPDATE ON \"public\".\"joblines\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_joblines_updated_at\" ON \"public\".\"joblines\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: joblines - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1576545371943_track_all_relationships/down.yaml b/hasura/migrations/1576545371943_track_all_relationships/down.yaml deleted file mode 100644 index 9a850b159..000000000 --- a/hasura/migrations/1576545371943_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: job - table: - name: joblines - schema: public - type: drop_relationship -- args: - relationship: joblines - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1576545371943_track_all_relationships/up.yaml b/hasura/migrations/1576545371943_track_all_relationships/up.yaml deleted file mode 100644 index 34e894140..000000000 --- a/hasura/migrations/1576545371943_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: job - table: - name: joblines - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: joblines - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: joblines - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index d290bbba0..000000000 --- a/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index c3c78f1c5..000000000 --- a/hasura/migrations/1576545448467_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 89e5a61ad..000000000 --- a/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 2fd92b690..000000000 --- a/hasura/migrations/1576545454196_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - tax_part - - est_seq - - part_qty - - unq_seq - - act_price - - db_hrs - - db_price - - lbr_amt - - mod_lb_hrs - - alt_partno - - db_ref - - lbr_op - - line_desc - - line_ind - - line_ref - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index e97fa62bd..000000000 --- a/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 006378c0b..000000000 --- a/hasura/migrations/1576545472510_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - permission: - columns: - - tax_part - - est_seq - - part_qty - - unq_seq - - act_price - - db_hrs - - db_price - - lbr_amt - - mod_lb_hrs - - alt_partno - - db_ref - - lbr_op - - line_desc - - line_ind - - line_ref - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 0578ffde5..000000000 --- a/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index ffc97a4a3..000000000 --- a/hasura/migrations/1576545476731_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/down.yaml b/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/down.yaml deleted file mode 100644 index 3a9f7c568..000000000 --- a/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "inproduction"; - type: run_sql diff --git a/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/up.yaml b/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/up.yaml deleted file mode 100644 index 3ee249f52..000000000 --- a/hasura/migrations/1576606149211_alter_table_public_jobs_add_column_inproduction/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "inproduction" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 25d60dd04..000000000 --- a/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 441e6cb60..000000000 --- a/hasura/migrations/1576606158614_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,85 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8639821a4..000000000 --- a/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,83 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 43909ecda..000000000 --- a/hasura/migrations/1576606166716_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 48603a111..000000000 --- a/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4c7f7ed40..000000000 --- a/hasura/migrations/1576606172105_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,85 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/down.yaml b/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/down.yaml deleted file mode 100644 index d76b836ba..000000000 --- a/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_ro_statuses"; - type: run_sql diff --git a/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/up.yaml b/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/up.yaml deleted file mode 100644 index c2da527b4..000000000 --- a/hasura/migrations/1576610555668_alter_table_public_bodyshops_add_column_md_ro_statuses/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_ro_statuses" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 3cbdf35a3..000000000 --- a/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - computed_fields: [] - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 1b6c6d9db..000000000 --- a/hasura/migrations/1576610596670_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 45ac1635b..000000000 --- a/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index b5b542a8b..000000000 --- a/hasura/migrations/1576610605007_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577753580584_create_table_public_job_status/down.yaml b/hasura/migrations/1577753580584_create_table_public_job_status/down.yaml deleted file mode 100644 index d10304097..000000000 --- a/hasura/migrations/1577753580584_create_table_public_job_status/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."job_status" - type: run_sql diff --git a/hasura/migrations/1577753580584_create_table_public_job_status/up.yaml b/hasura/migrations/1577753580584_create_table_public_job_status/up.yaml deleted file mode 100644 index 9c74abada..000000000 --- a/hasura/migrations/1577753580584_create_table_public_job_status/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"job_status\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"shopid\" uuid NOT NULL, \"name\" text NOT NULL, \"isproductionstatus\" - boolean DEFAULT true, PRIMARY KEY (\"id\") , FOREIGN KEY (\"shopid\") REFERENCES - \"public\".\"bodyshops\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_job_status_updated_at\"\nBEFORE - UPDATE ON \"public\".\"job_status\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_job_status_updated_at\" ON \"public\".\"job_status\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';\n" - type: run_sql -- args: - name: job_status - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1577753590084_track_all_relationships/down.yaml b/hasura/migrations/1577753590084_track_all_relationships/down.yaml deleted file mode 100644 index 43edc2a92..000000000 --- a/hasura/migrations/1577753590084_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: job_statuses - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: job_status - schema: public - type: drop_relationship diff --git a/hasura/migrations/1577753590084_track_all_relationships/up.yaml b/hasura/migrations/1577753590084_track_all_relationships/up.yaml deleted file mode 100644 index 0aec67e6f..000000000 --- a/hasura/migrations/1577753590084_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: job_statuses - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: job_status - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: job_status - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 3c01a272c..000000000 --- a/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 1d4a83fee..000000000 --- a/hasura/migrations/1577753654005_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - name - - isproductionstatus - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 85d7d08dd..000000000 --- a/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 019f4d0d5..000000000 --- a/hasura/migrations/1577753660685_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - isproductionstatus - - name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: job_status - schema: public - type: create_select_permission diff --git a/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 42b51ea3e..000000000 --- a/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 01f9af7c7..000000000 --- a/hasura/migrations/1577753667543_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - columns: - - isproductionstatus - - name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 05f10e122..000000000 --- a/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index e26a5a3ac..000000000 --- a/hasura/migrations/1577753671228_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_status - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/down.yaml b/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/down.yaml deleted file mode 100644 index 8cb88c3ba..000000000 --- a/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."job_status" DROP COLUMN "order"; - type: run_sql diff --git a/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/up.yaml b/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/up.yaml deleted file mode 100644 index 62e285270..000000000 --- a/hasura/migrations/1577753836472_alter_table_public_job_status_add_column_order/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."job_status" ADD COLUMN "order" integer NOT NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index a1ce5f46f..000000000 --- a/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - name - - isproductionstatus - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 39603fed7..000000000 --- a/hasura/migrations/1577753849417_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - name - - isproductionstatus - - order - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index cf360a710..000000000 --- a/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - isproductionstatus - - name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_status - schema: public - type: create_select_permission diff --git a/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 4a20fcfef..000000000 --- a/hasura/migrations/1577753852887_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - isproductionstatus - - order - - name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_status - schema: public - type: create_select_permission diff --git a/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index dd381ba43..000000000 --- a/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_update_permission -- args: - permission: - columns: - - isproductionstatus - - name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 94de06f5e..000000000 --- a/hasura/migrations/1577753857951_update_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_update_permission -- args: - permission: - columns: - - isproductionstatus - - order - - name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/down.yaml b/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/down.yaml deleted file mode 100644 index 22557a8e2..000000000 --- a/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "statusid"; - type: run_sql diff --git a/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/up.yaml b/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/up.yaml deleted file mode 100644 index 5c87ea229..000000000 --- a/hasura/migrations/1577754170384_alter_table_public_jobs_add_column_statusid/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "statusid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/down.yaml b/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/down.yaml deleted file mode 100644 index 4e038cf9d..000000000 --- a/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\" drop constraint \"jobs_statusid_fkey\"\n - \ " - type: run_sql diff --git a/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/up.yaml b/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/up.yaml deleted file mode 100644 index e76b6d805..000000000 --- a/hasura/migrations/1577754190642_set_fk_public_jobs_statusid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"jobs\"\n add constraint - \"jobs_statusid_fkey\"\n foreign key (\"statusid\")\n references - \"public\".\"job_status\"\n (\"id\") on update restrict on delete - restrict;\n " - type: run_sql diff --git a/hasura/migrations/1577754205804_track_all_relationships/down.yaml b/hasura/migrations/1577754205804_track_all_relationships/down.yaml deleted file mode 100644 index c70a8cf6d..000000000 --- a/hasura/migrations/1577754205804_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: job_status - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: jobs - table: - name: job_status - schema: public - type: drop_relationship diff --git a/hasura/migrations/1577754205804_track_all_relationships/up.yaml b/hasura/migrations/1577754205804_track_all_relationships/up.yaml deleted file mode 100644 index 22e532ba6..000000000 --- a/hasura/migrations/1577754205804_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: job_status - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: statusid - type: create_object_relationship -- args: - name: jobs - table: - name: job_status - schema: public - using: - foreign_key_constraint_on: - column: statusid - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 441e6cb60..000000000 --- a/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,85 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2b0b72063..000000000 --- a/hasura/migrations/1577754219714_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 43909ecda..000000000 --- a/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a79eaa1f1..000000000 --- a/hasura/migrations/1577754229569_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4c7f7ed40..000000000 --- a/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,85 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - status - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c664ccb26..000000000 --- a/hasura/migrations/1577754242567_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/down.yaml b/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/down.yaml deleted file mode 100644 index e2f62f616..000000000 --- a/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "status" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "status" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/up.yaml b/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/up.yaml deleted file mode 100644 index fdbf4b74e..000000000 --- a/hasura/migrations/1577754258614_alter_table_public_jobs_drop_column_status/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "status" CASCADE - type: run_sql diff --git a/hasura/migrations/1578415206280_create_table_public_vendors/down.yaml b/hasura/migrations/1578415206280_create_table_public_vendors/down.yaml deleted file mode 100644 index 063f625bc..000000000 --- a/hasura/migrations/1578415206280_create_table_public_vendors/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."vendors" - type: run_sql diff --git a/hasura/migrations/1578415206280_create_table_public_vendors/up.yaml b/hasura/migrations/1578415206280_create_table_public_vendors/up.yaml deleted file mode 100644 index facdabbbb..000000000 --- a/hasura/migrations/1578415206280_create_table_public_vendors/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"vendors\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid NOT NULL, \"name\" text NOT NULL, - \"street1\" text, \"street2\" text, \"city\" text, \"state\" text, \"zip\" text, - \"country\" text, \"email\" text, \"taxid\" text, \"discount\" numeric NOT NULL - DEFAULT 0, \"prompt_discount\" numeric NOT NULL DEFAULT 0, \"due_date\" integer, - \"terms\" text, \"display_name\" text, PRIMARY KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") - REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_vendors_updated_at\"\nBEFORE - UPDATE ON \"public\".\"vendors\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_vendors_updated_at\" ON \"public\".\"vendors\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: vendors - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1578415220953_track_all_relationships/down.yaml b/hasura/migrations/1578415220953_track_all_relationships/down.yaml deleted file mode 100644 index 5ddf931d2..000000000 --- a/hasura/migrations/1578415220953_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: vendors - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: vendors - schema: public - type: drop_relationship diff --git a/hasura/migrations/1578415220953_track_all_relationships/up.yaml b/hasura/migrations/1578415220953_track_all_relationships/up.yaml deleted file mode 100644 index da19a71f3..000000000 --- a/hasura/migrations/1578415220953_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: vendors - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: vendors - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: vendors - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 341c33e8b..000000000 --- a/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 826d51398..000000000 --- a/hasura/migrations/1578415310253_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index c49f12455..000000000 --- a/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 1b4248be1..000000000 --- a/hasura/migrations/1578415315745_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 2e7f9528d..000000000 --- a/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 4c70a3b50..000000000 --- a/hasura/migrations/1578415321110_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - permission: - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 289d7e000..000000000 --- a/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 0e9e9463c..000000000 --- a/hasura/migrations/1578415327701_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1578416086468_create_table_public_parts_order/down.yaml b/hasura/migrations/1578416086468_create_table_public_parts_order/down.yaml deleted file mode 100644 index bdf939ee1..000000000 --- a/hasura/migrations/1578416086468_create_table_public_parts_order/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."parts_order" - type: run_sql diff --git a/hasura/migrations/1578416086468_create_table_public_parts_order/up.yaml b/hasura/migrations/1578416086468_create_table_public_parts_order/up.yaml deleted file mode 100644 index f76e22cef..000000000 --- a/hasura/migrations/1578416086468_create_table_public_parts_order/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"parts_order\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"vendorid\" uuid NOT NULL, - \"order_number\" text NOT NULL, \"order_date\" date NOT NULL DEFAULT now(), - \"ordered_by_user_id\" text NOT NULL, \"status\" text NOT NULL, \"deliver_by\" - date, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE cascade ON DELETE cascade, FOREIGN KEY (\"vendorid\") REFERENCES \"public\".\"vendors\"(\"id\") - ON UPDATE restrict ON DELETE restrict, FOREIGN KEY (\"ordered_by_user_id\") - REFERENCES \"public\".\"users\"(\"email\") ON UPDATE restrict ON DELETE restrict);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_parts_order_updated_at\"\nBEFORE - UPDATE ON \"public\".\"parts_order\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_parts_order_updated_at\" ON \"public\".\"parts_order\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';\n" - type: run_sql -- args: - name: parts_order - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1578416103317_track_all_relationships/down.yaml b/hasura/migrations/1578416103317_track_all_relationships/down.yaml deleted file mode 100644 index 93ad953a5..000000000 --- a/hasura/migrations/1578416103317_track_all_relationships/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - relationship: parts_orders - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: user - table: - name: parts_order - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: parts_order - schema: public - type: drop_relationship -- args: - relationship: vendor - table: - name: parts_order - schema: public - type: drop_relationship -- args: - relationship: parts_orders - table: - name: users - schema: public - type: drop_relationship -- args: - relationship: parts_orders - table: - name: vendors - schema: public - type: drop_relationship diff --git a/hasura/migrations/1578416103317_track_all_relationships/up.yaml b/hasura/migrations/1578416103317_track_all_relationships/up.yaml deleted file mode 100644 index cce26c1e3..000000000 --- a/hasura/migrations/1578416103317_track_all_relationships/up.yaml +++ /dev/null @@ -1,60 +0,0 @@ -- args: - name: parts_orders - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: parts_order - schema: public - type: create_array_relationship -- args: - name: user - table: - name: parts_order - schema: public - using: - foreign_key_constraint_on: ordered_by_user_id - type: create_object_relationship -- args: - name: job - table: - name: parts_order - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: vendor - table: - name: parts_order - schema: public - using: - foreign_key_constraint_on: vendorid - type: create_object_relationship -- args: - name: parts_orders - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: ordered_by_user_id - table: - name: parts_order - schema: public - type: create_array_relationship -- args: - name: parts_orders - table: - name: vendors - schema: public - using: - foreign_key_constraint_on: - column: vendorid - table: - name: parts_order - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index 97ed8317f..000000000 --- a/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index b3734b79e..000000000 --- a/hasura/migrations/1578416157323_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - deliver_by - - order_date - - ordered_by_user_id - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index 935d34ae9..000000000 --- a/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index 0d029d635..000000000 --- a/hasura/migrations/1578416163694_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - deliver_by - - order_date - - ordered_by_user_id - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: parts_order - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index 13e5e444b..000000000 --- a/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index 434f9eb38..000000000 --- a/hasura/migrations/1578416169493_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - columns: - - deliver_by - - order_date - - ordered_by_user_id - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index ea03cd56b..000000000 --- a/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index c4181050c..000000000 --- a/hasura/migrations/1578416175507_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1578416710710_create_table_public_parts_order_lines/down.yaml b/hasura/migrations/1578416710710_create_table_public_parts_order_lines/down.yaml deleted file mode 100644 index c5a967f68..000000000 --- a/hasura/migrations/1578416710710_create_table_public_parts_order_lines/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."parts_order_lines" - type: run_sql diff --git a/hasura/migrations/1578416710710_create_table_public_parts_order_lines/up.yaml b/hasura/migrations/1578416710710_create_table_public_parts_order_lines/up.yaml deleted file mode 100644 index 0b04c75d4..000000000 --- a/hasura/migrations/1578416710710_create_table_public_parts_order_lines/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"parts_order_lines\"(\"id\" uuid NOT NULL DEFAULT - gen_random_uuid(), \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" - timestamptz NOT NULL DEFAULT now(), \"orderid\" uuid NOT NULL, \"job_line_id\" - uuid, \"line_desc\" text NOT NULL, \"oem_partno\" text, \"db_price\" numeric, - \"act_price\" numeric, \"status\" text NOT NULL DEFAULT 'Ordered', \"line_remarks\" - text, PRIMARY KEY (\"id\") , FOREIGN KEY (\"orderid\") REFERENCES \"public\".\"parts_order\"(\"id\") - ON UPDATE cascade ON DELETE cascade, FOREIGN KEY (\"job_line_id\") REFERENCES - \"public\".\"joblines\"(\"id\") ON UPDATE restrict ON DELETE set null);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_parts_order_lines_updated_at\"\nBEFORE - UPDATE ON \"public\".\"parts_order_lines\"\nFOR EACH ROW\nEXECUTE PROCEDURE - \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT ON TRIGGER \"set_public_parts_order_lines_updated_at\" - ON \"public\".\"parts_order_lines\" \nIS 'trigger to set value of column \"updated_at\" - to current timestamp on row update';\n" - type: run_sql -- args: - name: parts_order_lines - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1578416775337_track_all_relationships/down.yaml b/hasura/migrations/1578416775337_track_all_relationships/down.yaml deleted file mode 100644 index 9adaa8446..000000000 --- a/hasura/migrations/1578416775337_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: parts_order_lines - table: - name: joblines - schema: public - type: drop_relationship -- args: - relationship: parts_order_lines - table: - name: parts_order - schema: public - type: drop_relationship -- args: - relationship: jobline - table: - name: parts_order_lines - schema: public - type: drop_relationship -- args: - relationship: parts_order - table: - name: parts_order_lines - schema: public - type: drop_relationship diff --git a/hasura/migrations/1578416775337_track_all_relationships/up.yaml b/hasura/migrations/1578416775337_track_all_relationships/up.yaml deleted file mode 100644 index 47bf443e8..000000000 --- a/hasura/migrations/1578416775337_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: parts_order_lines - table: - name: joblines - schema: public - using: - foreign_key_constraint_on: - column: job_line_id - table: - name: parts_order_lines - schema: public - type: create_array_relationship -- args: - name: parts_order_lines - table: - name: parts_order - schema: public - using: - foreign_key_constraint_on: - column: orderid - table: - name: parts_order_lines - schema: public - type: create_array_relationship -- args: - name: jobline - table: - name: parts_order_lines - schema: public - using: - foreign_key_constraint_on: job_line_id - type: create_object_relationship -- args: - name: parts_order - table: - name: parts_order_lines - schema: public - using: - foreign_key_constraint_on: orderid - type: create_object_relationship diff --git a/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 3077aa952..000000000 --- a/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 516e3fc35..000000000 --- a/hasura/migrations/1578416885067_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - orderid - - job_line_id - - line_desc - - oem_partno - - db_price - - act_price - - status - - line_remarks - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index ff4dc0091..000000000 --- a/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 9b33ac709..000000000 --- a/hasura/migrations/1578416923961_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - act_price - - db_price - - line_desc - - line_remarks - - oem_partno - - status - - created_at - - updated_at - - id - - job_line_id - - orderid - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 80bc2e713..000000000 --- a/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 03b406e75..000000000 --- a/hasura/migrations/1578416929216_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - columns: - - act_price - - db_price - - line_desc - - line_remarks - - oem_partno - - status - - created_at - - updated_at - - id - - job_line_id - - orderid - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index d45bd66b3..000000000 --- a/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index a1cde1393..000000000 --- a/hasura/migrations/1578416933624_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/down.yaml b/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/down.yaml deleted file mode 100644 index 5d1fd5850..000000000 --- a/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_first_name"; - type: run_sql diff --git a/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/up.yaml b/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/up.yaml deleted file mode 100644 index 85fecb1d7..000000000 --- a/hasura/migrations/1578593458608_alter_table_public_jobs_add_column_pit_owner_first_name/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_first_name" text NULL; - type: run_sql diff --git a/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/down.yaml b/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/down.yaml deleted file mode 100644 index 92261da74..000000000 --- a/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_last_name"; - type: run_sql diff --git a/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/up.yaml b/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/up.yaml deleted file mode 100644 index 42100a879..000000000 --- a/hasura/migrations/1578593470242_alter_table_public_jobs_add_column_pit_owner_last_name/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_last_name" text NULL; - type: run_sql diff --git a/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/down.yaml b/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/down.yaml deleted file mode 100644 index 68d452ba3..000000000 --- a/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_phone"; - type: run_sql diff --git a/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/up.yaml b/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/up.yaml deleted file mode 100644 index bbfd7f753..000000000 --- a/hasura/migrations/1578593496723_alter_table_public_jobs_add_column_pit_owner_phone/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_phone" text NULL; - type: run_sql diff --git a/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/down.yaml b/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/down.yaml deleted file mode 100644 index 6344206e2..000000000 --- a/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_email"; - type: run_sql diff --git a/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/up.yaml b/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/up.yaml deleted file mode 100644 index 183b64ec9..000000000 --- a/hasura/migrations/1578593515552_alter_table_public_jobs_add_column_pit_owner_email/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_email" text NULL; - type: run_sql diff --git a/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/down.yaml b/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/down.yaml deleted file mode 100644 index f033f4c0f..000000000 --- a/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_vehicle_plate_no"; - type: run_sql diff --git a/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/up.yaml b/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/up.yaml deleted file mode 100644 index 9a1e56500..000000000 --- a/hasura/migrations/1578593666642_alter_table_public_jobs_add_column_pit_vehicle_plate_no/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_vehicle_plate_no" text NULL; - type: run_sql diff --git a/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 2b0b72063..000000000 --- a/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 297bc3fe8..000000000 --- a/hasura/migrations/1578593710942_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,91 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a79eaa1f1..000000000 --- a/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,84 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 3e20b9803..000000000 --- a/hasura/migrations/1578593719835_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,89 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c664ccb26..000000000 --- a/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,86 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - claim_total - - created_at - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - ownerid - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5c79c00a3..000000000 --- a/hasura/migrations/1578593729177_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,91 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - inproduction - - invoice_date - - claim_total - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578604401770_bulk_jobs_update/down.yaml b/hasura/migrations/1578604401770_bulk_jobs_update/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1578604401770_bulk_jobs_update/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1578604401770_bulk_jobs_update/up.yaml b/hasura/migrations/1578604401770_bulk_jobs_update/up.yaml deleted file mode 100644 index f919c30c0..000000000 --- a/hasura/migrations/1578604401770_bulk_jobs_update/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: true - sql: "alter table jobs\r\nadd column ins_co_id text ,\r\nadd column ins_co_nm - text ,\r\nadd column ins_addr1 text ,\r\nadd column ins_addr2 text ,\r\nadd - column ins_city text ,\r\nadd column ins_st text ,\r\nadd column ins_zip text - ,\r\nadd column ins_ctry text ,\r\nadd column ins_ph1 text ,\r\nadd column ins_ph1x - text ,\r\nadd column ins_ph2 text ,\r\nadd column ins_ph2x text ,\r\nadd column - ins_fax text ,\r\nadd column ins_faxx text ,\r\nadd column ins_ct_ln text ,\r\nadd - column ins_ct_fn text ,\r\nadd column ins_title text ,\r\nadd column ins_ct_ph - text ,\r\nadd column ins_ct_phx text ,\r\nadd column ins_ea text , \r\nadd - column ins_memo text ,\r\nadd column policy_no text ,\r\nadd column ded_amt - numeric ,\r\nadd column ded_status boolean ,\r\nadd column asgn_no text ,\r\nadd - column asgn_date date ,\r\nadd column asgn_type text ,\r\nadd column clm_no - text ,\r\nadd column clm_ofc_id text \r\n" - type: run_sql diff --git a/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 297bc3fe8..000000000 --- a/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,91 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 60be69909..000000000 --- a/hasura/migrations/1578604420364_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,120 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 3e20b9803..000000000 --- a/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,89 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index b5c4d3fdd..000000000 --- a/hasura/migrations/1578604426830_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,118 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5c79c00a3..000000000 --- a/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,91 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - inproduction - - invoice_date - - claim_total - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index ddcb7f9e7..000000000 --- a/hasura/migrations/1578604433860_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,120 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/down.yaml b/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/down.yaml deleted file mode 100644 index 07c90f98b..000000000 --- a/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_in" TYPE timestamp without - time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_in" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/up.yaml b/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/up.yaml deleted file mode 100644 index 6a8bda178..000000000 --- a/hasura/migrations/1578609531268_alter_table_public_jobs_alter_column_scheduled_in/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_in" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_in" IS E'' - type: run_sql diff --git a/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/down.yaml b/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/down.yaml deleted file mode 100644 index 53b816032..000000000 --- a/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_in" TYPE timestamp without - time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_in" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/up.yaml b/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/up.yaml deleted file mode 100644 index e6557dbdf..000000000 --- a/hasura/migrations/1578609541216_alter_table_public_jobs_alter_column_actual_in/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_in" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_in" IS E'' - type: run_sql diff --git a/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/down.yaml b/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/down.yaml deleted file mode 100644 index 98d8a7025..000000000 --- a/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_completion" TYPE timestamp - without time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_completion" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/up.yaml b/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/up.yaml deleted file mode 100644 index 91a041a01..000000000 --- a/hasura/migrations/1578609549147_alter_table_public_jobs_alter_column_scheduled_completion/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_completion" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_completion" IS E'' - type: run_sql diff --git a/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/down.yaml b/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/down.yaml deleted file mode 100644 index 698c3f326..000000000 --- a/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_completion" TYPE timestamp - without time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_completion" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/up.yaml b/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/up.yaml deleted file mode 100644 index 69db0c022..000000000 --- a/hasura/migrations/1578609555707_alter_table_public_jobs_alter_column_actual_completion/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_completion" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_completion" IS E'' - type: run_sql diff --git a/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/down.yaml b/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/down.yaml deleted file mode 100644 index 3178248c9..000000000 --- a/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_delivery" TYPE timestamp - without time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_delivery" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/up.yaml b/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/up.yaml deleted file mode 100644 index 5fae4da37..000000000 --- a/hasura/migrations/1578609570214_alter_table_public_jobs_alter_column_scheduled_delivery/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "scheduled_delivery" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."scheduled_delivery" IS E'' - type: run_sql diff --git a/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/down.yaml b/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/down.yaml deleted file mode 100644 index 220adadd2..000000000 --- a/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_delivery" TYPE timestamp - without time zone; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_delivery" IS E'null' - type: run_sql diff --git a/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/up.yaml b/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/up.yaml deleted file mode 100644 index 01d50a336..000000000 --- a/hasura/migrations/1578609588489_alter_table_public_jobs_alter_column_actual_delivery/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "actual_delivery" TYPE timestamptz; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."actual_delivery" IS E'' - type: run_sql diff --git a/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/down.yaml b/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/down.yaml deleted file mode 100644 index 859af2c22..000000000 --- a/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_estimated"; - type: run_sql diff --git a/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/up.yaml b/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/up.yaml deleted file mode 100644 index a4b7a69cb..000000000 --- a/hasura/migrations/1578610005386_alter_table_public_jobs_add_column_date_estimated/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_estimated" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/down.yaml b/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/down.yaml deleted file mode 100644 index 0a6aecf1f..000000000 --- a/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_open"; - type: run_sql diff --git a/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/up.yaml b/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/up.yaml deleted file mode 100644 index ec60a1b3b..000000000 --- a/hasura/migrations/1578610020957_alter_table_public_jobs_add_column_date_open/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_open" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/down.yaml b/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/down.yaml deleted file mode 100644 index 199f7cac1..000000000 --- a/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_scheduled"; - type: run_sql diff --git a/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/up.yaml b/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/up.yaml deleted file mode 100644 index c88334c1a..000000000 --- a/hasura/migrations/1578610060891_alter_table_public_jobs_add_column_date_scheduled/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_scheduled" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/down.yaml b/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/down.yaml deleted file mode 100644 index 81c15b018..000000000 --- a/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_invoiced"; - type: run_sql diff --git a/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/up.yaml b/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/up.yaml deleted file mode 100644 index 1fdc6ae59..000000000 --- a/hasura/migrations/1578610077013_alter_table_public_jobs_add_column_date_invoiced/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_invoiced" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/down.yaml b/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/down.yaml deleted file mode 100644 index 494ee11c4..000000000 --- a/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_closed"; - type: run_sql diff --git a/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/up.yaml b/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/up.yaml deleted file mode 100644 index bce2a020e..000000000 --- a/hasura/migrations/1578610087087_alter_table_public_jobs_add_column_date_closed/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_closed" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/down.yaml b/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/down.yaml deleted file mode 100644 index e32bede37..000000000 --- a/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_exported"; - type: run_sql diff --git a/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/up.yaml b/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/up.yaml deleted file mode 100644 index 28b8ace45..000000000 --- a/hasura/migrations/1578610098441_alter_table_public_jobs_add_column_date_exported/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_exported" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/down.yaml b/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/down.yaml deleted file mode 100644 index 2eaedb102..000000000 --- a/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "clm_total"; - type: run_sql diff --git a/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/up.yaml b/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/up.yaml deleted file mode 100644 index cdfffd96b..000000000 --- a/hasura/migrations/1578954223847_alter_table_public_jobs_add_column_clm_total/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "clm_total" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/down.yaml b/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/down.yaml deleted file mode 100644 index b32ee730c..000000000 --- a/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "owner_owing"; - type: run_sql diff --git a/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/up.yaml b/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/up.yaml deleted file mode 100644 index fdda24801..000000000 --- a/hasura/migrations/1578954425812_alter_table_public_jobs_add_column_owner_owing/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "owner_owing" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 60be69909..000000000 --- a/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,120 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 716de8355..000000000 --- a/hasura/migrations/1578954579180_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,128 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index b5c4d3fdd..000000000 --- a/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,118 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index ae63fa93d..000000000 --- a/hasura/migrations/1578954585318_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,126 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index ddcb7f9e7..000000000 --- a/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,120 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - scheduled_completion - - scheduled_delivery - - scheduled_in - - created_at - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 578c534e8..000000000 --- a/hasura/migrations/1578954590633_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,128 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578961956675_create_table_public_notes/down.yaml b/hasura/migrations/1578961956675_create_table_public_notes/down.yaml deleted file mode 100644 index 11e57b2b4..000000000 --- a/hasura/migrations/1578961956675_create_table_public_notes/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."notes" - type: run_sql diff --git a/hasura/migrations/1578961956675_create_table_public_notes/up.yaml b/hasura/migrations/1578961956675_create_table_public_notes/up.yaml deleted file mode 100644 index fa7addea5..000000000 --- a/hasura/migrations/1578961956675_create_table_public_notes/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"notes\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"text\" text, \"created_by\" - text NOT NULL, \"critical\" boolean NOT NULL DEFAULT false, \"private\" boolean - NOT NULL DEFAULT false, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES - \"public\".\"jobs\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE OR - REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_notes_updated_at\"\nBEFORE - UPDATE ON \"public\".\"notes\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_notes_updated_at\" ON \"public\".\"notes\" \nIS 'trigger - to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: notes - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1578961968258_track_all_relationships/down.yaml b/hasura/migrations/1578961968258_track_all_relationships/down.yaml deleted file mode 100644 index af2767edb..000000000 --- a/hasura/migrations/1578961968258_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: notes - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: notes - schema: public - type: drop_relationship diff --git a/hasura/migrations/1578961968258_track_all_relationships/up.yaml b/hasura/migrations/1578961968258_track_all_relationships/up.yaml deleted file mode 100644 index dd3840b30..000000000 --- a/hasura/migrations/1578961968258_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: notes - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: notes - schema: public - type: create_array_relationship -- args: - name: job - table: - name: notes - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship diff --git a/hasura/migrations/1578962007220_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1578962007220_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index 835a98c86..000000000 --- a/hasura/migrations/1578962007220_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1578962007220_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1578962007220_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index e4124cf23..000000000 --- a/hasura/migrations/1578962007220_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - text - - created_by - - critical - - private - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: notes - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1578962015322_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1578962015322_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index 5c9678555..000000000 --- a/hasura/migrations/1578962015322_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1578962015322_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1578962015322_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index 9d5a0ed17..000000000 --- a/hasura/migrations/1578962015322_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - critical - - private - - created_by - - text - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: notes - schema: public - type: create_select_permission diff --git a/hasura/migrations/1578962026938_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1578962026938_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index 45098e246..000000000 --- a/hasura/migrations/1578962026938_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1578962026938_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1578962026938_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index 48d0645bd..000000000 --- a/hasura/migrations/1578962026938_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - columns: - - critical - - private - - created_by - - text - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: notes - schema: public - type: create_update_permission diff --git a/hasura/migrations/1578962038955_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1578962038955_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index e8fcd2d32..000000000 --- a/hasura/migrations/1578962038955_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1578962038955_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1578962038955_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index 1120b3058..000000000 --- a/hasura/migrations/1578962038955_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: notes - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1578962633097_set_fk_public_notes_created_by/down.yaml b/hasura/migrations/1578962633097_set_fk_public_notes_created_by/down.yaml deleted file mode 100644 index f7806cfa9..000000000 --- a/hasura/migrations/1578962633097_set_fk_public_notes_created_by/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"notes\" drop constraint \"notes_created_by_fkey\"\n - \ " - type: run_sql diff --git a/hasura/migrations/1578962633097_set_fk_public_notes_created_by/up.yaml b/hasura/migrations/1578962633097_set_fk_public_notes_created_by/up.yaml deleted file mode 100644 index a2fcd0193..000000000 --- a/hasura/migrations/1578962633097_set_fk_public_notes_created_by/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"notes\"\n add constraint - \"notes_created_by_fkey\"\n foreign key (\"created_by\")\n references - \"public\".\"users\"\n (\"email\") on update cascade on delete cascade;\n - \ " - type: run_sql diff --git a/hasura/migrations/1579026961016_create_table_public_counters/down.yaml b/hasura/migrations/1579026961016_create_table_public_counters/down.yaml deleted file mode 100644 index a1dd6677c..000000000 --- a/hasura/migrations/1579026961016_create_table_public_counters/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."counters" - type: run_sql diff --git a/hasura/migrations/1579026961016_create_table_public_counters/up.yaml b/hasura/migrations/1579026961016_create_table_public_counters/up.yaml deleted file mode 100644 index b5290d84c..000000000 --- a/hasura/migrations/1579026961016_create_table_public_counters/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"counters\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"updated_at\" timestamptz NOT NULL DEFAULT now(), \"shopid\" uuid NOT NULL, - \"countertype\" text NOT NULL, \"prefix\" text, \"count\" integer NOT NULL DEFAULT - 1, PRIMARY KEY (\"id\") , FOREIGN KEY (\"shopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") - ON UPDATE cascade ON DELETE cascade);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_counters_updated_at\"\nBEFORE - UPDATE ON \"public\".\"counters\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_counters_updated_at\" ON \"public\".\"counters\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: counters - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1579026971671_track_all_relationships/down.yaml b/hasura/migrations/1579026971671_track_all_relationships/down.yaml deleted file mode 100644 index 2dd45125d..000000000 --- a/hasura/migrations/1579026971671_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: counters - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: counters - schema: public - type: drop_relationship -- args: - relationship: user - table: - name: notes - schema: public - type: drop_relationship -- args: - relationship: notes - table: - name: users - schema: public - type: drop_relationship diff --git a/hasura/migrations/1579026971671_track_all_relationships/up.yaml b/hasura/migrations/1579026971671_track_all_relationships/up.yaml deleted file mode 100644 index 700be44d3..000000000 --- a/hasura/migrations/1579026971671_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: counters - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: counters - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: counters - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship -- args: - name: user - table: - name: notes - schema: public - using: - foreign_key_constraint_on: created_by - type: create_object_relationship -- args: - name: notes - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: created_by - table: - name: notes - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1579027296343_create_ronum_function/down.yaml b/hasura/migrations/1579027296343_create_ronum_function/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579027296343_create_ronum_function/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579027296343_create_ronum_function/up.yaml b/hasura/migrations/1579027296343_create_ronum_function/up.yaml deleted file mode 100644 index c48f71c55..000000000 --- a/hasura/migrations/1579027296343_create_ronum_function/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - sql: "CREATE OR REPLACE FUNCTION assign_ro_number()\r\n RETURNS trigger\r\n LANGUAGE - plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.converted = true and - new.ro_number is null THEN\r\n UPDATE counters\r\n\tSET count = count - + 1 where shopid=new.shopid\r\n\tRETURNING CONCAT(prefix,count) into new.ro_number;\r\n\r\n - \ END IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;\r\n" - type: run_sql diff --git a/hasura/migrations/1579027345149_assign_ro_trigger/down.yaml b/hasura/migrations/1579027345149_assign_ro_trigger/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579027345149_assign_ro_trigger/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579027345149_assign_ro_trigger/up.yaml b/hasura/migrations/1579027345149_assign_ro_trigger/up.yaml deleted file mode 100644 index 704f4a655..000000000 --- a/hasura/migrations/1579027345149_assign_ro_trigger/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - sql: "create trigger jobs_assign_RO before\r\nupdate\r\n on\r\n jobs for - each row execute function assign_ro_number();\r\n" - type: run_sql diff --git a/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/down.yaml b/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/down.yaml deleted file mode 100644 index a22482f86..000000000 --- a/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "converted"; - type: run_sql diff --git a/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/up.yaml b/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/up.yaml deleted file mode 100644 index e74c74992..000000000 --- a/hasura/migrations/1579028145978_alter_table_public_jobs_add_column_converted/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "converted" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 716de8355..000000000 --- a/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,128 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 81bdff74e..000000000 --- a/hasura/migrations/1579028156646_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,129 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index ae63fa93d..000000000 --- a/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,126 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f98c35f13..000000000 --- a/hasura/migrations/1579028161738_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,127 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 578c534e8..000000000 --- a/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,128 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index ee5d48718..000000000 --- a/hasura/migrations/1579028166613_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,129 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579030370307_fix_assign_ro_function/down.yaml b/hasura/migrations/1579030370307_fix_assign_ro_function/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579030370307_fix_assign_ro_function/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579030370307_fix_assign_ro_function/up.yaml b/hasura/migrations/1579030370307_fix_assign_ro_function/up.yaml deleted file mode 100644 index 21837bd0e..000000000 --- a/hasura/migrations/1579030370307_fix_assign_ro_function/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - sql: "CREATE OR REPLACE FUNCTION public.assign_ro_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.converted - = true and new.ro_number is null THEN\r\n UPDATE counters\r\n\tSET - count = count + 1 where shopid=new.shopid AND countertype=\"ronum\"\r\n\tRETURNING - CONCAT(prefix,count) into new.ro_number;\r\n\r\n END IF;\r\n RETURN - NEW;\r\n END;\r\n $function$\r\n;\r\n" - type: run_sql diff --git a/hasura/migrations/1579031584079_fix_ro_assign_function2/down.yaml b/hasura/migrations/1579031584079_fix_ro_assign_function2/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579031584079_fix_ro_assign_function2/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579031584079_fix_ro_assign_function2/up.yaml b/hasura/migrations/1579031584079_fix_ro_assign_function2/up.yaml deleted file mode 100644 index 7d2cc120c..000000000 --- a/hasura/migrations/1579031584079_fix_ro_assign_function2/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - sql: "CREATE OR REPLACE FUNCTION public.assign_ro_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.converted - = true and (new.ro_number is null or new.ro_number = '') THEN\r\n UPDATE - counters\r\n\tSET count = count + 1 where shopid=new.shopid AND countertype - = 'ronum'\r\n\tRETURNING count into new.ro_number;\r\n\r\n END IF;\r\n - \ RETURN NEW;\r\n END;\r\n $function$\r\n;\r\n" - type: run_sql diff --git a/hasura/migrations/1579031647010_fix_ro_assign_function3/down.yaml b/hasura/migrations/1579031647010_fix_ro_assign_function3/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579031647010_fix_ro_assign_function3/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579031647010_fix_ro_assign_function3/up.yaml b/hasura/migrations/1579031647010_fix_ro_assign_function3/up.yaml deleted file mode 100644 index c6e32d164..000000000 --- a/hasura/migrations/1579031647010_fix_ro_assign_function3/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - sql: "CREATE OR REPLACE FUNCTION public.assign_ro_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.converted - = true and (new.ro_number is null or new.ro_number = '') THEN\r\n UPDATE - counters\r\n\tSET count = count + 1 where shopid=new.shopid AND countertype - = 'ronum'\r\n\tRETURNING concat(prefix,count) into new.ro_number;\r\n\r\n END - IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;\r\n" - type: run_sql diff --git a/hasura/migrations/1579106882840_create_table_public_documents/down.yaml b/hasura/migrations/1579106882840_create_table_public_documents/down.yaml deleted file mode 100644 index db79a3b27..000000000 --- a/hasura/migrations/1579106882840_create_table_public_documents/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."documents" - type: run_sql diff --git a/hasura/migrations/1579106882840_create_table_public_documents/up.yaml b/hasura/migrations/1579106882840_create_table_public_documents/up.yaml deleted file mode 100644 index e0647ebe1..000000000 --- a/hasura/migrations/1579106882840_create_table_public_documents/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"documents\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"url\" text NOT NULL, \"thumb_url\" text NOT NULL, - \"uploaded_by\" text NOT NULL, \"jobid\" uuid NOT NULL, \"name\" text, PRIMARY - KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE cascade ON DELETE cascade);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_documents_updated_at\"\nBEFORE - UPDATE ON \"public\".\"documents\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_documents_updated_at\" ON \"public\".\"documents\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: documents - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1579106900223_track_all_relationships/down.yaml b/hasura/migrations/1579106900223_track_all_relationships/down.yaml deleted file mode 100644 index 41c2dbf13..000000000 --- a/hasura/migrations/1579106900223_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: job - table: - name: documents - schema: public - type: drop_relationship -- args: - relationship: documents - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1579106900223_track_all_relationships/up.yaml b/hasura/migrations/1579106900223_track_all_relationships/up.yaml deleted file mode 100644 index 3b52d494f..000000000 --- a/hasura/migrations/1579106900223_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: job - table: - name: documents - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: documents - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: documents - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1579106943432_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579106943432_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index dd7923c4f..000000000 --- a/hasura/migrations/1579106943432_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1579106943432_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579106943432_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 21534a4d6..000000000 --- a/hasura/migrations/1579106943432_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579106952393_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579106952393_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 51466ca34..000000000 --- a/hasura/migrations/1579106952393_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1579106952393_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579106952393_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 2f2117f0a..000000000 --- a/hasura/migrations/1579106952393_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579106959311_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579106959311_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index d9430d461..000000000 --- a/hasura/migrations/1579106959311_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1579106959311_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579106959311_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 1aa5bbecc..000000000 --- a/hasura/migrations/1579106959311_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579106966146_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579106966146_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 35842c257..000000000 --- a/hasura/migrations/1579106966146_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1579106966146_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579106966146_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 0cf25dca3..000000000 --- a/hasura/migrations/1579106966146_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml deleted file mode 100644 index 18b705281..000000000 --- a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ciecaid"; - type: run_sql diff --git a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml deleted file mode 100644 index c004a1fe0..000000000 --- a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ciecaid" text NULL; - type: run_sql diff --git a/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/down.yaml b/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/down.yaml deleted file mode 100644 index b89c21807..000000000 --- a/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "loss_date"; - type: run_sql diff --git a/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/up.yaml b/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/up.yaml deleted file mode 100644 index c9f3b6c09..000000000 --- a/hasura/migrations/1579303346477_alter_table_public_jobs_add_column_loss_date/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "loss_date" date NULL; - type: run_sql diff --git a/hasura/migrations/1579303896469_ad1_file_additions/down.yaml b/hasura/migrations/1579303896469_ad1_file_additions/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579303896469_ad1_file_additions/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579303896469_ad1_file_additions/up.yaml b/hasura/migrations/1579303896469_ad1_file_additions/up.yaml deleted file mode 100644 index 4d0b300fd..000000000 --- a/hasura/migrations/1579303896469_ad1_file_additions/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: true - sql: "alter table jobs\r\nadd column clm_ofc_nm text,\r\nadd column clm_addr1 - \ text,\r\nadd column clm_addr2 text,\r\nadd column clm_city text,\r\nadd - column clm_st text,\r\nadd column clm_zip text,\r\nadd column clm_ctry - \ text,\r\nadd column clm_ph1 text,\r\nadd column clm_ph1x text,\r\nadd - column clm_ph2 text,\r\nadd column clm_ph2x text,\r\nadd column clm_fax - \ text,\r\nadd column clm_faxx text,\r\nadd column clm_ct_ln text,\r\nadd - column clm_ct_fn text,\r\nadd column clm_title text,\r\nadd column clm_ct_ph - \ text,\r\nadd column clm_ct_phx text,\r\nadd column clm_ea text,\r\nadd - column payee_nms text,\r\nadd column pay_type text,\r\nadd column pay_date - \ \tdate,\r\nadd column pay_chknm text,\r\nadd column pay_amt numeric,\r\nadd - column agt_co_id text,\r\nadd column agt_co_nm text,\r\nadd column agt_addr1 - \ text,\r\nadd column agt_addr2 text,\r\nadd column agt_city text,\r\nadd - column agt_st text,\r\nadd column agt_zip text,\r\nadd column agt_ctry - \ text,\r\nadd column agt_ph1 text,\r\nadd column agt_ph1x text,\r\nadd - column agt_ph2 text,\r\nadd column agt_ph2x text,\r\nadd column agt_fax - \ text,\r\nadd column agt_faxx text,\r\nadd column agt_ct_ln text,\r\nadd - column agt_ct_fn text,\r\nadd column agt_ct_ph text,\r\nadd column agt_ct_phx - text,\r\nadd column agt_ea text,\r\nadd column agt_lic_no text" - type: run_sql diff --git a/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/down.yaml b/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/down.yaml deleted file mode 100644 index 804e3a435..000000000 --- a/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "loss_type"; - type: run_sql diff --git a/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/up.yaml b/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/up.yaml deleted file mode 100644 index dc4fbe0ee..000000000 --- a/hasura/migrations/1579304455426_alter_table_public_jobs_add_column_loss_type/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "loss_type" text NULL; - type: run_sql diff --git a/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/down.yaml b/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/down.yaml deleted file mode 100644 index 12e78c877..000000000 --- a/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "loss_desc"; - type: run_sql diff --git a/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/up.yaml b/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/up.yaml deleted file mode 100644 index 0769ec158..000000000 --- a/hasura/migrations/1579304467783_alter_table_public_jobs_add_column_loss_desc/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "loss_desc" text NULL; - type: run_sql diff --git a/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/down.yaml b/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/down.yaml deleted file mode 100644 index 141efafd6..000000000 --- a/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "theft_ind"; - type: run_sql diff --git a/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/up.yaml b/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/up.yaml deleted file mode 100644 index 98fbac65c..000000000 --- a/hasura/migrations/1579304483039_alter_table_public_jobs_add_column_theft_ind/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "theft_ind" boolean NULL; - type: run_sql diff --git a/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/down.yaml b/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/down.yaml deleted file mode 100644 index 443e66435..000000000 --- a/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "cat_no"; - type: run_sql diff --git a/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/up.yaml b/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/up.yaml deleted file mode 100644 index aea8924e3..000000000 --- a/hasura/migrations/1579304497098_alter_table_public_jobs_add_column_cat_no/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "cat_no" text NULL; - type: run_sql diff --git a/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/down.yaml b/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/down.yaml deleted file mode 100644 index efb2cb28a..000000000 --- a/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tlos_ind"; - type: run_sql diff --git a/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/up.yaml b/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/up.yaml deleted file mode 100644 index c95193e9b..000000000 --- a/hasura/migrations/1579304533607_alter_table_public_jobs_add_column_tlos_ind/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tlos_ind" boolean NULL; - type: run_sql diff --git a/hasura/migrations/1579304768385_additional_ad1_fields/down.yaml b/hasura/migrations/1579304768385_additional_ad1_fields/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579304768385_additional_ad1_fields/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579304768385_additional_ad1_fields/up.yaml b/hasura/migrations/1579304768385_additional_ad1_fields/up.yaml deleted file mode 100644 index f8cffa79a..000000000 --- a/hasura/migrations/1579304768385_additional_ad1_fields/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: true - sql: "alter table jobs\r\nadd column cust_pr text,\r\nadd column insd_ln - \ text,\r\nadd column insd_fn text,\r\nadd column insd_title - \ text,\r\nadd column insd_co_nm text,\r\nadd column insd_addr1 - \ text,\r\nadd column insd_addr2 text,\r\nadd column insd_city - \ text,\r\nadd column insd_st text,\r\nadd column insd_zip - \ text,\r\nadd column insd_ctry text,\r\nadd column insd_ph1 - \ text,\r\nadd column insd_ph1x text,\r\nadd column insd_ph2 - \ text,\r\nadd column insd_ph2x text,\r\nadd column insd_fax - \ text,\r\nadd column insd_faxx text,\r\nadd column insd_ea - \ text,\r\nadd column ownr_ln text,\r\nadd column ownr_fn - \ text,\r\nadd column ownr_title text,\r\nadd column ownr_co_nm - \ text,\r\nadd column ownr_addr1 text,\r\nadd column ownr_addr2 - \ text,\r\nadd column ownr_city text,\r\nadd column ownr_st - \ text,\r\nadd column ownr_zip text,\r\nadd column ownr_ctry - \ text,\r\nadd column ownr_ph1 text,\r\nadd column ownr_ph1x - \ text,\r\nadd column ownr_ph2 text,\r\nadd column ownr_ph2x - \ text,\r\nadd column ownr_fax text,\r\nadd column ownr_faxx - \ text,\r\nadd column ownr_ea text" - type: run_sql diff --git a/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 81bdff74e..000000000 --- a/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,129 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5079ab60d..000000000 --- a/hasura/migrations/1579305427485_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f98c35f13..000000000 --- a/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,127 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 681a9f7bc..000000000 --- a/hasura/migrations/1579305435976_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index ee5d48718..000000000 --- a/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,129 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - asgn_no - - asgn_type - - clm_no - - clm_ofc_id - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5210f5c10..000000000 --- a/hasura/migrations/1579305444942_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/down.yaml b/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/down.yaml deleted file mode 100644 index cbfca3bdb..000000000 --- a/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "theft_ind" TYPE boolean; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."theft_ind" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/up.yaml b/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/up.yaml deleted file mode 100644 index 9c36b7c86..000000000 --- a/hasura/migrations/1579307089408_alter_table_public_jobs_alter_column_theft_ind/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "theft_ind" TYPE text; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."theft_ind" IS E'' - type: run_sql diff --git a/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/down.yaml b/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/down.yaml deleted file mode 100644 index 76af2e02a..000000000 --- a/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "tlos_ind" TYPE boolean; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tlos_ind" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/up.yaml b/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/up.yaml deleted file mode 100644 index 54de58527..000000000 --- a/hasura/migrations/1579307167983_alter_table_public_jobs_alter_column_tlos_ind/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "tlos_ind" TYPE text; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tlos_ind" IS E'' - type: run_sql diff --git a/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/down.yaml b/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/down.yaml deleted file mode 100644 index f8b17dcda..000000000 --- a/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "area_of_damage"; - type: run_sql diff --git a/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/up.yaml b/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/up.yaml deleted file mode 100644 index a984d592c..000000000 --- a/hasura/migrations/1579316190537_alter_table_public_jobs_add_column_area_of_damage/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "area_of_damage" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 8dbb075ef..000000000 --- a/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: [] - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index b021494c7..000000000 --- a/hasura/migrations/1579316542100_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 439576cd8..000000000 --- a/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 674231b4e..000000000 --- a/hasura/migrations/1579316548116_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 434996a4f..000000000 --- a/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 3d9a1f59e..000000000 --- a/hasura/migrations/1579316556073_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 3d9a1f59e..000000000 --- a/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - plate_no - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 6e094e12c..000000000 --- a/hasura/migrations/1579316561811_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/down.yaml b/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/down.yaml deleted file mode 100644 index 0086c1ea2..000000000 --- a/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ADD COLUMN "plate_no" text - type: run_sql -- args: - sql: ALTER TABLE "public"."vehicles" ALTER COLUMN "plate_no" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/up.yaml b/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/up.yaml deleted file mode 100644 index 280cb35d5..000000000 --- a/hasura/migrations/1579316570575_alter_table_public_vehicles_drop_column_plate_no/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" DROP COLUMN "plate_no" CASCADE - type: run_sql diff --git a/hasura/migrations/1579316700913_new_vehicle_fields/down.yaml b/hasura/migrations/1579316700913_new_vehicle_fields/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579316700913_new_vehicle_fields/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579316700913_new_vehicle_fields/up.yaml b/hasura/migrations/1579316700913_new_vehicle_fields/up.yaml deleted file mode 100644 index f73a7ce25..000000000 --- a/hasura/migrations/1579316700913_new_vehicle_fields/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - sql: "alter table vehicles\r\n add column DB_V_CODE text,\r\n add - column PLATE_NO text,\r\n add column PLATE_ST text,\r\n - \ add column V_COND text,\r\n add column V_PROD_DT text,\r\n - \ add column V_TYPE text,\r\n add column V_TRIMCODE text,\r\n - \ add column TRIM_COLOR text,\r\n add column V_MLDGCODE text,\r\n - \ add column V_OPTIONS text,\r\n add column V_TONE text,\r\n - \ add column V_STAGE text" - type: run_sql diff --git a/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/down.yaml b/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/down.yaml deleted file mode 100644 index 7272ccaf3..000000000 --- a/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" DROP COLUMN "v_makecode"; - type: run_sql diff --git a/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/up.yaml b/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/up.yaml deleted file mode 100644 index e38f992a9..000000000 --- a/hasura/migrations/1579317041179_alter_table_public_vehicles_add_column_v_makecode/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ADD COLUMN "v_makecode" text NULL; - type: run_sql diff --git a/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index b021494c7..000000000 --- a/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index dba16313e..000000000 --- a/hasura/migrations/1579317260140_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - v_vin - - v_make_desc - - v_model_desc - - v_model_yr - - v_color - - v_paint_codes - - v_bstyle - - v_engine - - shopid - - db_v_code - - plate_no - - plate_st - - v_cond - - v_prod_dt - - v_type - - v_trimcode - - trim_color - - v_mldgcode - - v_options - - v_tone - - v_stage - - v_makecode - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 674231b4e..000000000 --- a/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index bec9ebae2..000000000 --- a/hasura/migrations/1579317266113_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index 6e094e12c..000000000 --- a/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - shopid - - updated_at - - v_bstyle - - v_color - - v_engine - - v_make_desc - - v_model_desc - - v_model_yr - - v_paint_codes - - v_vin - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 556692f5d..000000000 --- a/hasura/migrations/1579317271049_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_update_permission -- args: - permission: - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vehicles - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5079ab60d..000000000 --- a/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6d6b43661..000000000 --- a/hasura/migrations/1579317282874_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,216 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 681a9f7bc..000000000 --- a/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 006d38513..000000000 --- a/hasura/migrations/1579317288521_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5210f5c10..000000000 --- a/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 7404e528a..000000000 --- a/hasura/migrations/1579317294400_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,216 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 1b6c6d9db..000000000 --- a/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 80ca70d5d..000000000 --- a/hasura/migrations/1579547221983_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index b5b542a8b..000000000 --- a/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 0c9193996..000000000 --- a/hasura/migrations/1579547230597_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/down.yaml b/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/down.yaml deleted file mode 100644 index fc87d6d36..000000000 --- a/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "ded_status" TYPE boolean; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."ded_status" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/up.yaml b/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/up.yaml deleted file mode 100644 index a07b81c94..000000000 --- a/hasura/migrations/1579565033587_alter_table_public_jobs_alter_column_ded_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "ded_status" TYPE text; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."ded_status" IS E'' - type: run_sql diff --git a/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/down.yaml b/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/down.yaml deleted file mode 100644 index a18c9095b..000000000 --- a/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ALTER COLUMN "v_vin" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vehicles"."v_vin" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/up.yaml b/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/up.yaml deleted file mode 100644 index dc4618c68..000000000 --- a/hasura/migrations/1579565906890_alter_table_public_vehicles_alter_column_v_vin/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ALTER COLUMN "v_vin" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vehicles"."v_vin" IS E'' - type: run_sql diff --git a/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/down.yaml b/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/down.yaml deleted file mode 100644 index e65c090c4..000000000 --- a/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ALTER COLUMN "v_vin" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vehicles"."v_vin" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/up.yaml b/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/up.yaml deleted file mode 100644 index fbfd8f4ad..000000000 --- a/hasura/migrations/1579565961308_alter_table_public_vehicles_alter_column_v_vin/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vehicles" ALTER COLUMN "v_vin" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vehicles"."v_vin" IS E'' - type: run_sql diff --git a/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/down.yaml b/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/down.yaml deleted file mode 100644 index 18762c334..000000000 --- a/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "loss_cat"; - type: run_sql diff --git a/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/up.yaml b/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/up.yaml deleted file mode 100644 index 2cbbce7a3..000000000 --- a/hasura/migrations/1579729421561_alter_table_public_jobs_add_column_loss_cat/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "loss_cat" text NULL; - type: run_sql diff --git a/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6d6b43661..000000000 --- a/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,216 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2a20bc732..000000000 --- a/hasura/migrations/1579729438238_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,217 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - est_number - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_owner_email - - pit_vehicle_plate_no - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6d6b43661..000000000 --- a/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,216 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index cdb202414..000000000 --- a/hasura/migrations/1579729459311_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 006d38513..000000000 --- a/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 931e8b9ab..000000000 --- a/hasura/migrations/1579729474321_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,210 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 7404e528a..000000000 --- a/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,216 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - ded_status - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - pit_owner_email - - pit_owner_first_name - - pit_owner_last_name - - pit_owner_phone - - pit_vehicle_plate_no - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 3945c7115..000000000 --- a/hasura/migrations/1579729492341_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/down.yaml b/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/down.yaml deleted file mode 100644 index 9efb97dbc..000000000 --- a/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_first_name" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "pit_owner_first_name" DROP NOT - NULL - type: run_sql diff --git a/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/up.yaml b/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/up.yaml deleted file mode 100644 index d60362aa1..000000000 --- a/hasura/migrations/1579729507972_alter_table_public_jobs_drop_column_pit_owner_first_name/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_first_name" CASCADE - type: run_sql diff --git a/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/down.yaml b/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/down.yaml deleted file mode 100644 index 2cb66804f..000000000 --- a/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_last_name" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "pit_owner_last_name" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/up.yaml b/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/up.yaml deleted file mode 100644 index 1a8ba3824..000000000 --- a/hasura/migrations/1579729524654_alter_table_public_jobs_drop_column_pit_owner_last_name/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_last_name" CASCADE - type: run_sql diff --git a/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/down.yaml b/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/down.yaml deleted file mode 100644 index 33ba03f72..000000000 --- a/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_phone" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "pit_owner_phone" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/up.yaml b/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/up.yaml deleted file mode 100644 index 9da6e9a71..000000000 --- a/hasura/migrations/1579729535626_alter_table_public_jobs_drop_column_pit_owner_phone/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_phone" CASCADE - type: run_sql diff --git a/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/down.yaml b/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/down.yaml deleted file mode 100644 index c5463c433..000000000 --- a/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_owner_email" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "pit_owner_email" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/up.yaml b/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/up.yaml deleted file mode 100644 index 47ee6400f..000000000 --- a/hasura/migrations/1579729546834_alter_table_public_jobs_drop_column_pit_owner_email/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_owner_email" CASCADE - type: run_sql diff --git a/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/down.yaml b/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/down.yaml deleted file mode 100644 index d3258dbf5..000000000 --- a/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "pit_vehicle_plate_no" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "pit_vehicle_plate_no" DROP NOT - NULL - type: run_sql diff --git a/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/up.yaml b/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/up.yaml deleted file mode 100644 index dfb84371a..000000000 --- a/hasura/migrations/1579729565695_alter_table_public_jobs_drop_column_pit_vehicle_plate_no/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "pit_vehicle_plate_no" CASCADE - type: run_sql diff --git a/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/down.yaml b/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/down.yaml deleted file mode 100644 index c92dea5db..000000000 --- a/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "est_number" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."est_number" IS E'null' - type: run_sql diff --git a/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/up.yaml b/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/up.yaml deleted file mode 100644 index 3df046224..000000000 --- a/hasura/migrations/1579730319740_alter_table_public_jobs_alter_column_est_number/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "est_number" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."est_number" IS E'' - type: run_sql diff --git a/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/down.yaml b/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/down.yaml deleted file mode 100644 index 796bf37da..000000000 --- a/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."documents" DROP COLUMN "key"; - type: run_sql diff --git a/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/up.yaml b/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/up.yaml deleted file mode 100644 index 7684d4abc..000000000 --- a/hasura/migrations/1579808199913_alter_table_public_documents_add_column_key/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."documents" ADD COLUMN "key" text NOT NULL DEFAULT '0'; - type: run_sql diff --git a/hasura/migrations/1579808226020_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579808226020_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 727382dec..000000000 --- a/hasura/migrations/1579808226020_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579808226020_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579808226020_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 2c0ca6648..000000000 --- a/hasura/migrations/1579808226020_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579808232227_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579808232227_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 18e6b72a5..000000000 --- a/hasura/migrations/1579808232227_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579808232227_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579808232227_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 3d103eca5..000000000 --- a/hasura/migrations/1579808232227_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579808237403_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1579808237403_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 085d3dac8..000000000 --- a/hasura/migrations/1579808237403_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: - - name - - thumb_url - - uploaded_by - - url - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579808237403_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1579808237403_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 515730b23..000000000 --- a/hasura/migrations/1579808237403_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579818641451_enable_pg_trm/down.yaml b/hasura/migrations/1579818641451_enable_pg_trm/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579818641451_enable_pg_trm/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579818641451_enable_pg_trm/up.yaml b/hasura/migrations/1579818641451_enable_pg_trm/up.yaml deleted file mode 100644 index 501ce8467..000000000 --- a/hasura/migrations/1579818641451_enable_pg_trm/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - cascade: true - sql: "CREATE EXTENSION pg_trgm;\r\n" - type: run_sql diff --git a/hasura/migrations/1579819352860_create_gin_index_jobs/down.yaml b/hasura/migrations/1579819352860_create_gin_index_jobs/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579819352860_create_gin_index_jobs/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579819352860_create_gin_index_jobs/up.yaml b/hasura/migrations/1579819352860_create_gin_index_jobs/up.yaml deleted file mode 100644 index 17188248a..000000000 --- a/hasura/migrations/1579819352860_create_gin_index_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - sql: "CREATE INDEX jobs_gin_idx ON jobs\r\nUSING GIN ((est_number || ' ' || ro_number - \ || ' ' || clm_no || ' ' || ownr_ln || ' ' || ownr_fn || ' ' || ownr_ph1 - \r\n|| ' ' || ownr_ea \r\n|| ' ' || insd_ln \r\n|| ' ' || insd_fn \r\n|| ' ' - || insd_ea \r\n|| ' ' || insd_ph1 ) gin_trgm_ops);" - type: run_sql diff --git a/hasura/migrations/1579819439525_search_jobs_function/down.yaml b/hasura/migrations/1579819439525_search_jobs_function/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579819439525_search_jobs_function/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579819439525_search_jobs_function/up.yaml b/hasura/migrations/1579819439525_search_jobs_function/up.yaml deleted file mode 100644 index 9639ba95c..000000000 --- a/hasura/migrations/1579819439525_search_jobs_function/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - cascade: true - sql: "CREATE FUNCTION search_jobs(search text)\r\nRETURNS SETOF jobs AS $$\r\n - \ SELECT *\r\n FROM jobs\r\n WHERE\r\n search <% (est_number || - ' ' || ro_number || ' ' || clm_no || ' ' || ownr_ln || ' ' || ownr_fn || - ' ' || ownr_ph1 \r\n|| ' ' || ownr_ea \r\n|| ' ' || insd_ln \r\n|| ' ' || insd_fn - \r\n|| ' ' || insd_ea \r\n|| ' ' || insd_ph1 )\r\n ORDER BY\r\n similarity(search, - (est_number || ' ' || ro_number || ' ' || clm_no || ' ' || ownr_ln || ' - ' || ownr_fn || ' ' || ownr_ph1 \r\n|| ' ' || ownr_ea \r\n|| ' ' || insd_ln - \r\n|| ' ' || insd_fn \r\n|| ' ' || insd_ea \r\n|| ' ' || insd_ph1 )) DESC\r\n - \ LIMIT 50;\r\n$$ LANGUAGE sql STABLE;" - type: run_sql -- args: - name: search_jobs - schema: public - type: track_function diff --git a/hasura/migrations/1579820833038_run_sql_migration/down.yaml b/hasura/migrations/1579820833038_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579820833038_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579820833038_run_sql_migration/up.yaml b/hasura/migrations/1579820833038_run_sql_migration/up.yaml deleted file mode 100644 index d6dc6c697..000000000 --- a/hasura/migrations/1579820833038_run_sql_migration/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - cascade: true - sql: 'drop index jobs_gin_idx ' - type: run_sql diff --git a/hasura/migrations/1579820853826_run_sql_migration/down.yaml b/hasura/migrations/1579820853826_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579820853826_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579820853826_run_sql_migration/up.yaml b/hasura/migrations/1579820853826_run_sql_migration/up.yaml deleted file mode 100644 index 984059595..000000000 --- a/hasura/migrations/1579820853826_run_sql_migration/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - cascade: true - sql: drop function search_jobs - type: run_sql diff --git a/hasura/migrations/1579821113991_new_jobs_index/down.yaml b/hasura/migrations/1579821113991_new_jobs_index/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579821113991_new_jobs_index/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579821113991_new_jobs_index/up.yaml b/hasura/migrations/1579821113991_new_jobs_index/up.yaml deleted file mode 100644 index 6e29d97d4..000000000 --- a/hasura/migrations/1579821113991_new_jobs_index/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - sql: CREATE INDEX jobs_search_idx ON jobs USING gin (est_number gin_trgm_ops, - ro_number gin_trgm_ops, clm_no gin_trgm_ops, ownr_ln gin_trgm_ops, ownr_fn gin_trgm_ops, - ownr_ph1 gin_trgm_ops, ownr_ea gin_trgm_ops, insd_ln gin_trgm_ops, insd_fn gin_trgm_ops, - insd_ea gin_trgm_ops, insd_ph1 gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1579823064149_drop_index/down.yaml b/hasura/migrations/1579823064149_drop_index/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579823064149_drop_index/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579823064149_drop_index/up.yaml b/hasura/migrations/1579823064149_drop_index/up.yaml deleted file mode 100644 index 4f54ab178..000000000 --- a/hasura/migrations/1579823064149_drop_index/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - cascade: true - sql: 'drop INDEX jobs_search_idx ' - type: run_sql diff --git a/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/down.yaml b/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/down.yaml deleted file mode 100644 index e62a6046e..000000000 --- a/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "search_idx_col"; - type: run_sql diff --git a/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/up.yaml b/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/up.yaml deleted file mode 100644 index 26b51996a..000000000 --- a/hasura/migrations/1579824162431_alter_table_public_jobs_add_column_search_idx_col/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "search_idx_col" tsvector NULL; - type: run_sql diff --git a/hasura/migrations/1579825076007_job_search_function/down.yaml b/hasura/migrations/1579825076007_job_search_function/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1579825076007_job_search_function/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1579825076007_job_search_function/up.yaml b/hasura/migrations/1579825076007_job_search_function/up.yaml deleted file mode 100644 index 70f68249e..000000000 --- a/hasura/migrations/1579825076007_job_search_function/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: true - sql: "CREATE FUNCTION search_jobs(search text)\r\nRETURNS SETOF jobs AS $$\r\n - \ SELECT *\r\n FROM jobs\r\n WHERE\r\n ownr_fn ilike ('%' || search - || '%')\r\n OR ownr_ln ilike ('%' || search || '%')\r\n OR ro_number - ilike ('%' || search || '%')\r\n OR est_number ilike ('%' || search || - '%')\r\n OR clm_no ilike ('%' || search || '%')\r\n OR ownr_ph1 ilike - ('%' || search || '%')\r\n OR ownr_ea ilike ('%' || search || '%')\r\n - \ OR insd_ln ilike ('%' || search || '%')\r\n OR insd_fn ilike ('%' - || search || '%')\r\n$$ LANGUAGE sql STABLE;\r\n" - type: run_sql -- args: - name: search_jobs - schema: public - type: track_function diff --git a/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/down.yaml b/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/down.yaml deleted file mode 100644 index 969a340c5..000000000 --- a/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "search_idx_col" tsvector - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "search_idx_col" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/up.yaml b/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/up.yaml deleted file mode 100644 index ce1071e44..000000000 --- a/hasura/migrations/1579825091344_alter_table_public_jobs_drop_column_search_idx_col/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "search_idx_col" CASCADE - type: run_sql diff --git a/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index cdb202414..000000000 --- a/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 802868c66..000000000 --- a/hasura/migrations/1579828405600_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 931e8b9ab..000000000 --- a/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,210 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0a96c063d..000000000 --- a/hasura/migrations/1579828420568_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,209 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 3945c7115..000000000 --- a/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a3b61010f..000000000 --- a/hasura/migrations/1579828431423_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/down.yaml b/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/down.yaml deleted file mode 100644 index 742d6cd31..000000000 --- a/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "est_number" text - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "est_number" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/up.yaml b/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/up.yaml deleted file mode 100644 index 0a7b343e7..000000000 --- a/hasura/migrations/1579828444855_alter_table_public_jobs_drop_column_est_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "est_number" CASCADE - type: run_sql diff --git a/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/down.yaml b/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/down.yaml deleted file mode 100644 index 10b08cae0..000000000 --- a/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "est_number"; - type: run_sql diff --git a/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/up.yaml b/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/up.yaml deleted file mode 100644 index 1c6632831..000000000 --- a/hasura/migrations/1579828512176_alter_table_public_jobs_add_column_est_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "est_number" bigserial NOT NULL; - type: run_sql diff --git a/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 802868c66..000000000 --- a/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index cdb202414..000000000 --- a/hasura/migrations/1579828599348_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0a96c063d..000000000 --- a/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,209 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 915f8c6b9..000000000 --- a/hasura/migrations/1579828619557_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,210 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a3b61010f..000000000 --- a/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a1c550dec..000000000 --- a/hasura/migrations/1579828627607_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/down.yaml b/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/down.yaml deleted file mode 100644 index 0af0647d9..000000000 --- a/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "service_Car"; - type: run_sql diff --git a/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/up.yaml b/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/up.yaml deleted file mode 100644 index c0dcd1261..000000000 --- a/hasura/migrations/1580169338033_alter_table_public_jobs_add_column_service_Car/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "service_Car" text NULL; - type: run_sql diff --git a/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index cdb202414..000000000 --- a/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - claim_total - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - shopid - - state_tax_rate - - statusid - - theft_ind - - tlos_ind - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8a6eca121..000000000 --- a/hasura/migrations/1580169357455_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_Car - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 915f8c6b9..000000000 --- a/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,210 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5f1089b37..000000000 --- a/hasura/migrations/1580169365397_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_Car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a1c550dec..000000000 --- a/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4f2b760c0..000000000 --- a/hasura/migrations/1580169373151_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_Car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/down.yaml b/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/down.yaml deleted file mode 100644 index f39fc6f03..000000000 --- a/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."service_Car" IS E'null' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "service_car" to "service_Car"; - type: run_sql diff --git a/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/up.yaml b/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/up.yaml deleted file mode 100644 index 3321b91b3..000000000 --- a/hasura/migrations/1580169467694_alter_table_public_jobs_alter_column_service_Car/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."service_Car" IS E'' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "service_Car" to "service_car"; - type: run_sql diff --git a/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/down.yaml b/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/down.yaml deleted file mode 100644 index d0660650b..000000000 --- a/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "special_coverage_policy"; - type: run_sql diff --git a/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/up.yaml b/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/up.yaml deleted file mode 100644 index 353cc12bd..000000000 --- a/hasura/migrations/1580169565651_alter_table_public_jobs_add_column_special_coverage_policy/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "special_coverage_policy" boolean - NOT NULL DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 3717c3ed4..000000000 --- a/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0e582a2c4..000000000 --- a/hasura/migrations/1580169609143_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c4be28150..000000000 --- a/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,211 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index cb7febe8c..000000000 --- a/hasura/migrations/1580169617954_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c66a2d708..000000000 --- a/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0d44decf8..000000000 --- a/hasura/migrations/1580169626079_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/down.yaml b/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/down.yaml deleted file mode 100644 index efd7a982c..000000000 --- a/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "csr"; - type: run_sql diff --git a/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/up.yaml b/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/up.yaml deleted file mode 100644 index d8eefe86d..000000000 --- a/hasura/migrations/1580178912137_alter_table_public_jobs_add_column_csr/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "csr" text NULL; - type: run_sql diff --git a/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0e582a2c4..000000000 --- a/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1ff55fa60..000000000 --- a/hasura/migrations/1580178922902_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index cb7febe8c..000000000 --- a/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,212 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index bc0477014..000000000 --- a/hasura/migrations/1580178929598_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0d44decf8..000000000 --- a/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,214 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 7fcb41bc9..000000000 --- a/hasura/migrations/1580178936376_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/down.yaml b/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/down.yaml deleted file mode 100644 index 0c6ca24e1..000000000 --- a/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "po_number"; - type: run_sql diff --git a/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/up.yaml b/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/up.yaml deleted file mode 100644 index 643346cf0..000000000 --- a/hasura/migrations/1580179243363_alter_table_public_jobs_add_column_po_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "po_number" text NULL; - type: run_sql diff --git a/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/down.yaml b/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/down.yaml deleted file mode 100644 index c35bebd38..000000000 --- a/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "unit_number"; - type: run_sql diff --git a/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/up.yaml b/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/up.yaml deleted file mode 100644 index 2fc5342f5..000000000 --- a/hasura/migrations/1580179295432_alter_table_public_jobs_add_column_unit_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "unit_number" text NULL; - type: run_sql diff --git a/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/down.yaml b/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/down.yaml deleted file mode 100644 index 52ee10aca..000000000 --- a/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "kmin"; - type: run_sql diff --git a/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/up.yaml b/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/up.yaml deleted file mode 100644 index 49ade77bd..000000000 --- a/hasura/migrations/1580179755901_alter_table_public_jobs_add_column_kmin/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "kmin" integer NULL; - type: run_sql diff --git a/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/down.yaml b/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/down.yaml deleted file mode 100644 index e714fadde..000000000 --- a/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "kmout"; - type: run_sql diff --git a/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/up.yaml b/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/up.yaml deleted file mode 100644 index 8c918d708..000000000 --- a/hasura/migrations/1580179762327_alter_table_public_jobs_add_column_kmout/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "kmout" integer NULL; - type: run_sql diff --git a/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1ff55fa60..000000000 --- a/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index becab0766..000000000 --- a/hasura/migrations/1580180067779_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,219 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index bc0477014..000000000 --- a/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,213 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f3d9dc321..000000000 --- a/hasura/migrations/1580180073360_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,217 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 7fcb41bc9..000000000 --- a/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,215 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6c1f26970..000000000 --- a/hasura/migrations/1580180078983_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,219 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/down.yaml b/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/down.yaml deleted file mode 100644 index 73865b998..000000000 --- a/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "referral_source"; - type: run_sql diff --git a/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/up.yaml b/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/up.yaml deleted file mode 100644 index bec69d42c..000000000 --- a/hasura/migrations/1580180567863_alter_table_public_jobs_add_column_referral_source/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "referral_source" text NULL; - type: run_sql diff --git a/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index becab0766..000000000 --- a/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,219 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index fa7689fd2..000000000 --- a/hasura/migrations/1580180688551_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,220 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f3d9dc321..000000000 --- a/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,217 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 811f64cb5..000000000 --- a/hasura/migrations/1580180694341_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,218 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6c1f26970..000000000 --- a/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,219 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c7b5cd28e..000000000 --- a/hasura/migrations/1580180700206_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,220 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/down.yaml b/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/down.yaml deleted file mode 100644 index 278a53d1c..000000000 --- a/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "selling_dealer"; - type: run_sql diff --git a/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/up.yaml b/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/up.yaml deleted file mode 100644 index 98ed69d5f..000000000 --- a/hasura/migrations/1580232207896_alter_table_public_jobs_add_column_selling_dealer/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "selling_dealer" text NULL; - type: run_sql diff --git a/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/down.yaml b/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/down.yaml deleted file mode 100644 index 36fa5464f..000000000 --- a/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "servicing_dealer"; - type: run_sql diff --git a/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/up.yaml b/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/up.yaml deleted file mode 100644 index 971e58394..000000000 --- a/hasura/migrations/1580232216402_alter_table_public_jobs_add_column_servicing_dealer/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "servicing_dealer" text NULL; - type: run_sql diff --git a/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/down.yaml b/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/down.yaml deleted file mode 100644 index 8a2700bfc..000000000 --- a/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "servicing_dealer_contact"; - type: run_sql diff --git a/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/up.yaml b/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/up.yaml deleted file mode 100644 index 11ed7a1d9..000000000 --- a/hasura/migrations/1580232321960_alter_table_public_jobs_add_column_servicing_dealer_contact/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "servicing_dealer_contact" text NULL; - type: run_sql diff --git a/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/down.yaml b/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/down.yaml deleted file mode 100644 index deb82f742..000000000 --- a/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "selling_dealer_contact"; - type: run_sql diff --git a/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/up.yaml b/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/up.yaml deleted file mode 100644 index 89af1db20..000000000 --- a/hasura/migrations/1580232395019_alter_table_public_jobs_add_column_selling_dealer_contact/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "selling_dealer_contact" text NULL; - type: run_sql diff --git a/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index fa7689fd2..000000000 --- a/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,220 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4d3bff160..000000000 --- a/hasura/migrations/1580232453942_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,224 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 811f64cb5..000000000 --- a/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,218 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 19316d585..000000000 --- a/hasura/migrations/1580232464001_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,222 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c7b5cd28e..000000000 --- a/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,220 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - service_car - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6b61f73a7..000000000 --- a/hasura/migrations/1580232469614_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,224 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/down.yaml b/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/down.yaml deleted file mode 100644 index 08fb99f41..000000000 --- a/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "depreciation_taxes"; - type: run_sql diff --git a/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/up.yaml b/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/up.yaml deleted file mode 100644 index e0634fb56..000000000 --- a/hasura/migrations/1580234610526_alter_table_public_jobs_add_column_depreciation_taxes/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "depreciation_taxes" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/down.yaml b/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/down.yaml deleted file mode 100644 index b08e631f0..000000000 --- a/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "federal_tax_payable"; - type: run_sql diff --git a/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/up.yaml b/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/up.yaml deleted file mode 100644 index 4bf0b1169..000000000 --- a/hasura/migrations/1580234707152_alter_table_public_jobs_add_column_federal_tax_payable/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "federal_tax_payable" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/down.yaml b/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/down.yaml deleted file mode 100644 index bd93bd65b..000000000 --- a/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "other_amount_payable"; - type: run_sql diff --git a/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/up.yaml b/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/up.yaml deleted file mode 100644 index 79fbefe5e..000000000 --- a/hasura/migrations/1580234855137_alter_table_public_jobs_add_column_other_amount_payable/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "other_amount_payable" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/down.yaml b/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/down.yaml deleted file mode 100644 index 40dbf56ef..000000000 --- a/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "towing_payable"; - type: run_sql diff --git a/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/up.yaml b/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/up.yaml deleted file mode 100644 index 24ad092ee..000000000 --- a/hasura/migrations/1580234979673_alter_table_public_jobs_add_column_towing_payable/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "towing_payable" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/down.yaml b/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/down.yaml deleted file mode 100644 index 24442e42a..000000000 --- a/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "storage_payable"; - type: run_sql diff --git a/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/up.yaml b/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/up.yaml deleted file mode 100644 index 83ba72114..000000000 --- a/hasura/migrations/1580235041688_alter_table_public_jobs_add_column_storage_payable/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "storage_payable" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/down.yaml b/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/down.yaml deleted file mode 100644 index 49bcbac38..000000000 --- a/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "adjustment_bottom_line"; - type: run_sql diff --git a/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/up.yaml b/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/up.yaml deleted file mode 100644 index 47c4a7336..000000000 --- a/hasura/migrations/1580235377213_alter_table_public_jobs_add_column_adjustment_bottom_line/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "adjustment_bottom_line" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4d3bff160..000000000 --- a/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,224 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a0210b669..000000000 --- a/hasura/migrations/1580235459628_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,230 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 19316d585..000000000 --- a/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,222 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e18ccedb9..000000000 --- a/hasura/migrations/1580235465660_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,228 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6b61f73a7..000000000 --- a/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,224 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - claim_total - - clm_total - - ded_amt - - deductible - - federal_tax_rate - - local_tax_rate - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 56280c418..000000000 --- a/hasura/migrations/1580235470911_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,230 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580237327073_create_table_public_available_jobs/down.yaml b/hasura/migrations/1580237327073_create_table_public_available_jobs/down.yaml deleted file mode 100644 index 06b5056e9..000000000 --- a/hasura/migrations/1580237327073_create_table_public_available_jobs/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."available_jobs" - type: run_sql diff --git a/hasura/migrations/1580237327073_create_table_public_available_jobs/up.yaml b/hasura/migrations/1580237327073_create_table_public_available_jobs/up.yaml deleted file mode 100644 index d75401021..000000000 --- a/hasura/migrations/1580237327073_create_table_public_available_jobs/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"available_jobs\"(\"id\" uuid NOT NULL DEFAULT - gen_random_uuid(), \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" - timestamptz NOT NULL DEFAULT now(), \"uploaded_by\" text NOT NULL, \"cieca_id\" - text NOT NULL, \"bodyshopid\" uuid NOT NULL, \"est_data\" jsonb NOT NULL, \"issupplement\" - boolean NOT NULL DEFAULT false, \"jobid\" uuid, \"supplement_number\" integer, - \"ownr_name\" text, \"vehicle_info\" text, \"clm_amt\" numeric, \"clm_no\" text, - \"source_system\" text, PRIMARY KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") - REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE cascade ON DELETE cascade, - FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") ON UPDATE restrict - ON DELETE cascade);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_available_jobs_updated_at\"\nBEFORE - UPDATE ON \"public\".\"available_jobs\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_available_jobs_updated_at\" ON \"public\".\"available_jobs\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';\n" - type: run_sql -- args: - name: available_jobs - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1580237346108_track_all_relationships/down.yaml b/hasura/migrations/1580237346108_track_all_relationships/down.yaml deleted file mode 100644 index d0e83782e..000000000 --- a/hasura/migrations/1580237346108_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: bodyshop - table: - name: available_jobs - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: available_jobs - schema: public - type: drop_relationship -- args: - relationship: available_jobs - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: available_jobs - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1580237346108_track_all_relationships/up.yaml b/hasura/migrations/1580237346108_track_all_relationships/up.yaml deleted file mode 100644 index 5f0bb6804..000000000 --- a/hasura/migrations/1580237346108_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: bodyshop - table: - name: available_jobs - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship -- args: - name: job - table: - name: available_jobs - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: available_jobs - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: available_jobs - schema: public - type: create_array_relationship -- args: - name: available_jobs - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: available_jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index 5cdb25469..000000000 --- a/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index 6d55f1a31..000000000 --- a/hasura/migrations/1580237387921_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - uploaded_by - - cieca_id - - bodyshopid - - est_data - - issupplement - - jobid - - supplement_number - - ownr_name - - vehicle_info - - clm_amt - - clm_no - - source_system - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index 3a94b077d..000000000 --- a/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index d3b07cbf7..000000000 --- a/hasura/migrations/1580237392798_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - issupplement - - supplement_number - - est_data - - clm_amt - - cieca_id - - clm_no - - ownr_name - - source_system - - uploaded_by - - vehicle_info - - created_at - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: available_jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index d0f2b05b4..000000000 --- a/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index cf6c14ee3..000000000 --- a/hasura/migrations/1580237398522_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - permission: - columns: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index 610466236..000000000 --- a/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index 76e638642..000000000 --- a/hasura/migrations/1580237406816_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: available_jobs - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/down.yaml b/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/down.yaml deleted file mode 100644 index 87a64b81f..000000000 --- a/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."first_name" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_fn" to "first_name"; - type: run_sql diff --git a/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/up.yaml b/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/up.yaml deleted file mode 100644 index c593c078b..000000000 --- a/hasura/migrations/1580319118370_alter_table_public_owners_alter_column_first_name/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."first_name" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "first_name" to "ownr_fn"; - type: run_sql diff --git a/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/down.yaml b/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/down.yaml deleted file mode 100644 index 40b47b5cb..000000000 --- a/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."last_name" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_ln" to "last_name"; - type: run_sql diff --git a/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/up.yaml b/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/up.yaml deleted file mode 100644 index c32e1b096..000000000 --- a/hasura/migrations/1580319128633_alter_table_public_owners_alter_column_last_name/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."last_name" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "last_name" to "ownr_ln"; - type: run_sql diff --git a/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/down.yaml b/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/down.yaml deleted file mode 100644 index 91f18eab1..000000000 --- a/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."address1" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_addr1" to "address1"; - type: run_sql diff --git a/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/up.yaml b/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/up.yaml deleted file mode 100644 index 0224619e8..000000000 --- a/hasura/migrations/1580319140706_alter_table_public_owners_alter_column_address1/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."address1" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "address1" to "ownr_addr1"; - type: run_sql diff --git a/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/down.yaml b/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/down.yaml deleted file mode 100644 index a25f8b213..000000000 --- a/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."address2" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_addr2" to "address2"; - type: run_sql diff --git a/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/up.yaml b/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/up.yaml deleted file mode 100644 index fc5367abd..000000000 --- a/hasura/migrations/1580319150628_alter_table_public_owners_alter_column_address2/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."address2" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "address2" to "ownr_addr2"; - type: run_sql diff --git a/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/down.yaml b/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/down.yaml deleted file mode 100644 index 410b346dd..000000000 --- a/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."city" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_city" to "city"; - type: run_sql diff --git a/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/up.yaml b/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/up.yaml deleted file mode 100644 index 81bf2fdcf..000000000 --- a/hasura/migrations/1580319161723_alter_table_public_owners_alter_column_city/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."city" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "city" to "ownr_city"; - type: run_sql diff --git a/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/down.yaml b/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/down.yaml deleted file mode 100644 index 5c2d9fe32..000000000 --- a/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."state" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_st" to "state"; - type: run_sql diff --git a/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/up.yaml b/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/up.yaml deleted file mode 100644 index c3499e5e1..000000000 --- a/hasura/migrations/1580319174013_alter_table_public_owners_alter_column_state/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."state" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "state" to "ownr_st"; - type: run_sql diff --git a/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/down.yaml b/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/down.yaml deleted file mode 100644 index 55aeb38f1..000000000 --- a/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."zip" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_zip" to "zip"; - type: run_sql diff --git a/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/up.yaml b/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/up.yaml deleted file mode 100644 index c2f32b926..000000000 --- a/hasura/migrations/1580319185312_alter_table_public_owners_alter_column_zip/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."zip" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "zip" to "ownr_zip"; - type: run_sql diff --git a/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/down.yaml b/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/down.yaml deleted file mode 100644 index a36da5733..000000000 --- a/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."country" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_ctry" to "country"; - type: run_sql diff --git a/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/up.yaml b/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/up.yaml deleted file mode 100644 index 17ba0867f..000000000 --- a/hasura/migrations/1580319194956_alter_table_public_owners_alter_column_country/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."country" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "country" to "ownr_ctry"; - type: run_sql diff --git a/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/down.yaml b/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/down.yaml deleted file mode 100644 index dc998c0d2..000000000 --- a/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."email" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_ea" to "email"; - type: run_sql diff --git a/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/up.yaml b/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/up.yaml deleted file mode 100644 index 045b0b101..000000000 --- a/hasura/migrations/1580319215835_alter_table_public_owners_alter_column_email/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."email" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "email" to "ownr_ea"; - type: run_sql diff --git a/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/down.yaml b/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/down.yaml deleted file mode 100644 index 4e4b328cc..000000000 --- a/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."phone" IS E'null' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "ownr_ph1" to "phone"; - type: run_sql diff --git a/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/up.yaml b/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/up.yaml deleted file mode 100644 index 28ad46d6e..000000000 --- a/hasura/migrations/1580319231505_alter_table_public_owners_alter_column_phone/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."owners"."phone" IS E'' - type: run_sql -- args: - sql: alter table "public"."owners" rename column "phone" to "ownr_ph1"; - type: run_sql diff --git a/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/down.yaml b/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/down.yaml deleted file mode 100644 index 323204856..000000000 --- a/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" DROP COLUMN "ownr_ph2"; - type: run_sql diff --git a/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/up.yaml b/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/up.yaml deleted file mode 100644 index 41e34c325..000000000 --- a/hasura/migrations/1580319283586_alter_table_public_owners_add_column_ownr_ph2/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" ADD COLUMN "ownr_ph2" text NULL; - type: run_sql diff --git a/hasura/migrations/1580319295873_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580319295873_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index f2f87a705..000000000 --- a/hasura/migrations/1580319295873_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - preferred_contact - - ownr_st - - ownr_zip - - created_at - - updated_at - - id - - shopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580319295873_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580319295873_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 699ba86d6..000000000 --- a/hasura/migrations/1580319295873_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580319301454_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580319301454_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index e37bbfa01..000000000 --- a/hasura/migrations/1580319301454_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580319301454_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580319301454_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 979378d18..000000000 --- a/hasura/migrations/1580319301454_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580319306963_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580319306963_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index d61f0c925..000000000 --- a/hasura/migrations/1580319306963_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - ownr_addr1 - - ownr_addr2 - - allow_text_message - - ownr_city - - ownr_ctry - - created_at - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - preferred_contact - - shopid - - ownr_st - - updated_at - - ownr_zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580319306963_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580319306963_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 8aa9459b9..000000000 --- a/hasura/migrations/1580319306963_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580321100336_owner_gin_idx/down.yaml b/hasura/migrations/1580321100336_owner_gin_idx/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580321100336_owner_gin_idx/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580321100336_owner_gin_idx/up.yaml b/hasura/migrations/1580321100336_owner_gin_idx/up.yaml deleted file mode 100644 index 63a8fc27c..000000000 --- a/hasura/migrations/1580321100336_owner_gin_idx/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - sql: "\r\nCREATE INDEX owner_gin_idx ON owners\r\nUSING GIN ((ownr_fn || ' ' - || ownr_ln || ' ' || ownr_addr1 || ' ' || ownr_city || ' ' || ownr_zip || - ' ' || ownr_ea || ' ' || ownr_ph1 || ' ' || ownr_ph2 ) gin_trgm_ops);\r\n" - type: run_sql diff --git a/hasura/migrations/1580321202242_owner_search_function/down.yaml b/hasura/migrations/1580321202242_owner_search_function/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580321202242_owner_search_function/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580321202242_owner_search_function/up.yaml b/hasura/migrations/1580321202242_owner_search_function/up.yaml deleted file mode 100644 index a3b38952d..000000000 --- a/hasura/migrations/1580321202242_owner_search_function/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - sql: "CREATE FUNCTION search_owners(search text)\r\nRETURNS SETOF owners AS $$\r\n - \ SELECT *\r\n FROM owners\r\n WHERE\r\n search <% (ownr_fn || - ' ' || ownr_ln || ' ' || ownr_addr1 || ' ' || ownr_city || ' ' || ownr_zip - \ || ' ' || ownr_ea || ' ' || ownr_ph1 || ' ' || ownr_ph2)\r\n ORDER BY\r\n - \ similarity(search, (ownr_fn || ' ' || ownr_ln || ' ' || ownr_addr1 || - ' ' || ownr_city || ' ' || ownr_zip || ' ' || ownr_ea || ' ' || ownr_ph1 || - ' ' || ownr_ph2)) DESC\r\n LIMIT 20;\r\n$$ LANGUAGE sql STABLE;" - type: run_sql -- args: - name: search_owners - schema: public - type: track_function diff --git a/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/down.yaml b/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/down.yaml deleted file mode 100644 index eaea08f41..000000000 --- a/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" DROP COLUMN "ownr_co_nm"; - type: run_sql diff --git a/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/up.yaml b/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/up.yaml deleted file mode 100644 index fea96b1a3..000000000 --- a/hasura/migrations/1580322212941_alter_table_public_owners_add_column_ownr_co_nm/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" ADD COLUMN "ownr_co_nm" text NULL; - type: run_sql diff --git a/hasura/migrations/1580322221407_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580322221407_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 699ba86d6..000000000 --- a/hasura/migrations/1580322221407_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580322221407_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580322221407_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 55880362e..000000000 --- a/hasura/migrations/1580322221407_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580322225907_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580322225907_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 979378d18..000000000 --- a/hasura/migrations/1580322225907_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580322225907_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580322225907_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 1802dbbf4..000000000 --- a/hasura/migrations/1580322225907_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580322230561_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580322230561_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 8aa9459b9..000000000 --- a/hasura/migrations/1580322230561_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580322230561_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580322230561_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 26c35bd8f..000000000 --- a/hasura/migrations/1580322230561_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/down.yaml b/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/down.yaml deleted file mode 100644 index ca71eb499..000000000 --- a/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" DROP COLUMN "ownr_title"; - type: run_sql diff --git a/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/up.yaml b/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/up.yaml deleted file mode 100644 index be8c2ce7b..000000000 --- a/hasura/migrations/1580332913585_alter_table_public_owners_add_column_ownr_title/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."owners" ADD COLUMN "ownr_title" text NULL; - type: run_sql diff --git a/hasura/migrations/1580332923811_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580332923811_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 55880362e..000000000 --- a/hasura/migrations/1580332923811_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580332923811_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580332923811_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 21addc58a..000000000 --- a/hasura/migrations/1580332923811_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - - ownr_title - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580332931020_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580332931020_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 1802dbbf4..000000000 --- a/hasura/migrations/1580332931020_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580332931020_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580332931020_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 85ab7c994..000000000 --- a/hasura/migrations/1580332931020_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580332936658_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1580332936658_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 26c35bd8f..000000000 --- a/hasura/migrations/1580332936658_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580332936658_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1580332936658_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 9609517ec..000000000 --- a/hasura/migrations/1580332936658_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580338993317_run_sql_migration/down.yaml b/hasura/migrations/1580338993317_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580338993317_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580338993317_run_sql_migration/up.yaml b/hasura/migrations/1580338993317_run_sql_migration/up.yaml deleted file mode 100644 index 50d9e6d4d..000000000 --- a/hasura/migrations/1580338993317_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - sql: "ALTER TABLE jobs ALTER COLUMN theft_ind DROP DEFAULT;\r\nALTER TABLE jobs - ALTER theft_ind TYPE bool USING CASE WHEN true THEN FALSE ELSE TRUE END;\r\nALTER - TABLE jobs ALTER COLUMN theft_ind SET DEFAULT FALSE;" - type: run_sql diff --git a/hasura/migrations/1580339054130_run_sql_migration/down.yaml b/hasura/migrations/1580339054130_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580339054130_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580339054130_run_sql_migration/up.yaml b/hasura/migrations/1580339054130_run_sql_migration/up.yaml deleted file mode 100644 index 377757ec8..000000000 --- a/hasura/migrations/1580339054130_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - sql: "ALTER TABLE jobs ALTER COLUMN tlos_ind DROP DEFAULT;\r\nALTER TABLE jobs - ALTER tlos_ind TYPE bool USING CASE WHEN true THEN FALSE ELSE TRUE END;\r\nALTER - TABLE jobs ALTER COLUMN tlos_ind SET DEFAULT FALSE;" - type: run_sql diff --git a/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/down.yaml b/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/down.yaml deleted file mode 100644 index d5601bc2c..000000000 --- a/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "parts_tax_rate"; - type: run_sql diff --git a/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/up.yaml b/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/up.yaml deleted file mode 100644 index 24910de15..000000000 --- a/hasura/migrations/1580342466510_alter_table_public_jobs_add_column_parts_tax_rate/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "parts_tax_rate" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/down.yaml b/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/down.yaml deleted file mode 100644 index 48652bba7..000000000 --- a/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."parts_tax_rate" IS E'null' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "tax_pstthr" to "parts_tax_rate"; - type: run_sql diff --git a/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/up.yaml b/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/up.yaml deleted file mode 100644 index 3a0211519..000000000 --- a/hasura/migrations/1580342506429_alter_table_public_jobs_alter_column_parts_tax_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."parts_tax_rate" IS E'' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "parts_tax_rate" to "tax_pstthr"; - type: run_sql diff --git a/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml b/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml deleted file mode 100644 index c27db234f..000000000 --- a/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_pstthr" IS E'null' - type: run_sql diff --git a/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml b/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml deleted file mode 100644 index 94dea43fb..000000000 --- a/hasura/migrations/1580342523444_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_pstthr" IS E'PST for Parts' - type: run_sql diff --git a/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/down.yaml b/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/down.yaml deleted file mode 100644 index 1fcc511d5..000000000 --- a/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_tow_rt"; - type: run_sql diff --git a/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/up.yaml b/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/up.yaml deleted file mode 100644 index 865d7bbfb..000000000 --- a/hasura/migrations/1580342644474_alter_table_public_jobs_add_column_tax_tow_rt/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_tow_rt" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml b/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml deleted file mode 100644 index c748246fa..000000000 --- a/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_tow_rt" IS E'null' - type: run_sql diff --git a/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml b/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml deleted file mode 100644 index 050699106..000000000 --- a/hasura/migrations/1580342652067_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_tow_rt" IS E'Taxing tow Rate' - type: run_sql diff --git a/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/down.yaml b/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/down.yaml deleted file mode 100644 index 3c2faedff..000000000 --- a/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_sub_rt"; - type: run_sql diff --git a/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/up.yaml b/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/up.yaml deleted file mode 100644 index b77cd85bd..000000000 --- a/hasura/migrations/1580342697226_alter_table_public_jobs_add_column_tax_sub_rt/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_sub_rt" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/down.yaml b/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/down.yaml deleted file mode 100644 index a8957d602..000000000 --- a/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_sub_rt" IS E'null' - type: run_sql diff --git a/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/up.yaml b/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/up.yaml deleted file mode 100644 index 3796212ba..000000000 --- a/hasura/migrations/1580342709854_alter_table_public_jobs_alter_column_tax_sub_rt/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_sub_rt" IS E'Sublet Tax Rate' - type: run_sql diff --git a/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml b/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml deleted file mode 100644 index 94dea43fb..000000000 --- a/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_pstthr" IS E'PST for Parts' - type: run_sql diff --git a/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml b/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml deleted file mode 100644 index 94caad8e1..000000000 --- a/hasura/migrations/1580342722401_alter_table_public_jobs_alter_column_tax_pstthr/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_pstthr" IS E'Parts Tax Rate' - type: run_sql diff --git a/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml b/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml deleted file mode 100644 index 050699106..000000000 --- a/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_tow_rt" IS E'Taxing tow Rate' - type: run_sql diff --git a/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml b/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml deleted file mode 100644 index ae024a852..000000000 --- a/hasura/migrations/1580342734703_alter_table_public_jobs_alter_column_tax_tow_rt/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_tow_rt" IS E'Towing Tax Rate' - type: run_sql diff --git a/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a0210b669..000000000 --- a/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,230 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5e96a692b..000000000 --- a/hasura/migrations/1580343246214_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e18ccedb9..000000000 --- a/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,228 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e7684a905..000000000 --- a/hasura/migrations/1580343251291_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,231 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 56280c418..000000000 --- a/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,230 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - theft_ind - - tlos_ind - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8910ace88..000000000 --- a/hasura/migrations/1580343257730_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/down.yaml b/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/down.yaml deleted file mode 100644 index 389f605db..000000000 --- a/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_paint_mat"; - type: run_sql diff --git a/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/up.yaml b/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/up.yaml deleted file mode 100644 index d3ad68e79..000000000 --- a/hasura/migrations/1580346541910_alter_table_public_jobs_add_column_tax_paint_mat/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_paint_mat" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/down.yaml b/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/down.yaml deleted file mode 100644 index 6a972b65f..000000000 --- a/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_levies"; - type: run_sql diff --git a/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/up.yaml b/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/up.yaml deleted file mode 100644 index 13ffaa8ad..000000000 --- a/hasura/migrations/1580346657585_alter_table_public_jobs_add_column_tax_levies/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_levies" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/down.yaml b/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/down.yaml deleted file mode 100644 index 74c06e879..000000000 --- a/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_paint_mat" IS E'null' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "tax_paint_mat_rt" to "tax_paint_mat"; - type: run_sql diff --git a/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/up.yaml b/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/up.yaml deleted file mode 100644 index 46cacd480..000000000 --- a/hasura/migrations/1580346809511_alter_table_public_jobs_alter_column_tax_paint_mat/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_paint_mat" IS E'' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "tax_paint_mat" to "tax_paint_mat_rt"; - type: run_sql diff --git a/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/down.yaml b/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/down.yaml deleted file mode 100644 index 35a057441..000000000 --- a/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_levies" IS E'null' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "tax_levies_rt" to "tax_levies"; - type: run_sql diff --git a/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/up.yaml b/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/up.yaml deleted file mode 100644 index 5032d0a22..000000000 --- a/hasura/migrations/1580346822949_alter_table_public_jobs_alter_column_tax_levies/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."jobs"."tax_levies" IS E'' - type: run_sql -- args: - sql: alter table "public"."jobs" rename column "tax_levies" to "tax_levies_rt"; - type: run_sql diff --git a/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5e96a692b..000000000 --- a/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c78859077..000000000 --- a/hasura/migrations/1580346901283_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,235 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e7684a905..000000000 --- a/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,231 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6b5aa011f..000000000 --- a/hasura/migrations/1580346908847_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_levies_rt - - tax_paint_mat_rt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8910ace88..000000000 --- a/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 7d2fcd6cc..000000000 --- a/hasura/migrations/1580346914307_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,235 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_levies_rt - - tax_paint_mat_rt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580356194265_alter_line_ref/down.yaml b/hasura/migrations/1580356194265_alter_line_ref/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580356194265_alter_line_ref/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580356194265_alter_line_ref/up.yaml b/hasura/migrations/1580356194265_alter_line_ref/up.yaml deleted file mode 100644 index 94d6095ee..000000000 --- a/hasura/migrations/1580356194265_alter_line_ref/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - sql: "ALTER TABLE joblines ALTER COLUMN line_ref DROP DEFAULT;\r\nALTER TABLE - joblines\r\n ALTER line_ref TYPE numeric USING CASE WHEN true THEN 0 ELSE - 0 END;\r\n \r\n ALTER\r\n TABLE joblines ALTER COLUMN line_ref - SET DEFAULT 0;" - type: run_sql diff --git a/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/down.yaml b/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/down.yaml deleted file mode 100644 index 53fa55d89..000000000 --- a/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."joblines" ALTER COLUMN "line_ref" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."joblines"."line_ref" IS E'null' - type: run_sql diff --git a/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/up.yaml b/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/up.yaml deleted file mode 100644 index 1de071e2f..000000000 --- a/hasura/migrations/1580356212983_alter_table_public_joblines_alter_column_line_ref/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."joblines" ALTER COLUMN "line_ref" DROP DEFAULT; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."joblines"."line_ref" IS E'' - type: run_sql diff --git a/hasura/migrations/1580424750331_jobs_fields/down.yaml b/hasura/migrations/1580424750331_jobs_fields/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580424750331_jobs_fields/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580424750331_jobs_fields/up.yaml b/hasura/migrations/1580424750331_jobs_fields/up.yaml deleted file mode 100644 index 4faaad5d3..000000000 --- a/hasura/migrations/1580424750331_jobs_fields/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - sql: "alter table jobs\r\nadd column tax_prethr numeric,\r\nadd column tax_thramt - numeric,\r\nadd column tax_str_rt numeric,\r\nadd column tax_lbr_rt numeric,\r\nadd - column adj_g_disc numeric,\r\nadd column adj_towdis numeric,\r\nadd column - adj_strdis numeric,\r\nadd column tax_predis numeric" - type: run_sql diff --git a/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c78859077..000000000 --- a/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,235 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c60b5b21b..000000000 --- a/hasura/migrations/1580424775529_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6b5aa011f..000000000 --- a/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,233 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_levies_rt - - tax_paint_mat_rt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5312d6320..000000000 --- a/hasura/migrations/1580424780619_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,241 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 7d2fcd6cc..000000000 --- a/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,235 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_levies_rt - - tax_paint_mat_rt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4d5d66b53..000000000 --- a/hasura/migrations/1580424785911_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425245598_run_sql_migration/down.yaml b/hasura/migrations/1580425245598_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1580425245598_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1580425245598_run_sql_migration/up.yaml b/hasura/migrations/1580425245598_run_sql_migration/up.yaml deleted file mode 100644 index 338b11bb7..000000000 --- a/hasura/migrations/1580425245598_run_sql_migration/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - cascade: true - sql: "alter table joblines\r\n\r\nadd column glass_flag bool,\r\nadd column price_inc - bool,\r\nadd column alt_part_i bool,\r\nadd column price_j bool,\r\nadd column - cert_part bool,\r\nadd column alt_co_id text,\r\nadd column alt_overrd bool,\r\nadd - column alt_partm text,\r\nadd column prt_dsmk_p numeric,\r\nadd column prt_dsmk_m - numeric,\r\nadd column lbr_inc bool,\r\n\r\nadd column lbr_hrs_j bool,\r\nadd - column lbr_typ_j bool,\r\nadd column lbr_op_j bool,\r\nadd column paint_stg - integer,\r\nadd column paint_tone integer,\r\nadd column lbr_tax bool,\r\n\r\nadd - column misc_amt numeric,\r\nadd column misc_sublt bool,\r\nadd column misc_tax - bool,\r\nadd column bett_type text,\r\nadd column bett_pctg numeric,\r\nadd - column bett_amt numeric,\r\nadd column bett_tax bool" - type: run_sql diff --git a/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index d7b2de7cd..000000000 --- a/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index dc213864d..000000000 --- a/hasura/migrations/1580425277537_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 7c4eb1024..000000000 --- a/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - tax_part - - est_seq - - part_qty - - unq_seq - - act_price - - db_hrs - - db_price - - lbr_amt - - mod_lb_hrs - - alt_partno - - db_ref - - lbr_op - - line_desc - - line_ind - - line_ref - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index b143512d8..000000000 --- a/hasura/migrations/1580425285636_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index ca3225d6b..000000000 --- a/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - tax_part - - est_seq - - part_qty - - unq_seq - - act_price - - db_hrs - - db_price - - lbr_amt - - mod_lb_hrs - - alt_partno - - db_ref - - lbr_op - - line_desc - - line_ind - - line_ref - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 6d1063cc8..000000000 --- a/hasura/migrations/1580425296863_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/down.yaml b/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/down.yaml deleted file mode 100644 index 785d08ad2..000000000 --- a/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "rate_laa"; - type: run_sql diff --git a/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/up.yaml b/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/up.yaml deleted file mode 100644 index d7b745111..000000000 --- a/hasura/migrations/1580425460879_alter_table_public_jobs_add_column_rate_laa/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "rate_laa" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c60b5b21b..000000000 --- a/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a1e5cbdde..000000000 --- a/hasura/migrations/1580425481308_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5312d6320..000000000 --- a/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,241 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 57466d6e6..000000000 --- a/hasura/migrations/1580425487863_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,242 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4d5d66b53..000000000 --- a/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4d5d66b53..000000000 --- a/hasura/migrations/1580425491775_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4d5d66b53..000000000 --- a/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4371eaab0..000000000 --- a/hasura/migrations/1580425495615_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4d5d66b53..000000000 --- a/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4371eaab0..000000000 --- a/hasura/migrations/1580425498865_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/down.yaml b/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/down.yaml deleted file mode 100644 index 6b1476237..000000000 --- a/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "region_config"; - type: run_sql diff --git a/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/up.yaml b/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/up.yaml deleted file mode 100644 index b9a0e7e8e..000000000 --- a/hasura/migrations/1580427566710_alter_table_public_bodyshops_add_column_region_config/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "region_config" text NOT NULL - DEFAULT 'CA_BC'; - type: run_sql diff --git a/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 80ca70d5d..000000000 --- a/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 0575c9859..000000000 --- a/hasura/migrations/1580427579544_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - region_config - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/down.yaml b/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/down.yaml deleted file mode 100644 index 8b33d277c..000000000 --- a/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."joblines" DROP COLUMN "op_code_desc"; - type: run_sql diff --git a/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/up.yaml b/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/up.yaml deleted file mode 100644 index f70b7a310..000000000 --- a/hasura/migrations/1580428867144_alter_table_public_joblines_add_column_op_code_desc/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."joblines" ADD COLUMN "op_code_desc" text NULL; - type: run_sql diff --git a/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index dc213864d..000000000 --- a/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 3d0722715..000000000 --- a/hasura/migrations/1580428876888_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - - op_code_desc - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index b143512d8..000000000 --- a/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 32c4e42a2..000000000 --- a/hasura/migrations/1580428884075_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 6d1063cc8..000000000 --- a/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index befcc2bb7..000000000 --- a/hasura/migrations/1580428891595_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580845008791_create_table_public_employees/down.yaml b/hasura/migrations/1580845008791_create_table_public_employees/down.yaml deleted file mode 100644 index a02ec7b09..000000000 --- a/hasura/migrations/1580845008791_create_table_public_employees/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."employees" - type: run_sql diff --git a/hasura/migrations/1580845008791_create_table_public_employees/up.yaml b/hasura/migrations/1580845008791_create_table_public_employees/up.yaml deleted file mode 100644 index 938539268..000000000 --- a/hasura/migrations/1580845008791_create_table_public_employees/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"employees\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"first_name\" text NOT NULL, \"last_name\" text NOT - NULL, \"employee_number\" text, \"shopid\" uuid NOT NULL, \"active\" boolean - NOT NULL DEFAULT true, PRIMARY KEY (\"id\") , FOREIGN KEY (\"shopid\") REFERENCES - \"public\".\"bodyshops\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_employees_updated_at\"\nBEFORE - UPDATE ON \"public\".\"employees\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_employees_updated_at\" ON \"public\".\"employees\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';\n" - type: run_sql -- args: - name: employees - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1580845024748_track_all_relationships/down.yaml b/hasura/migrations/1580845024748_track_all_relationships/down.yaml deleted file mode 100644 index 603fdf200..000000000 --- a/hasura/migrations/1580845024748_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: employees - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: employees - schema: public - type: drop_relationship diff --git a/hasura/migrations/1580845024748_track_all_relationships/up.yaml b/hasura/migrations/1580845024748_track_all_relationships/up.yaml deleted file mode 100644 index 02e5b8af4..000000000 --- a/hasura/migrations/1580845024748_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: employees - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: employees - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: employees - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1580845064503_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1580845064503_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 8ce6d7380..000000000 --- a/hasura/migrations/1580845064503_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1580845064503_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1580845064503_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 6c9cf3410..000000000 --- a/hasura/migrations/1580845064503_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580845070982_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1580845070982_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index c044718f0..000000000 --- a/hasura/migrations/1580845070982_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1580845070982_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1580845070982_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index d891ef226..000000000 --- a/hasura/migrations/1580845070982_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580845078647_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1580845078647_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index c3a42c539..000000000 --- a/hasura/migrations/1580845078647_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1580845078647_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1580845078647_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 962c508c1..000000000 --- a/hasura/migrations/1580845078647_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - permission: - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580845085318_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1580845085318_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 6a7312d7e..000000000 --- a/hasura/migrations/1580845085318_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1580845085318_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1580845085318_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index a8d773013..000000000 --- a/hasura/migrations/1580845085318_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1580924578754_create_table_public_appointments/down.yaml b/hasura/migrations/1580924578754_create_table_public_appointments/down.yaml deleted file mode 100644 index df54499c7..000000000 --- a/hasura/migrations/1580924578754_create_table_public_appointments/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."appointments" - type: run_sql diff --git a/hasura/migrations/1580924578754_create_table_public_appointments/up.yaml b/hasura/migrations/1580924578754_create_table_public_appointments/up.yaml deleted file mode 100644 index f3de9b6bb..000000000 --- a/hasura/migrations/1580924578754_create_table_public_appointments/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"appointments\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"start\" timestamptz NOT NULL, - \"end\" timestamptz NOT NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") - REFERENCES \"public\".\"jobs\"(\"id\") ON UPDATE cascade ON DELETE cascade);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_appointments_updated_at\"\nBEFORE - UPDATE ON \"public\".\"appointments\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_appointments_updated_at\" ON \"public\".\"appointments\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';\n" - type: run_sql -- args: - name: appointments - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1580924597777_track_all_relationships/down.yaml b/hasura/migrations/1580924597777_track_all_relationships/down.yaml deleted file mode 100644 index 40a2859e9..000000000 --- a/hasura/migrations/1580924597777_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: job - table: - name: appointments - schema: public - type: drop_relationship -- args: - relationship: appointments - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1580924597777_track_all_relationships/up.yaml b/hasura/migrations/1580924597777_track_all_relationships/up.yaml deleted file mode 100644 index a42e807b4..000000000 --- a/hasura/migrations/1580924597777_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: job - table: - name: appointments - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: appointments - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: appointments - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 360bed4cf..000000000 --- a/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 0b2e1b916..000000000 --- a/hasura/migrations/1580924636108_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index cb1497747..000000000 --- a/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 00c8ca764..000000000 --- a/hasura/migrations/1580924643897_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 9e035c24f..000000000 --- a/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index f4adc60da..000000000 --- a/hasura/migrations/1580924650229_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 58bced28e..000000000 --- a/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 119e09bbc..000000000 --- a/hasura/migrations/1580924654728_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a1e5cbdde..000000000 --- a/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - claim_total - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 50eccd57f..000000000 --- a/hasura/migrations/1580931183725_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 57466d6e6..000000000 --- a/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,242 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 79e220620..000000000 --- a/hasura/migrations/1580931192674_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,241 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4371eaab0..000000000 --- a/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - claim_total - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e25202215..000000000 --- a/hasura/migrations/1580931206615_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/down.yaml b/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/down.yaml deleted file mode 100644 index 93fb7a1c5..000000000 --- a/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "claim_total" numeric - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "claim_total" DROP NOT NULL - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "claim_total" SET DEFAULT 0 - type: run_sql diff --git a/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/up.yaml b/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/up.yaml deleted file mode 100644 index cbb44e742..000000000 --- a/hasura/migrations/1580931212931_alter_table_public_jobs_drop_column_claim_total/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "claim_total" CASCADE - type: run_sql diff --git a/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/down.yaml b/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/down.yaml deleted file mode 100644 index 323a4f792..000000000 --- a/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "clm_total" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."clm_total" IS E'null' - type: run_sql diff --git a/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/up.yaml b/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/up.yaml deleted file mode 100644 index dfcd0015d..000000000 --- a/hasura/migrations/1580931234225_alter_table_public_jobs_alter_column_clm_total/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "clm_total" SET DEFAULT 0; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."jobs"."clm_total" IS E'' - type: run_sql diff --git a/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 56426a31b..000000000 --- a/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 80a2f24bf..000000000 --- a/hasura/migrations/1580935279972_update_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - authid - filter: {} - limit: null - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 2ed833fbd..000000000 --- a/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - columns: - - authid - - email - - created_at - - updated_at - filter: {} - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index adfb8ed02..000000000 --- a/hasura/migrations/1581011347492_delete_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 5b6a124be..000000000 --- a/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - check: {} - columns: - - authid - - created_at - - email - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 8d7fedcea..000000000 --- a/hasura/migrations/1581011354989_delete_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/down.yaml b/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/down.yaml deleted file mode 100644 index 6da8f77e4..000000000 --- a/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - authid - computed_fields: [] - filter: {} - role: anonymous - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/up.yaml b/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/up.yaml deleted file mode 100644 index 56426a31b..000000000 --- a/hasura/migrations/1581011359698_delete_permission_anonymous_public_table_users/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: users - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/down.yaml b/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/down.yaml deleted file mode 100644 index dfcf08d41..000000000 --- a/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" DROP COLUMN "canceled"; - type: run_sql diff --git a/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/up.yaml b/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/up.yaml deleted file mode 100644 index 04e88be2f..000000000 --- a/hasura/migrations/1581022739131_alter_table_public_appointments_add_column_canceled/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ADD COLUMN "canceled" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/down.yaml b/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/down.yaml deleted file mode 100644 index fe4587381..000000000 --- a/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" DROP COLUMN "arrived"; - type: run_sql diff --git a/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/up.yaml b/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/up.yaml deleted file mode 100644 index b3d4fe679..000000000 --- a/hasura/migrations/1581022751236_alter_table_public_appointments_add_column_arrived/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ADD COLUMN "arrived" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index b56eb5bbf..000000000 --- a/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 34cf4841b..000000000 --- a/hasura/migrations/1581022758869_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 69c1cdc57..000000000 --- a/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index d71784d2e..000000000 --- a/hasura/migrations/1581022764017_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index c44b9394c..000000000 --- a/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 1644cd131..000000000 --- a/hasura/migrations/1581022771283_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index d71784d2e..000000000 --- a/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 7c6811bf8..000000000 --- a/hasura/migrations/1581028719187_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/down.yaml b/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/down.yaml deleted file mode 100644 index 043b6ce61..000000000 --- a/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "status"; - type: run_sql diff --git a/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/up.yaml b/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/up.yaml deleted file mode 100644 index 262633fb7..000000000 --- a/hasura/migrations/1581029855396_alter_table_public_jobs_add_column_status/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "status" text NOT NULL DEFAULT 'Open'; - type: run_sql diff --git a/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 50eccd57f..000000000 --- a/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 488ed01e7..000000000 --- a/hasura/migrations/1581029864710_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 79e220620..000000000 --- a/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,241 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a6ed6c817..000000000 --- a/hasura/migrations/1581029870003_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,242 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e25202215..000000000 --- a/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deductible - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 973b2115c..000000000 --- a/hasura/migrations/1581029875101_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index d09f1309a..000000000 --- a/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - name - - isproductionstatus - - order - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 3c01a272c..000000000 --- a/hasura/migrations/1581029890395_delete_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 646e591b4..000000000 --- a/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - isproductionstatus - - order - - name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_status - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 85d7d08dd..000000000 --- a/hasura/migrations/1581029895198_delete_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index 31c3a7b89..000000000 --- a/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - columns: - - isproductionstatus - - order - - name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_status - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 42b51ea3e..000000000 --- a/hasura/migrations/1581029899124_delete_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/down.yaml b/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/down.yaml deleted file mode 100644 index e26a5a3ac..000000000 --- a/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/down.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_status - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/up.yaml b/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/up.yaml deleted file mode 100644 index 05f10e122..000000000 --- a/hasura/migrations/1581029904239_delete_permission_user_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_status - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/down.yaml b/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/down.yaml deleted file mode 100644 index 387fc3707..000000000 --- a/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/down.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: job_status - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: statusid - type: create_object_relationship diff --git a/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/up.yaml b/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/up.yaml deleted file mode 100644 index 38bcae868..000000000 --- a/hasura/migrations/1581030454318_drop_relationship_job_status_public_table_jobs/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: job_status - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/down.yaml b/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/down.yaml deleted file mode 100644 index 4df64ab21..000000000 --- a/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/down.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: bodyshop - table: - name: job_status - schema: public - using: - foreign_key_constraint_on: shopid - type: create_object_relationship diff --git a/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/up.yaml b/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/up.yaml deleted file mode 100644 index be19077ec..000000000 --- a/hasura/migrations/1581030528307_drop_relationship_bodyshop_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: job_status - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/down.yaml b/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/down.yaml deleted file mode 100644 index e72f3596e..000000000 --- a/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - name: jobs - table: - name: job_status - schema: public - using: - foreign_key_constraint_on: - column: statusid - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/up.yaml b/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/up.yaml deleted file mode 100644 index 9a632ffbb..000000000 --- a/hasura/migrations/1581030535781_drop_relationship_jobs_public_table_job_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: jobs - table: - name: job_status - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/down.yaml b/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/down.yaml deleted file mode 100644 index 5fd010060..000000000 --- a/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - name: job_statuses - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: shopid - table: - name: job_status - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/up.yaml b/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/up.yaml deleted file mode 100644 index bfe177786..000000000 --- a/hasura/migrations/1581030563884_drop_relationship_job_statuses_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: job_statuses - table: - name: bodyshops - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/down.yaml b/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/down.yaml deleted file mode 100644 index 78a66f549..000000000 --- a/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: alter table "public"."job_status" add foreign key ("shopid") references "public"."bodyshops"("id") - on update cascade on delete cascade; - type: run_sql diff --git a/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/up.yaml b/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/up.yaml deleted file mode 100644 index 07c07d3a1..000000000 --- a/hasura/migrations/1581030601347_delete_fk_public_job_status_job_status_shopid_fkey/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: alter table "public"."job_status" drop constraint "job_status_shopid_fkey"; - type: run_sql diff --git a/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/down.yaml b/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/down.yaml deleted file mode 100644 index d52b04302..000000000 --- a/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: alter table "public"."jobs" add foreign key ("statusid") references "public"."job_status"("id") - on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/up.yaml b/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/up.yaml deleted file mode 100644 index 24aec4d0b..000000000 --- a/hasura/migrations/1581030654272_delete_fk_public_jobs_jobs_statusid_fkey/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: alter table "public"."jobs" drop constraint "jobs_statusid_fkey"; - type: run_sql diff --git a/hasura/migrations/1581030663585_drop_table_public_job_status/down.yaml b/hasura/migrations/1581030663585_drop_table_public_job_status/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1581030663585_drop_table_public_job_status/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1581030663585_drop_table_public_job_status/up.yaml b/hasura/migrations/1581030663585_drop_table_public_job_status/up.yaml deleted file mode 100644 index d10304097..000000000 --- a/hasura/migrations/1581030663585_drop_table_public_job_status/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."job_status" - type: run_sql diff --git a/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/down.yaml b/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/down.yaml deleted file mode 100644 index abfa592ca..000000000 --- a/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "hire_date"; - type: run_sql diff --git a/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/up.yaml b/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/up.yaml deleted file mode 100644 index 1005ffd15..000000000 --- a/hasura/migrations/1581357049913_alter_table_public_employees_add_column_hire_date/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "hire_date" date NULL; - type: run_sql diff --git a/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/down.yaml b/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/down.yaml deleted file mode 100644 index d93fb1e04..000000000 --- a/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "termination_date"; - type: run_sql diff --git a/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/up.yaml b/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/up.yaml deleted file mode 100644 index 44c8b84a2..000000000 --- a/hasura/migrations/1581357057407_alter_table_public_employees_add_column_termination_date/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "termination_date" date NULL; - type: run_sql diff --git a/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/down.yaml b/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/down.yaml deleted file mode 100644 index bbe0e2124..000000000 --- a/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "base_rate"; - type: run_sql diff --git a/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/up.yaml b/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/up.yaml deleted file mode 100644 index b0aee872f..000000000 --- a/hasura/migrations/1581357072694_alter_table_public_employees_add_column_base_rate/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "base_rate" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/down.yaml b/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/down.yaml deleted file mode 100644 index 01fa47327..000000000 --- a/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "cost_center"; - type: run_sql diff --git a/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/up.yaml b/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/up.yaml deleted file mode 100644 index 8067de290..000000000 --- a/hasura/migrations/1581357170091_alter_table_public_employees_add_column_cost_center/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "cost_center" text NOT NULL; - type: run_sql diff --git a/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/down.yaml b/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/down.yaml deleted file mode 100644 index d510666fa..000000000 --- a/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."employees" ALTER COLUMN "base_rate" SET DEFAULT - 0; - type: run_sql -- args: - sql: ALTER TABLE "public"."employees" ALTER COLUMN "base_rate" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."employees"."base_rate" IS E'null' - type: run_sql diff --git a/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/up.yaml b/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/up.yaml deleted file mode 100644 index 0fb29a6fe..000000000 --- a/hasura/migrations/1581357179730_alter_table_public_employees_alter_column_base_rate/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - sql: ALTER TABLE ONLY "public"."employees" ALTER COLUMN "base_rate" SET DEFAULT - 0; - type: run_sql -- args: - sql: ALTER TABLE "public"."employees" ALTER COLUMN "base_rate" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."employees"."base_rate" IS E'' - type: run_sql diff --git a/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/down.yaml b/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/down.yaml deleted file mode 100644 index 185cc9a8b..000000000 --- a/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "pay_type"; - type: run_sql diff --git a/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/up.yaml b/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/up.yaml deleted file mode 100644 index 784b99b23..000000000 --- a/hasura/migrations/1581357246577_alter_table_public_employees_add_column_pay_type/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "pay_type" integer NOT NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/down.yaml b/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/down.yaml deleted file mode 100644 index c1bc66684..000000000 --- a/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "pay_type" int4 - type: run_sql -- args: - sql: ALTER TABLE "public"."employees" ALTER COLUMN "pay_type" DROP NOT NULL - type: run_sql -- args: - sql: ALTER TABLE "public"."employees" ALTER COLUMN "pay_type" SET DEFAULT 0 - type: run_sql diff --git a/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/up.yaml b/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/up.yaml deleted file mode 100644 index bbbe455f0..000000000 --- a/hasura/migrations/1581357269779_alter_table_public_employees_drop_column_pay_type/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "pay_type" CASCADE - type: run_sql diff --git a/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/down.yaml b/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/down.yaml deleted file mode 100644 index 11c760bb8..000000000 --- a/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" DROP COLUMN "flat_rate"; - type: run_sql diff --git a/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/up.yaml b/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/up.yaml deleted file mode 100644 index 1c81a7a12..000000000 --- a/hasura/migrations/1581357292599_alter_table_public_employees_add_column_flat_rate/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."employees" ADD COLUMN "flat_rate" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1581357336859_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1581357336859_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index d366a9964..000000000 --- a/hasura/migrations/1581357336859_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581357336859_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1581357336859_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 0165fb887..000000000 --- a/hasura/migrations/1581357336859_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - first_name - - last_name - - employee_number - - shopid - - active - - hire_date - - termination_date - - base_rate - - cost_center - - flat_rate - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581357342062_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1581357342062_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 976c2df48..000000000 --- a/hasura/migrations/1581357342062_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581357342062_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1581357342062_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 56719d451..000000000 --- a/hasura/migrations/1581357342062_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - flat_rate - - hire_date - - termination_date - - base_rate - - cost_center - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581357346836_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1581357346836_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 379b183ce..000000000 --- a/hasura/migrations/1581357346836_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581357346836_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1581357346836_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 491b1073b..000000000 --- a/hasura/migrations/1581357346836_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - flat_rate - - hire_date - - termination_date - - base_rate - - cost_center - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581377678620_create_table_public_allocations/down.yaml b/hasura/migrations/1581377678620_create_table_public_allocations/down.yaml deleted file mode 100644 index f4b507c6a..000000000 --- a/hasura/migrations/1581377678620_create_table_public_allocations/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP TABLE "public"."allocations" - type: run_sql diff --git a/hasura/migrations/1581377678620_create_table_public_allocations/up.yaml b/hasura/migrations/1581377678620_create_table_public_allocations/up.yaml deleted file mode 100644 index 9d1eab3eb..000000000 --- a/hasura/migrations/1581377678620_create_table_public_allocations/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - sql: "CREATE TABLE \"public\".\"allocations\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"joblineid\" uuid NOT NULL, \"employeeid\" uuid NOT - NULL, \"hours\" numeric NOT NULL DEFAULT 0, PRIMARY KEY (\"id\") , FOREIGN KEY - (\"joblineid\") REFERENCES \"public\".\"joblines\"(\"id\") ON UPDATE cascade - ON DELETE cascade, FOREIGN KEY (\"employeeid\") REFERENCES \"public\".\"employees\"(\"id\") - ON UPDATE cascade ON DELETE cascade);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_allocations_updated_at\"\nBEFORE - UPDATE ON \"public\".\"allocations\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_allocations_updated_at\" ON \"public\".\"allocations\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';\n" - type: run_sql -- args: - name: allocations - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1581377762602_track_all_relationships/down.yaml b/hasura/migrations/1581377762602_track_all_relationships/down.yaml deleted file mode 100644 index 861a6656b..000000000 --- a/hasura/migrations/1581377762602_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: employee - table: - name: allocations - schema: public - type: drop_relationship -- args: - relationship: jobline - table: - name: allocations - schema: public - type: drop_relationship -- args: - relationship: allocations - table: - name: employees - schema: public - type: drop_relationship -- args: - relationship: allocations - table: - name: joblines - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581377762602_track_all_relationships/up.yaml b/hasura/migrations/1581377762602_track_all_relationships/up.yaml deleted file mode 100644 index 8db552fb1..000000000 --- a/hasura/migrations/1581377762602_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: employee - table: - name: allocations - schema: public - using: - foreign_key_constraint_on: employeeid - type: create_object_relationship -- args: - name: jobline - table: - name: allocations - schema: public - using: - foreign_key_constraint_on: joblineid - type: create_object_relationship -- args: - name: allocations - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employeeid - table: - name: allocations - schema: public - type: create_array_relationship -- args: - name: allocations - table: - name: joblines - schema: public - using: - foreign_key_constraint_on: - column: joblineid - table: - name: allocations - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/down.yaml b/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/down.yaml deleted file mode 100644 index a2e882f60..000000000 --- a/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/up.yaml b/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/up.yaml deleted file mode 100644 index e980d01b1..000000000 --- a/hasura/migrations/1581377891854_update_permission_user_public_table_allocations/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - hours - - created_at - - updated_at - - employeeid - - id - - joblineid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: allocations - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/down.yaml b/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/down.yaml deleted file mode 100644 index 8f88611f4..000000000 --- a/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/up.yaml b/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/up.yaml deleted file mode 100644 index 4135b17a3..000000000 --- a/hasura/migrations/1581377911733_update_permission_user_public_table_allocations/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - hours - - created_at - - updated_at - - employeeid - - id - - joblineid - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: allocations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/down.yaml b/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/down.yaml deleted file mode 100644 index 86985cb7e..000000000 --- a/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/up.yaml b/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/up.yaml deleted file mode 100644 index 0156cbb97..000000000 --- a/hasura/migrations/1581377928527_update_permission_user_public_table_allocations/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - permission: - columns: - - hours - - created_at - - updated_at - - employeeid - - id - - joblineid - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: allocations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/down.yaml b/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/down.yaml deleted file mode 100644 index 7027008cb..000000000 --- a/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_update_permission -- args: - role: user - table: - name: allocations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/up.yaml b/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/up.yaml deleted file mode 100644 index ed61f4bd9..000000000 --- a/hasura/migrations/1581377943700_update_permission_user_public_table_allocations/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_update_permission -- args: - permission: - columns: [] - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: allocations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/down.yaml b/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/down.yaml deleted file mode 100644 index 99ab508be..000000000 --- a/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: allocations - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/up.yaml b/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/up.yaml deleted file mode 100644 index 6f33b6d84..000000000 --- a/hasura/migrations/1581378054962_update_permission_user_public_table_allocations/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: allocations - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/down.yaml b/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/down.yaml deleted file mode 100644 index 3c799734a..000000000 --- a/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "cieca_stl"; - type: run_sql diff --git a/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/up.yaml b/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/up.yaml deleted file mode 100644 index f7c4980a9..000000000 --- a/hasura/migrations/1581527154709_alter_table_public_jobs_add_column_cieca_stl/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "cieca_stl" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 488ed01e7..000000000 --- a/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index df87d525d..000000000 --- a/hasura/migrations/1581528231712_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,245 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - - cieca_stl - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a6ed6c817..000000000 --- a/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,242 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 877c16c63..000000000 --- a/hasura/migrations/1581528238817_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 973b2115c..000000000 --- a/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index bbee90d97..000000000 --- a/hasura/migrations/1581528245337_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,245 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/down.yaml b/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/down.yaml deleted file mode 100644 index d2ad3b020..000000000 --- a/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "g_bett_amt"; - type: run_sql diff --git a/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/up.yaml b/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/up.yaml deleted file mode 100644 index 01322d071..000000000 --- a/hasura/migrations/1581528309153_alter_table_public_jobs_add_column_g_bett_amt/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "g_bett_amt" numeric NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/down.yaml b/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/down.yaml deleted file mode 100644 index 20466624d..000000000 --- a/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "cieca_ttl"; - type: run_sql diff --git a/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/up.yaml b/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/up.yaml deleted file mode 100644 index 4edc58e27..000000000 --- a/hasura/migrations/1581528565073_alter_table_public_jobs_add_column_cieca_ttl/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "cieca_ttl" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index df87d525d..000000000 --- a/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,245 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - deductible - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - - cieca_stl - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index de3be1a36..000000000 --- a/hasura/migrations/1581529463377_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,246 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 877c16c63..000000000 --- a/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,243 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 16d2b6fb7..000000000 --- a/hasura/migrations/1581529471244_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index bbee90d97..000000000 --- a/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,245 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - deductible - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 90840138f..000000000 --- a/hasura/migrations/1581529480083_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,246 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/down.yaml b/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/down.yaml deleted file mode 100644 index 723e71438..000000000 --- a/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" ADD COLUMN "deductible" numeric - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "deductible" DROP NOT NULL - type: run_sql -- args: - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "deductible" SET DEFAULT 0 - type: run_sql diff --git a/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/up.yaml b/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/up.yaml deleted file mode 100644 index 396306235..000000000 --- a/hasura/migrations/1581529492693_alter_table_public_jobs_drop_column_deductible/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."jobs" DROP COLUMN "deductible" CASCADE - type: run_sql diff --git a/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/down.yaml b/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/down.yaml deleted file mode 100644 index e02cfe92d..000000000 --- a/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" DROP COLUMN "isintake"; - type: run_sql diff --git a/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/up.yaml b/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/up.yaml deleted file mode 100644 index 62dbfbfac..000000000 --- a/hasura/migrations/1581530616257_alter_table_public_appointments_add_column_isintake/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ADD COLUMN "isintake" boolean NOT NULL - DEFAULT true; - type: run_sql diff --git a/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 34cf4841b..000000000 --- a/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 2d7c6806a..000000000 --- a/hasura/migrations/1581530623178_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 7c6811bf8..000000000 --- a/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 9b8f53a5b..000000000 --- a/hasura/migrations/1581530628660_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 1644cd131..000000000 --- a/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index bd68314eb..000000000 --- a/hasura/migrations/1581530632721_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/down.yaml b/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/down.yaml deleted file mode 100644 index a215f8049..000000000 --- a/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" DROP COLUMN "bodyshopid"; - type: run_sql diff --git a/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/up.yaml b/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/up.yaml deleted file mode 100644 index 3a62d703c..000000000 --- a/hasura/migrations/1581533010996_alter_table_public_appointments_add_column_bodyshopid/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ADD COLUMN "bodyshopid" uuid NOT NULL; - type: run_sql diff --git a/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/down.yaml b/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/down.yaml deleted file mode 100644 index d2b5e6acf..000000000 --- a/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/down.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"appointments\" drop constraint \"appointments_bodyshopid_fkey\"\n - \ " - type: run_sql diff --git a/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/up.yaml b/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/up.yaml deleted file mode 100644 index 1eddc1d61..000000000 --- a/hasura/migrations/1581533025791_set_fk_public_appointments_bodyshopid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: "\n alter table \"public\".\"appointments\"\n add constraint - \"appointments_bodyshopid_fkey\"\n foreign key (\"bodyshopid\")\n - \ references \"public\".\"bodyshops\"\n (\"id\") on update - cascade on delete cascade;\n " - type: run_sql diff --git a/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/down.yaml b/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/down.yaml deleted file mode 100644 index 670a8a99f..000000000 --- a/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ALTER COLUMN "jobid" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."appointments"."jobid" IS E'null' - type: run_sql diff --git a/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/up.yaml b/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/up.yaml deleted file mode 100644 index 2b5118988..000000000 --- a/hasura/migrations/1581533035763_alter_table_public_appointments_alter_column_jobid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ALTER COLUMN "jobid" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."appointments"."jobid" IS E'' - type: run_sql diff --git a/hasura/migrations/1581533044908_track_all_relationships/down.yaml b/hasura/migrations/1581533044908_track_all_relationships/down.yaml deleted file mode 100644 index 9e9c5e1f4..000000000 --- a/hasura/migrations/1581533044908_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: bodyshop - table: - name: appointments - schema: public - type: drop_relationship -- args: - relationship: appointments - table: - name: bodyshops - schema: public - type: drop_relationship diff --git a/hasura/migrations/1581533044908_track_all_relationships/up.yaml b/hasura/migrations/1581533044908_track_all_relationships/up.yaml deleted file mode 100644 index 4489d60cd..000000000 --- a/hasura/migrations/1581533044908_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: bodyshop - table: - name: appointments - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship -- args: - name: appointments - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: appointments - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 2d7c6806a..000000000 --- a/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 80392f155..000000000 --- a/hasura/migrations/1581533078439_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 80392f155..000000000 --- a/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index b6a96cd37..000000000 --- a/hasura/migrations/1581533085254_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 9b8f53a5b..000000000 --- a/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index ea389149c..000000000 --- a/hasura/migrations/1581533092537_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index bd68314eb..000000000 --- a/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index eed14f2a7..000000000 --- a/hasura/migrations/1581533100559_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index e40aecd89..000000000 --- a/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_delete_permission -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index c70956bf0..000000000 --- a/hasura/migrations/1581533106127_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_delete_permission -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/down.yaml b/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/down.yaml deleted file mode 100644 index 7dcc18afa..000000000 --- a/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" DROP COLUMN "title"; - type: run_sql diff --git a/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/up.yaml b/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/up.yaml deleted file mode 100644 index e12992c92..000000000 --- a/hasura/migrations/1581536337667_alter_table_public_appointments_add_column_title/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."appointments" ADD COLUMN "title" text NULL; - type: run_sql diff --git a/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index b6a96cd37..000000000 --- a/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 116c67c2d..000000000 --- a/hasura/migrations/1581536568049_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - - bodyshopid - - title - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index ea389149c..000000000 --- a/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 1c74631cf..000000000 --- a/hasura/migrations/1581536573614_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - title - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index eed14f2a7..000000000 --- a/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 264408ea3..000000000 --- a/hasura/migrations/1581536577315_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - title - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/down.yaml b/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/down.yaml deleted file mode 100644 index 4dfd3d0c2..000000000 --- a/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" DROP COLUMN "cost_center"; - type: run_sql diff --git a/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/up.yaml b/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/up.yaml deleted file mode 100644 index 820cc3acf..000000000 --- a/hasura/migrations/1581626650166_alter_table_public_vendors_add_column_cost_center/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ADD COLUMN "cost_center" text NOT NULL; - type: run_sql diff --git a/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/down.yaml b/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/down.yaml deleted file mode 100644 index 09a6eda1f..000000000 --- a/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" DROP COLUMN "favorite"; - type: run_sql diff --git a/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/up.yaml b/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/up.yaml deleted file mode 100644 index 768e11f52..000000000 --- a/hasura/migrations/1581626683086_alter_table_public_vendors_add_column_favorite/up.yaml +++ /dev/null @@ -1,4 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ADD COLUMN "favorite" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 6551fb338..000000000 --- a/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index d9f4efe71..000000000 --- a/hasura/migrations/1581630600157_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - name - - street1 - - street2 - - city - - state - - zip - - country - - email - - taxid - - discount - - prompt_discount - - due_date - - terms - - display_name - - cost_center - - favorite - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 942a75880..000000000 --- a/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 48f129b36..000000000 --- a/hasura/migrations/1581630604954_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - favorite - - due_date - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 069ef986f..000000000 --- a/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - due_date - - discount - - prompt_discount - - city - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 50a77d8ce..000000000 --- a/hasura/migrations/1581630611638_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - favorite - - due_date - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/down.yaml b/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/down.yaml deleted file mode 100644 index 8a5cf3c4e..000000000 --- a/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" TYPE boolean; - type: run_sql -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" SET NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vendors"."favorite" IS E'null' - type: run_sql diff --git a/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/up.yaml b/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/up.yaml deleted file mode 100644 index 906eaaded..000000000 --- a/hasura/migrations/1581709302822_alter_table_public_vendors_alter_column_favorite/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" TYPE bool; - type: run_sql -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" DROP NOT NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."vendors"."favorite" IS E'' - type: run_sql diff --git a/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d9f4efe71..000000000 --- a/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - name - - street1 - - street2 - - city - - state - - zip - - country - - email - - taxid - - discount - - prompt_discount - - due_date - - terms - - display_name - - cost_center - - favorite - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 556607894..000000000 --- a/hasura/migrations/1581709971205_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 48f129b36..000000000 --- a/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - favorite - - due_date - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index d83868cce..000000000 --- a/hasura/migrations/1581709974750_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 50a77d8ce..000000000 --- a/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - favorite - - due_date - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index d202a5ce4..000000000 --- a/hasura/migrations/1581709977611_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/down.yaml b/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/down.yaml deleted file mode 100644 index b47bc0a1a..000000000 --- a/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ADD COLUMN "favorite" bool - type: run_sql -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" DROP NOT NULL - type: run_sql -- args: - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "favorite" SET DEFAULT false - type: run_sql diff --git a/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/up.yaml b/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/up.yaml deleted file mode 100644 index 3d0e308e7..000000000 --- a/hasura/migrations/1581709987588_alter_table_public_vendors_drop_column_favorite/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" DROP COLUMN "favorite" CASCADE - type: run_sql diff --git a/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/down.yaml b/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/down.yaml deleted file mode 100644 index 09a6eda1f..000000000 --- a/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" DROP COLUMN "favorite"; - type: run_sql diff --git a/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/up.yaml b/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/up.yaml deleted file mode 100644 index d8f51f437..000000000 --- a/hasura/migrations/1581710140783_alter_table_public_vendors_add_column_favorite/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."vendors" ADD COLUMN "favorite" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 556607894..000000000 --- a/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 03e3a58fd..000000000 --- a/hasura/migrations/1581710237559_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d83868cce..000000000 --- a/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 326b62d07..000000000 --- a/hasura/migrations/1581710252861_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d202a5ce4..000000000 --- a/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 323704732..000000000 --- a/hasura/migrations/1581710255645_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 556607894..000000000 --- a/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 03e3a58fd..000000000 --- a/hasura/migrations/1581710270792_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d83868cce..000000000 --- a/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 326b62d07..000000000 --- a/hasura/migrations/1581710283854_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d202a5ce4..000000000 --- a/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 323704732..000000000 --- a/hasura/migrations/1581710297623_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/down.yaml b/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/down.yaml deleted file mode 100644 index 993afdbab..000000000 --- a/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."parts_order"."ordered_by_user_id" IS E'null' - type: run_sql -- args: - sql: alter table "public"."parts_order" rename column "user_email" to "ordered_by_user_id"; - type: run_sql diff --git a/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/up.yaml b/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/up.yaml deleted file mode 100644 index 56e2ab5fa..000000000 --- a/hasura/migrations/1582043706822_alter_table_public_parts_order_alter_column_ordered_by_user_id/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: COMMENT ON COLUMN "public"."parts_order"."ordered_by_user_id" IS E'' - type: run_sql -- args: - sql: alter table "public"."parts_order" rename column "ordered_by_user_id" to - "user_email"; - type: run_sql diff --git a/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index a28b92df7..000000000 --- a/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - deliver_by - - order_date - - user_email - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index 0e8a84cb5..000000000 --- a/hasura/migrations/1582045721224_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index ac3a2a0d6..000000000 --- a/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - deliver_by - - order_date - - user_email - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index 08e9c221f..000000000 --- a/hasura/migrations/1582045728861_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index f7b5ecfc5..000000000 --- a/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_update_permission -- args: - permission: - columns: - - deliver_by - - order_date - - user_email - - order_number - - status - - created_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index b26b97e7b..000000000 --- a/hasura/migrations/1582045737366_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/down.yaml b/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/down.yaml deleted file mode 100644 index b4ba58652..000000000 --- a/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order" ADD COLUMN "order_number" text - type: run_sql -- args: - sql: ALTER TABLE "public"."parts_order" ALTER COLUMN "order_number" DROP NOT NULL - type: run_sql diff --git a/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/up.yaml b/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/up.yaml deleted file mode 100644 index b9189571b..000000000 --- a/hasura/migrations/1582045749742_alter_table_public_parts_order_drop_column_order_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order" DROP COLUMN "order_number" CASCADE - type: run_sql diff --git a/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/down.yaml b/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/down.yaml deleted file mode 100644 index f8a565df2..000000000 --- a/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order" DROP COLUMN "order_number"; - type: run_sql diff --git a/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/up.yaml b/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/up.yaml deleted file mode 100644 index dd95799dd..000000000 --- a/hasura/migrations/1582045770954_alter_table_public_parts_order_add_column_order_number/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order" ADD COLUMN "order_number" serial NOT NULL; - type: run_sql diff --git a/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index 0e8a84cb5..000000000 --- a/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index a4b6e5785..000000000 --- a/hasura/migrations/1582045780806_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index 08e9c221f..000000000 --- a/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index 046b734a6..000000000 --- a/hasura/migrations/1582045788161_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/down.yaml b/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/down.yaml deleted file mode 100644 index b26b97e7b..000000000 --- a/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - status - - updated_at - - user_email - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/up.yaml b/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/up.yaml deleted file mode 100644 index e947dcbf3..000000000 --- a/hasura/migrations/1582045795840_update_permission_user_public_table_parts_order/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order - schema: public - type: drop_update_permission -- args: - permission: - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582046821601_rename_table_public_parts_order/down.yaml b/hasura/migrations/1582046821601_rename_table_public_parts_order/down.yaml deleted file mode 100644 index f514d42a4..000000000 --- a/hasura/migrations/1582046821601_rename_table_public_parts_order/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: alter table "public"."parts_orders" rename to "parts_order"; - type: run_sql diff --git a/hasura/migrations/1582046821601_rename_table_public_parts_order/up.yaml b/hasura/migrations/1582046821601_rename_table_public_parts_order/up.yaml deleted file mode 100644 index b53dd0ca0..000000000 --- a/hasura/migrations/1582046821601_rename_table_public_parts_order/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: alter table "public"."parts_order" rename to "parts_orders"; - type: run_sql diff --git a/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/down.yaml b/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/down.yaml deleted file mode 100644 index bbc7d5da9..000000000 --- a/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order_lines" ALTER COLUMN "line_desc" SET NOT - NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."parts_order_lines"."line_desc" IS E'null' - type: run_sql diff --git a/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/up.yaml b/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/up.yaml deleted file mode 100644 index 387d827fb..000000000 --- a/hasura/migrations/1582047255981_alter_table_public_parts_order_lines_alter_column_line_desc/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - sql: ALTER TABLE "public"."parts_order_lines" ALTER COLUMN "line_desc" DROP NOT - NULL; - type: run_sql -- args: - sql: COMMENT ON COLUMN "public"."parts_order_lines"."line_desc" IS E'' - type: run_sql diff --git a/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/down.yaml b/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/down.yaml deleted file mode 100644 index dcbbe420b..000000000 --- a/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/down.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_order_statuses"; - type: run_sql diff --git a/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/up.yaml b/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/up.yaml deleted file mode 100644 index 138c6a957..000000000 --- a/hasura/migrations/1582047550643_alter_table_public_bodyshops_add_column_md_order_statuses/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_order_statuses" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 0575c9859..000000000 --- a/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - region_config - - shopname - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f9e53c75e..000000000 --- a/hasura/migrations/1582047561858_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 0c9193996..000000000 --- a/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - md_ro_statuses - - shopname - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 455dce879..000000000 --- a/hasura/migrations/1582047570605_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - md_order_statuses - - md_ro_statuses - - address1 - - address2 - - city - - country - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - region_config - - shopname - - state - - state_tax_id - - zip_post - - created_at - - updated_at - - id - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582151001705_drop_function_public_search_owners/down.yaml b/hasura/migrations/1582151001705_drop_function_public_search_owners/down.yaml deleted file mode 100644 index 7db16d05c..000000000 --- a/hasura/migrations/1582151001705_drop_function_public_search_owners/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - sql: "CREATE OR REPLACE FUNCTION public.search_owners(search text)\n RETURNS SETOF - owners\n LANGUAGE sql\n STABLE\nAS $function$\r\n SELECT *\r\n FROM owners\r\n - \ WHERE\r\n search <% (ownr_fn || ' ' || ownr_ln || ' ' || ownr_addr1 - \ || ' ' || ownr_city || ' ' || ownr_zip || ' ' || ownr_ea || ' ' || ownr_ph1 - || ' ' || ownr_ph2)\r\n ORDER BY\r\n similarity(search, (ownr_fn || - ' ' || ownr_ln || ' ' || ownr_addr1 || ' ' || ownr_city || ' ' || ownr_zip - \ || ' ' || ownr_ea || ' ' || ownr_ph1 || ' ' || ownr_ph2)) DESC\r\n LIMIT - 20;\r\n$function$\n" - type: run_sql diff --git a/hasura/migrations/1582151001705_drop_function_public_search_owners/up.yaml b/hasura/migrations/1582151001705_drop_function_public_search_owners/up.yaml deleted file mode 100644 index 8069a913e..000000000 --- a/hasura/migrations/1582151001705_drop_function_public_search_owners/up.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- args: - sql: DROP FUNCTION "public"."search_owners"("pg_catalog"."text") - type: run_sql diff --git a/hasura/migrations/1582151051596_run_sql_migration/down.yaml b/hasura/migrations/1582151051596_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1582151051596_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1582151051596_run_sql_migration/up.yaml b/hasura/migrations/1582151051596_run_sql_migration/up.yaml deleted file mode 100644 index 6660126ad..000000000 --- a/hasura/migrations/1582151051596_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - sql: | - drop index owner_gin_idx - type: run_sql diff --git a/hasura/migrations/1582151260638_run_sql_migration/down.yaml b/hasura/migrations/1582151260638_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1582151260638_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1582151260638_run_sql_migration/up.yaml b/hasura/migrations/1582151260638_run_sql_migration/up.yaml deleted file mode 100644 index 9601b443c..000000000 --- a/hasura/migrations/1582151260638_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - sql: "CREATE INDEX idx_owner_name ON owners\r\nUSING GIN ((ownr_fn || ' ' || ownr_ln) - gin_trgm_ops);" - type: run_sql diff --git a/hasura/migrations/1582151340160_run_sql_migration/down.yaml b/hasura/migrations/1582151340160_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1582151340160_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1582151340160_run_sql_migration/up.yaml b/hasura/migrations/1582151340160_run_sql_migration/up.yaml deleted file mode 100644 index 06bb94faf..000000000 --- a/hasura/migrations/1582151340160_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - sql: "CREATE FUNCTION search_owner(search text)\r\nRETURNS SETOF owners AS $$\r\n - \ SELECT *\r\n FROM owners\r\n WHERE\r\n search <% (ownr_fn || - ' ' || ownr_ln)\r\n ORDER BY\r\n similarity(search, (ownr_fn || ' ' - || ownr_ln)) DESC\r\n LIMIT 5;\r\n$$ LANGUAGE sql STABLE;" - type: run_sql -- args: - name: search_owner - schema: public - type: track_function diff --git a/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/down.yaml b/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/down.yaml deleted file mode 100644 index 2c4cd87c3..000000000 --- a/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "status"; - type: run_sql diff --git a/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/up.yaml b/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/up.yaml deleted file mode 100644 index 428023a4c..000000000 --- a/hasura/migrations/1582224710136_alter_table_public_joblines_add_column_status/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "status" text NULL; - type: run_sql diff --git a/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 3d0722715..000000000 --- a/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - - op_code_desc - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index df8b59464..000000000 --- a/hasura/migrations/1582224725146_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - - op_code_desc - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 32c4e42a2..000000000 --- a/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index c639e07f8..000000000 --- a/hasura/migrations/1582224730652_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index befcc2bb7..000000000 --- a/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index a04baffe3..000000000 --- a/hasura/migrations/1582224737046_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582587971597_create_table_public_invoices/down.yaml b/hasura/migrations/1582587971597_create_table_public_invoices/down.yaml deleted file mode 100644 index 78d023a7a..000000000 --- a/hasura/migrations/1582587971597_create_table_public_invoices/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."invoices"; - type: run_sql diff --git a/hasura/migrations/1582587971597_create_table_public_invoices/up.yaml b/hasura/migrations/1582587971597_create_table_public_invoices/up.yaml deleted file mode 100644 index 55008cf33..000000000 --- a/hasura/migrations/1582587971597_create_table_public_invoices/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"invoices\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"vendorid\" uuid NOT NULL, \"jobid\" uuid NOT NULL, - \"date\" date NOT NULL DEFAULT now(), \"due_date\" date, \"exported\" boolean - NOT NULL DEFAULT false, \"exported_at\" timestamptz, \"is_credit_memo\" boolean - NOT NULL DEFAULT false, \"total\" numeric NOT NULL DEFAULT 0, \"invoice_number\" - text NOT NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE restrict ON DELETE cascade, FOREIGN KEY (\"vendorid\") REFERENCES - \"public\".\"vendors\"(\"id\") ON UPDATE restrict ON DELETE restrict, UNIQUE - (\"jobid\"));\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_invoices_updated_at\"\nBEFORE - UPDATE ON \"public\".\"invoices\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_invoices_updated_at\" ON \"public\".\"invoices\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: invoices - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1582587989233_track_all_relationships/down.yaml b/hasura/migrations/1582587989233_track_all_relationships/down.yaml deleted file mode 100644 index 3c27d1b54..000000000 --- a/hasura/migrations/1582587989233_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: job - table: - name: invoices - schema: public - type: drop_relationship -- args: - relationship: vendor - table: - name: invoices - schema: public - type: drop_relationship -- args: - relationship: invoice - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: invoices - table: - name: vendors - schema: public - type: drop_relationship diff --git a/hasura/migrations/1582587989233_track_all_relationships/up.yaml b/hasura/migrations/1582587989233_track_all_relationships/up.yaml deleted file mode 100644 index 266395edb..000000000 --- a/hasura/migrations/1582587989233_track_all_relationships/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - name: job - table: - name: invoices - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: vendor - table: - name: invoices - schema: public - using: - foreign_key_constraint_on: vendorid - type: create_object_relationship -- args: - name: invoice - table: - name: jobs - schema: public - using: - manual_configuration: - column_mapping: - id: jobid - remote_table: - name: invoices - schema: public - type: create_object_relationship -- args: - name: invoices - table: - name: vendors - schema: public - using: - foreign_key_constraint_on: - column: vendorid - table: - name: invoices - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index dadeb8ce0..000000000 --- a/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index 33a70c629..000000000 --- a/hasura/migrations/1582588052326_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - vendorid - - jobid - - date - - due_date - - exported - - exported_at - - is_credit_memo - - total - - invoice_number - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index 9ce2f6b37..000000000 --- a/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index 393b945c5..000000000 --- a/hasura/migrations/1582588061657_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - exported - - is_credit_memo - - date - - due_date - - total - - invoice_number - - created_at - - exported_at - - updated_at - - id - - jobid - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: invoices - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index f221ea65f..000000000 --- a/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index add508bd2..000000000 --- a/hasura/migrations/1582588071369_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - columns: - - exported - - is_credit_memo - - date - - due_date - - total - - invoice_number - - created_at - - exported_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582588465637_create_table_public_invoicelines/down.yaml b/hasura/migrations/1582588465637_create_table_public_invoicelines/down.yaml deleted file mode 100644 index 3c7b9280f..000000000 --- a/hasura/migrations/1582588465637_create_table_public_invoicelines/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."invoicelines"; - type: run_sql diff --git a/hasura/migrations/1582588465637_create_table_public_invoicelines/up.yaml b/hasura/migrations/1582588465637_create_table_public_invoicelines/up.yaml deleted file mode 100644 index cc2bed198..000000000 --- a/hasura/migrations/1582588465637_create_table_public_invoicelines/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"invoicelines\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"invoiceid\" uuid NOT NULL, \"line_desc\" text, \"actual_price\" - numeric NOT NULL DEFAULT 0, \"actual_cost\" numeric NOT NULL DEFAULT 0, \"cost_center\" - text NOT NULL, \"estlindid\" uuid, PRIMARY KEY (\"id\") , FOREIGN KEY (\"invoiceid\") - REFERENCES \"public\".\"invoices\"(\"id\") ON UPDATE restrict ON DELETE cascade);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_invoicelines_updated_at\"\nBEFORE - UPDATE ON \"public\".\"invoicelines\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_invoicelines_updated_at\" ON \"public\".\"invoicelines\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: invoicelines - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1582588478430_track_all_relationships/down.yaml b/hasura/migrations/1582588478430_track_all_relationships/down.yaml deleted file mode 100644 index b87036054..000000000 --- a/hasura/migrations/1582588478430_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: invoice - table: - name: invoicelines - schema: public - type: drop_relationship -- args: - relationship: invoicelines - table: - name: invoices - schema: public - type: drop_relationship diff --git a/hasura/migrations/1582588478430_track_all_relationships/up.yaml b/hasura/migrations/1582588478430_track_all_relationships/up.yaml deleted file mode 100644 index c2420cefb..000000000 --- a/hasura/migrations/1582588478430_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: invoice - table: - name: invoicelines - schema: public - using: - foreign_key_constraint_on: invoiceid - type: create_object_relationship -- args: - name: invoicelines - table: - name: invoices - schema: public - using: - foreign_key_constraint_on: - column: invoiceid - table: - name: invoicelines - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 8c11bf4b6..000000000 --- a/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index e174b2077..000000000 --- a/hasura/migrations/1582588520891_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - invoiceid - - line_desc - - actual_price - - actual_cost - - cost_center - - estlindid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index cf0af8966..000000000 --- a/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index 14f825a78..000000000 --- a/hasura/migrations/1582588525612_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - cost_center - - line_desc - - created_at - - updated_at - - estlindid - - id - - invoiceid - computed_fields: [] - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: invoicelines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 5df677663..000000000 --- a/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index 756147e8f..000000000 --- a/hasura/migrations/1582588530315_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - columns: - - actual_cost - - actual_price - - cost_center - - line_desc - - created_at - - updated_at - - estlindid - - id - - invoiceid - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index f5bb498ae..000000000 --- a/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index 174807864..000000000 --- a/hasura/migrations/1582588553560_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoicelines - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/down.yaml b/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/down.yaml deleted file mode 100644 index 0a8816270..000000000 --- a/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_responsibility_centers"; - type: run_sql diff --git a/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/up.yaml b/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/up.yaml deleted file mode 100644 index b31a64458..000000000 --- a/hasura/migrations/1583197013415_alter_table_public_bodyshops_add_column_md_responsibility_centers/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_responsibility_centers" jsonb - NULL; - type: run_sql diff --git a/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f9e53c75e..000000000 --- a/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c3ec5c35a..000000000 --- a/hasura/migrations/1583197023778_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - - md_responsibility_centers - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 455dce879..000000000 --- a/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - md_order_statuses - - md_ro_statuses - - address1 - - address2 - - city - - country - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - region_config - - shopname - - state - - state_tax_id - - zip_post - - created_at - - updated_at - - id - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 703a9ce7b..000000000 --- a/hasura/migrations/1583197028783_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - address1 - - address2 - - city - - country - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - region_config - - shopname - - state - - state_tax_id - - zip_post - - created_at - - updated_at - - id - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/down.yaml b/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/down.yaml deleted file mode 100644 index f7a944ae4..000000000 --- a/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoicelines" rename column "joblineid" to "estlindid"; - type: run_sql diff --git a/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/up.yaml b/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/up.yaml deleted file mode 100644 index a1c922680..000000000 --- a/hasura/migrations/1583258675482_alter_table_public_invoicelines_alter_column_estlindid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoicelines" rename column "estlindid" to "joblineid"; - type: run_sql diff --git a/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/down.yaml b/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/down.yaml deleted file mode 100644 index 72b2ace18..000000000 --- a/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoices" add constraint "invoices_jobid_key" unique - ("jobid"); - type: run_sql diff --git a/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/up.yaml b/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/up.yaml deleted file mode 100644 index 7cde85cbe..000000000 --- a/hasura/migrations/1583261795848_alter_table_public_invoices_drop_constraint_invoices_jobid_key/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoices" drop constraint "invoices_jobid_key"; - type: run_sql diff --git a/hasura/migrations/1583795241718_run_sql_migration/down.yaml b/hasura/migrations/1583795241718_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1583795241718_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1583795241718_run_sql_migration/up.yaml b/hasura/migrations/1583795241718_run_sql_migration/up.yaml deleted file mode 100644 index f8bdf2c76..000000000 --- a/hasura/migrations/1583795241718_run_sql_migration/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE TABLE audit_trail (\r\n \r\n id serial PRIMARY - KEY, \r\n \r\n created timestamp DEFAULT now(),\r\n - \r\n schemaname text,\r\n \r\n tabname text,\r\n - \r\n operation text,\r\n recordid uuid,\r\n \r\n - \ -- who text DEFAULT current_user,\r\n \r\n new_val - \ json,\r\n \r\n old_val json,\r\n - \ useremail text,\r\n bodyshopid uuid\r\n \r\n);" - type: run_sql -- args: - name: audit_trail - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/down.yaml b/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/down.yaml deleted file mode 100644 index 5126a58aa..000000000 --- a/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."audit_trail" drop constraint "audit_trail_useremail_fkey"; - type: run_sql diff --git a/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/up.yaml b/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/up.yaml deleted file mode 100644 index f9377b0d6..000000000 --- a/hasura/migrations/1583795259202_set_fk_public_audit_trail_useremail/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."audit_trail" - add constraint "audit_trail_useremail_fkey" - foreign key ("useremail") - references "public"."users" - ("email") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/down.yaml b/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/down.yaml deleted file mode 100644 index 7190d6942..000000000 --- a/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."audit_trail" drop constraint "audit_trail_useremail_fkey", - add constraint "audit_trail_useremail_fkey" - foreign key ("useremail") - references "public"."users" - ("email") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/up.yaml b/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/up.yaml deleted file mode 100644 index 77cd23149..000000000 --- a/hasura/migrations/1583795265403_set_fk_public_audit_trail_useremail/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."audit_trail" drop constraint "audit_trail_useremail_fkey", - add constraint "audit_trail_useremail_fkey" - foreign key ("useremail") - references "public"."users" - ("email") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/down.yaml b/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/down.yaml deleted file mode 100644 index 28b059e7b..000000000 --- a/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."audit_trail" drop constraint "audit_trail_bodyshopid_fkey"; - type: run_sql diff --git a/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/up.yaml b/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/up.yaml deleted file mode 100644 index 19c6197ee..000000000 --- a/hasura/migrations/1583795281646_set_fk_public_audit_trail_bodyshopid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."audit_trail" - add constraint "audit_trail_bodyshopid_fkey" - foreign key ("bodyshopid") - references "public"."bodyshops" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1583795349329_run_sql_migration/down.yaml b/hasura/migrations/1583795349329_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1583795349329_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1583795349329_run_sql_migration/up.yaml b/hasura/migrations/1583795349329_run_sql_migration/up.yaml deleted file mode 100644 index ea55a6583..000000000 --- a/hasura/migrations/1583795349329_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION json_diff(l JSONB, r JSONB) RETURNS JSONB AS\r\n$json_diff$\r\n - \ SELECT jsonb_object_agg(a.key, a.value) FROM\r\n ( SELECT key, value - FROM jsonb_each(l) ) a LEFT OUTER JOIN\r\n ( SELECT key, value FROM jsonb_each(r) - ) b ON a.key = b.key\r\n WHERE a.value != b.value OR b.key IS NULL;\r\n$json_diff$\r\n - \ LANGUAGE sql;" - type: run_sql diff --git a/hasura/migrations/1583795594722_run_sql_migration/down.yaml b/hasura/migrations/1583795594722_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1583795594722_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1583795594722_run_sql_migration/up.yaml b/hasura/migrations/1583795594722_run_sql_migration/up.yaml deleted file mode 100644 index b5587b2db..000000000 --- a/hasura/migrations/1583795594722_run_sql_migration/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION audit_trigger() RETURNS trigger AS $$\r\n \r\n - DECLARE\r\n shopid uuid ;\r\n email text;\r\n\r\n BEGIN\r\n \r\n select - b.id, u.email INTO shopid, email from users u join associations a on u.email - = a.useremail join bodyshops b on b.id = a.shopid where u.authid = current_setting('hasura.user', - 't')::jsonb->>'x-hasura-user-id' and a.active = true;\r\n\r\n IF - \ TG_OP = 'INSERT'\r\n \r\n THEN\r\n \r\n INSERT - INTO public.audit_trail (tabname, schemaname, operation, new_val, recordid, - bodyshopid, useremail)\r\n \r\n VALUES (TG_RELNAME, - TG_TABLE_SCHEMA, TG_OP, row_to_json(NEW), NEW.id, shopid, email);\r\n \r\n RETURN - NEW;\r\n \r\n ELSIF TG_OP = 'UPDATE'\r\n \r\n THEN\r\n - \r\n INSERT INTO public.audit_trail (tabname, schemaname, - operation, old_val, new_val, recordid, bodyshopid, useremail)\r\n \r\n VALUES - (TG_RELNAME, TG_TABLE_SCHEMA, TG_OP,\r\n \r\n json_diff(to_jsonb(OLD), - to_jsonb(NEW)) , json_diff(to_jsonb(NEW), to_jsonb(OLD)), OLD.id, shopid, - email);\r\n \r\n RETURN NEW;\r\n \r\n ELSIF - \ TG_OP = 'DELETE'\r\n \r\n THEN\r\n \r\n INSERT - INTO public.audit_trail (tabname, schemaname, operation, old_val, recordid, - bodyshopid, useremail)\r\n \r\n VALUES (TG_RELNAME, - TG_TABLE_SCHEMA, TG_OP, row_to_json(OLD), OLD.ID, shopid, email);\r\n \r\n - \ RETURN OLD;\r\n \r\n END IF;\r\n \r\n - \ END;\r\n \r\n$$ LANGUAGE 'plpgsql' SECURITY DEFINER;" - type: run_sql diff --git a/hasura/migrations/1583795623008_run_sql_migration/down.yaml b/hasura/migrations/1583795623008_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1583795623008_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1583795623008_run_sql_migration/up.yaml b/hasura/migrations/1583795623008_run_sql_migration/up.yaml deleted file mode 100644 index 9808a5e1e..000000000 --- a/hasura/migrations/1583795623008_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE TRIGGER audit_trigger_jobs AFTER INSERT OR UPDATE OR DELETE ON jobs\r\n - \ FOR EACH ROW EXECUTE PROCEDURE audit_trigger();" - type: run_sql diff --git a/hasura/migrations/1583795859969_track_all_relationships/down.yaml b/hasura/migrations/1583795859969_track_all_relationships/down.yaml deleted file mode 100644 index 22113aaa1..000000000 --- a/hasura/migrations/1583795859969_track_all_relationships/down.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - relationship: user - table: - name: audit_trail - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: audit_trail - schema: public - type: drop_relationship -- args: - relationship: audit_trails - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: invoices - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: audit_trails - table: - name: users - schema: public - type: drop_relationship diff --git a/hasura/migrations/1583795859969_track_all_relationships/up.yaml b/hasura/migrations/1583795859969_track_all_relationships/up.yaml deleted file mode 100644 index 4dd73c75d..000000000 --- a/hasura/migrations/1583795859969_track_all_relationships/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - name: user - table: - name: audit_trail - schema: public - using: - foreign_key_constraint_on: useremail - type: create_object_relationship -- args: - name: bodyshop - table: - name: audit_trail - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship -- args: - name: audit_trails - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: audit_trail - schema: public - type: create_array_relationship -- args: - name: invoices - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: invoices - schema: public - type: create_array_relationship -- args: - name: audit_trails - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: useremail - table: - name: audit_trail - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/down.yaml b/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/down.yaml deleted file mode 100644 index a089342f6..000000000 --- a/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: audit_trail - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/up.yaml b/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/up.yaml deleted file mode 100644 index 98f8fe2c6..000000000 --- a/hasura/migrations/1583795952143_update_permission_user_public_table_audit_trail/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created - - schemaname - - tabname - - operation - - recordid - - new_val - - old_val - - useremail - - bodyshopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: audit_trail - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/down.yaml b/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/down.yaml deleted file mode 100644 index 08e9eb62d..000000000 --- a/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: audit_trail - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/up.yaml b/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/up.yaml deleted file mode 100644 index e36789f21..000000000 --- a/hasura/migrations/1583795958753_update_permission_user_public_table_audit_trail/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - new_val - - old_val - - operation - - schemaname - - tabname - - useremail - - created - - bodyshopid - - recordid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: audit_trail - schema: public - type: create_select_permission diff --git a/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/down.yaml b/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/down.yaml deleted file mode 100644 index e98aa1da4..000000000 --- a/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/down.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created - - schemaname - - tabname - - operation - - recordid - - new_val - - old_val - - useremail - - bodyshopid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: audit_trail - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/up.yaml b/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/up.yaml deleted file mode 100644 index a089342f6..000000000 --- a/hasura/migrations/1583795964235_delete_permission_user_public_table_audit_trail/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: audit_trail - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/down.yaml b/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/down.yaml deleted file mode 100644 index 2681ad46f..000000000 --- a/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" DROP COLUMN "vendorid"; - type: run_sql diff --git a/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/up.yaml b/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/up.yaml deleted file mode 100644 index e6c1c4e06..000000000 --- a/hasura/migrations/1584473267942_alter_table_public_documents_add_column_vendorid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ADD COLUMN "vendorid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/down.yaml b/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/down.yaml deleted file mode 100644 index 80ca6fb70..000000000 --- a/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" drop constraint "documents_vendorid_fkey"; - type: run_sql diff --git a/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/up.yaml b/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/up.yaml deleted file mode 100644 index c0e884737..000000000 --- a/hasura/migrations/1584473287107_set_fk_public_documents_vendorid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" - add constraint "documents_vendorid_fkey" - foreign key ("vendorid") - references "public"."vendors" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/down.yaml b/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/down.yaml deleted file mode 100644 index 0e728bd0e..000000000 --- a/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" rename column "invoiceid" to "vendorid"; - type: run_sql diff --git a/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/up.yaml b/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/up.yaml deleted file mode 100644 index c3bd47a96..000000000 --- a/hasura/migrations/1584473300420_alter_table_public_documents_alter_column_vendorid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" rename column "vendorid" to "invoiceid"; - type: run_sql diff --git a/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/down.yaml b/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/down.yaml deleted file mode 100644 index 15453f19e..000000000 --- a/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" drop constraint "documents_invoiceid_fkey", - add constraint "documents_vendorid_fkey" - foreign key ("invoiceid") - references "public"."vendors" - ("id") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/up.yaml b/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/up.yaml deleted file mode 100644 index bc09f6d6c..000000000 --- a/hasura/migrations/1584473314865_set_fk_public_documents_invoiceid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" drop constraint "documents_vendorid_fkey", - add constraint "documents_invoiceid_fkey" - foreign key ("invoiceid") - references "public"."invoices" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1584473335595_track_all_relationships/down.yaml b/hasura/migrations/1584473335595_track_all_relationships/down.yaml deleted file mode 100644 index 19b217230..000000000 --- a/hasura/migrations/1584473335595_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: invoice - table: - name: documents - schema: public - type: drop_relationship -- args: - relationship: documents - table: - name: invoices - schema: public - type: drop_relationship diff --git a/hasura/migrations/1584473335595_track_all_relationships/up.yaml b/hasura/migrations/1584473335595_track_all_relationships/up.yaml deleted file mode 100644 index 7efda261a..000000000 --- a/hasura/migrations/1584473335595_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: invoice - table: - name: documents - schema: public - using: - foreign_key_constraint_on: invoiceid - type: create_object_relationship -- args: - name: documents - table: - name: invoices - schema: public - using: - foreign_key_constraint_on: - column: invoiceid - table: - name: documents - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1585153417017_create_table_public_conversations/down.yaml b/hasura/migrations/1585153417017_create_table_public_conversations/down.yaml deleted file mode 100644 index 7506556ae..000000000 --- a/hasura/migrations/1585153417017_create_table_public_conversations/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."conversations"; - type: run_sql diff --git a/hasura/migrations/1585153417017_create_table_public_conversations/up.yaml b/hasura/migrations/1585153417017_create_table_public_conversations/up.yaml deleted file mode 100644 index d47a32f63..000000000 --- a/hasura/migrations/1585153417017_create_table_public_conversations/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"conversations\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid NOT NULL, \"phone_num\" text NOT - NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") - ON UPDATE restrict ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_conversations_updated_at\"\nBEFORE - UPDATE ON \"public\".\"conversations\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_conversations_updated_at\" ON \"public\".\"conversations\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: conversations - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1585153424258_track_all_relationships/down.yaml b/hasura/migrations/1585153424258_track_all_relationships/down.yaml deleted file mode 100644 index 743e81ec2..000000000 --- a/hasura/migrations/1585153424258_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: conversations - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: conversations - schema: public - type: drop_relationship diff --git a/hasura/migrations/1585153424258_track_all_relationships/up.yaml b/hasura/migrations/1585153424258_track_all_relationships/up.yaml deleted file mode 100644 index 11d3f3218..000000000 --- a/hasura/migrations/1585153424258_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: conversations - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: conversations - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: conversations - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/down.yaml b/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/down.yaml deleted file mode 100644 index 67eac0759..000000000 --- a/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: conversations - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/up.yaml b/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/up.yaml deleted file mode 100644 index 099167a94..000000000 --- a/hasura/migrations/1585153464139_update_permission_user_public_table_conversations/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - phone_num - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: conversations - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/down.yaml b/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/down.yaml deleted file mode 100644 index b20d844fd..000000000 --- a/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: conversations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/up.yaml b/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/up.yaml deleted file mode 100644 index a72ab0fcd..000000000 --- a/hasura/migrations/1585153470172_update_permission_user_public_table_conversations/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: conversations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/down.yaml b/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/down.yaml deleted file mode 100644 index 18af93644..000000000 --- a/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: conversations - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/up.yaml b/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/up.yaml deleted file mode 100644 index 117094ed9..000000000 --- a/hasura/migrations/1585153476909_update_permission_user_public_table_conversations/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: conversations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585153777706_create_table_public_messages/down.yaml b/hasura/migrations/1585153777706_create_table_public_messages/down.yaml deleted file mode 100644 index 44cc529da..000000000 --- a/hasura/migrations/1585153777706_create_table_public_messages/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."messages"; - type: run_sql diff --git a/hasura/migrations/1585153777706_create_table_public_messages/up.yaml b/hasura/migrations/1585153777706_create_table_public_messages/up.yaml deleted file mode 100644 index 90098df5e..000000000 --- a/hasura/migrations/1585153777706_create_table_public_messages/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"messages\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"msid\" text NOT NULL, \"conversationid\" uuid NOT - NULL, \"text\" text, \"image\" boolean NOT NULL DEFAULT false, \"image_path\" - text, \"sent\" boolean NOT NULL DEFAULT false, \"delivered\" boolean NOT NULL - DEFAULT false, PRIMARY KEY (\"id\") , FOREIGN KEY (\"conversationid\") REFERENCES - \"public\".\"conversations\"(\"id\") ON UPDATE restrict ON DELETE restrict, - UNIQUE (\"msid\"));\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_messages_updated_at\"\nBEFORE - UPDATE ON \"public\".\"messages\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_messages_updated_at\" ON \"public\".\"messages\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: messages - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1585153792735_track_all_relationships/down.yaml b/hasura/migrations/1585153792735_track_all_relationships/down.yaml deleted file mode 100644 index 7cd99e818..000000000 --- a/hasura/migrations/1585153792735_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: messages - table: - name: conversations - schema: public - type: drop_relationship -- args: - relationship: conversation - table: - name: messages - schema: public - type: drop_relationship diff --git a/hasura/migrations/1585153792735_track_all_relationships/up.yaml b/hasura/migrations/1585153792735_track_all_relationships/up.yaml deleted file mode 100644 index 64e797095..000000000 --- a/hasura/migrations/1585153792735_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: messages - table: - name: conversations - schema: public - using: - foreign_key_constraint_on: - column: conversationid - table: - name: messages - schema: public - type: create_array_relationship -- args: - name: conversation - table: - name: messages - schema: public - using: - foreign_key_constraint_on: conversationid - type: create_object_relationship diff --git a/hasura/migrations/1585153822636_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585153822636_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 0755f37de..000000000 --- a/hasura/migrations/1585153822636_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1585153822636_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585153822636_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 88977313f..000000000 --- a/hasura/migrations/1585153822636_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - sent - - delivered - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585153829941_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585153829941_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 2c2c6944f..000000000 --- a/hasura/migrations/1585153829941_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1585153829941_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585153829941_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 02a52dae6..000000000 --- a/hasura/migrations/1585153829941_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - delivered - - image - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585153837554_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585153837554_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 2a52a80ae..000000000 --- a/hasura/migrations/1585153837554_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1585153837554_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585153837554_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 6bfebbe3d..000000000 --- a/hasura/migrations/1585153837554_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - columns: - - delivered - - image - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585153843391_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585153843391_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index c7b5b652b..000000000 --- a/hasura/migrations/1585153843391_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1585153843391_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585153843391_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 14905b779..000000000 --- a/hasura/migrations/1585153843391_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1585153926580_create_table_public_job_conversations/down.yaml b/hasura/migrations/1585153926580_create_table_public_job_conversations/down.yaml deleted file mode 100644 index adb6db985..000000000 --- a/hasura/migrations/1585153926580_create_table_public_job_conversations/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."job_conversations"; - type: run_sql diff --git a/hasura/migrations/1585153926580_create_table_public_job_conversations/up.yaml b/hasura/migrations/1585153926580_create_table_public_job_conversations/up.yaml deleted file mode 100644 index 1eb5ad992..000000000 --- a/hasura/migrations/1585153926580_create_table_public_job_conversations/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE TABLE "public"."job_conversations"("jobid" uuid NOT NULL, "conversationid" - uuid NOT NULL, PRIMARY KEY ("jobid","conversationid") , FOREIGN KEY ("jobid") - REFERENCES "public"."jobs"("id") ON UPDATE restrict ON DELETE restrict, FOREIGN - KEY ("conversationid") REFERENCES "public"."conversations"("id") ON UPDATE restrict - ON DELETE restrict); - type: run_sql -- args: - name: job_conversations - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1585153936524_track_all_relationships/down.yaml b/hasura/migrations/1585153936524_track_all_relationships/down.yaml deleted file mode 100644 index 18e9769cb..000000000 --- a/hasura/migrations/1585153936524_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: job_conversations - table: - name: conversations - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: job_conversations - schema: public - type: drop_relationship -- args: - relationship: conversation - table: - name: job_conversations - schema: public - type: drop_relationship -- args: - relationship: job_conversations - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1585153936524_track_all_relationships/up.yaml b/hasura/migrations/1585153936524_track_all_relationships/up.yaml deleted file mode 100644 index ddad5f3e9..000000000 --- a/hasura/migrations/1585153936524_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: job_conversations - table: - name: conversations - schema: public - using: - foreign_key_constraint_on: - column: conversationid - table: - name: job_conversations - schema: public - type: create_array_relationship -- args: - name: job - table: - name: job_conversations - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: conversation - table: - name: job_conversations - schema: public - using: - foreign_key_constraint_on: conversationid - type: create_object_relationship -- args: - name: job_conversations - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: job_conversations - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/down.yaml b/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/down.yaml deleted file mode 100644 index 3c0c6b457..000000000 --- a/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_conversations - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/up.yaml b/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/up.yaml deleted file mode 100644 index 5ae11e78e..000000000 --- a/hasura/migrations/1585154004360_update_permission_user_public_table_job_conversations/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - jobid - - conversationid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_conversations - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/down.yaml b/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/down.yaml deleted file mode 100644 index 507bcf27d..000000000 --- a/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_conversations - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/up.yaml b/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/up.yaml deleted file mode 100644 index 423d9fc3c..000000000 --- a/hasura/migrations/1585154010719_update_permission_user_public_table_job_conversations/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - conversationid - - jobid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: job_conversations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/down.yaml b/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/down.yaml deleted file mode 100644 index 28aa3576d..000000000 --- a/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_conversations - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/up.yaml b/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/up.yaml deleted file mode 100644 index 82df37ce8..000000000 --- a/hasura/migrations/1585154018518_update_permission_user_public_table_job_conversations/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - permission: - columns: - - conversationid - - jobid - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: job_conversations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/down.yaml b/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/down.yaml deleted file mode 100644 index a6f9b0b8e..000000000 --- a/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: job_conversations - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/up.yaml b/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/up.yaml deleted file mode 100644 index a44463301..000000000 --- a/hasura/migrations/1585154023698_update_permission_user_public_table_job_conversations/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: job_conversations - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/down.yaml b/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/down.yaml deleted file mode 100644 index 8d67ac880..000000000 --- a/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "isoutbound"; - type: run_sql diff --git a/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/up.yaml b/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/up.yaml deleted file mode 100644 index c1f7bb533..000000000 --- a/hasura/migrations/1585160133244_alter_table_public_messages_add_column_isoutbound/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "isoutbound" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1585160140032_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585160140032_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index c3f1ece2c..000000000 --- a/hasura/migrations/1585160140032_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - sent - - delivered - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585160140032_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585160140032_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 3d5f212d0..000000000 --- a/hasura/migrations/1585160140032_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - sent - - delivered - - isoutbound - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585160145919_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585160145919_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 829390ace..000000000 --- a/hasura/migrations/1585160145919_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - delivered - - image - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585160145919_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585160145919_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 24e4f5a60..000000000 --- a/hasura/migrations/1585160145919_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - delivered - - image - - isoutbound - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585160150937_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585160150937_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 31797c48f..000000000 --- a/hasura/migrations/1585160150937_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - delivered - - image - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585160150937_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585160150937_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 29938a450..000000000 --- a/hasura/migrations/1585160150937_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - delivered - - image - - isoutbound - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/down.yaml b/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/down.yaml deleted file mode 100644 index 588c83295..000000000 --- a/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "messagingservicesid"; - type: run_sql diff --git a/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/up.yaml b/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/up.yaml deleted file mode 100644 index a6cfbbc1d..000000000 --- a/hasura/migrations/1585160687805_alter_table_public_bodyshops_add_column_messagingservicesid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "messagingservicesid" text NULL - UNIQUE; - type: run_sql diff --git a/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c3ec5c35a..000000000 --- a/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - - md_responsibility_centers - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 825ae0c0c..000000000 --- a/hasura/migrations/1585176085942_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - - md_responsibility_centers - - messagingservicesid - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585179467940_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179467940_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 3d5f212d0..000000000 --- a/hasura/migrations/1585179467940_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - sent - - delivered - - isoutbound - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585179467940_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179467940_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 2416c2c1a..000000000 --- a/hasura/migrations/1585179467940_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585179475576_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179475576_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 24e4f5a60..000000000 --- a/hasura/migrations/1585179475576_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - delivered - - image - - isoutbound - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585179475576_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179475576_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 30cabb081..000000000 --- a/hasura/migrations/1585179475576_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585179482717_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179482717_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 29938a450..000000000 --- a/hasura/migrations/1585179482717_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - delivered - - image - - isoutbound - - sent - - image_path - - msid - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585179482717_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179482717_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index cec8b33a7..000000000 --- a/hasura/migrations/1585179482717_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/down.yaml b/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/down.yaml deleted file mode 100644 index 23f6819fa..000000000 --- a/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/down.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "delivered" bool; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "delivered" DROP NOT NULL; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "delivered" SET DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/up.yaml b/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/up.yaml deleted file mode 100644 index 051f0ff76..000000000 --- a/hasura/migrations/1585179490323_alter_table_public_messages_drop_column_delivered/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "delivered" CASCADE; - type: run_sql diff --git a/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/down.yaml b/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/down.yaml deleted file mode 100644 index 3beef333b..000000000 --- a/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/down.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "sent" bool; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "sent" DROP NOT NULL; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "sent" SET DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/up.yaml b/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/up.yaml deleted file mode 100644 index e2549f514..000000000 --- a/hasura/migrations/1585179498362_alter_table_public_messages_drop_column_sent/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "sent" CASCADE; - type: run_sql diff --git a/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/down.yaml b/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/down.yaml deleted file mode 100644 index 2d3eb14b7..000000000 --- a/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "status"; - type: run_sql diff --git a/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/up.yaml b/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/up.yaml deleted file mode 100644 index 95d0f93bb..000000000 --- a/hasura/migrations/1585179618401_alter_table_public_messages_add_column_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "status" text NOT NULL DEFAULT - 'posted'; - type: run_sql diff --git a/hasura/migrations/1585179627356_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179627356_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 2416c2c1a..000000000 --- a/hasura/migrations/1585179627356_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585179627356_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179627356_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 1d1eaa297..000000000 --- a/hasura/migrations/1585179627356_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - isoutbound - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585179632891_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179632891_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 30cabb081..000000000 --- a/hasura/migrations/1585179632891_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585179632891_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179632891_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index cfc1aa1a4..000000000 --- a/hasura/migrations/1585179632891_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - status - - text - - updated_at - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585179638124_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585179638124_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index cec8b33a7..000000000 --- a/hasura/migrations/1585179638124_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585179638124_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585179638124_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 11ebdccfd..000000000 --- a/hasura/migrations/1585179638124_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - image - - isoutbound - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/down.yaml b/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/down.yaml deleted file mode 100644 index 338899b1f..000000000 --- a/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "read"; - type: run_sql diff --git a/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/up.yaml b/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/up.yaml deleted file mode 100644 index a5ba54045..000000000 --- a/hasura/migrations/1585181593575_alter_table_public_messages_add_column_read/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "read" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1585181603176_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585181603176_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 1d1eaa297..000000000 --- a/hasura/migrations/1585181603176_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - isoutbound - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585181603176_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585181603176_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 108df6204..000000000 --- a/hasura/migrations/1585181603176_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - isoutbound - - status - - read - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585181608761_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585181608761_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index cfc1aa1a4..000000000 --- a/hasura/migrations/1585181608761_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - status - - text - - updated_at - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585181608761_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585181608761_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 27dca1b45..000000000 --- a/hasura/migrations/1585181608761_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585181614380_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585181614380_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 11ebdccfd..000000000 --- a/hasura/migrations/1585181614380_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - image - - isoutbound - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585181614380_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585181614380_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 990a7e935..000000000 --- a/hasura/migrations/1585181614380_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585182358098_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1585182358098_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 27dca1b45..000000000 --- a/hasura/migrations/1585182358098_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585182358098_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1585182358098_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 779d52c21..000000000 --- a/hasura/migrations/1585182358098_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/down.yaml b/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/down.yaml deleted file mode 100644 index 3d7279640..000000000 --- a/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/down.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - role: user - table: - name: conversations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: conversations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/up.yaml b/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/up.yaml deleted file mode 100644 index 9c9dd4ce0..000000000 --- a/hasura/migrations/1585182522250_update_permission_user_public_table_conversations/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - role: user - table: - name: conversations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: conversations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585586288586_run_sql_migration/down.yaml b/hasura/migrations/1585586288586_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1585586288586_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1585586288586_run_sql_migration/up.yaml b/hasura/migrations/1585586288586_run_sql_migration/up.yaml deleted file mode 100644 index ae5e78242..000000000 --- a/hasura/migrations/1585586288586_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "alter table jobs\nadd column plate_no text, \nadd column plate_st - \ text, \nadd column v_vin text, \nadd column v_model_yr - \ text, \nadd column v_model_desc text, \nadd column v_make_desc - \ text, \nadd column v_color text;" - type: run_sql diff --git a/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index de3be1a36..000000000 --- a/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,246 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8cc98c238..000000000 --- a/hasura/migrations/1585586312881_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - - cieca_stl - - g_bett_amt - - cieca_ttl - - plate_no - - plate_st - - v_vin - - v_model_yr - - v_model_desc - - v_make_desc - - v_color - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 16d2b6fb7..000000000 --- a/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,244 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4973998e3..000000000 --- a/hasura/migrations/1585586320551_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,251 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - cieca_ttl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - plate_no - - plate_st - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 90840138f..000000000 --- a/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,246 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6d9512c50..000000000 --- a/hasura/migrations/1585586326162_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - cieca_ttl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - plate_no - - plate_st - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585594344847_create_table_public_courtesycars/down.yaml b/hasura/migrations/1585594344847_create_table_public_courtesycars/down.yaml deleted file mode 100644 index 486ffa454..000000000 --- a/hasura/migrations/1585594344847_create_table_public_courtesycars/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."courtesycars"; - type: run_sql diff --git a/hasura/migrations/1585594344847_create_table_public_courtesycars/up.yaml b/hasura/migrations/1585594344847_create_table_public_courtesycars/up.yaml deleted file mode 100644 index d015903ef..000000000 --- a/hasura/migrations/1585594344847_create_table_public_courtesycars/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"courtesycars\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid NOT NULL, \"make\" text NOT NULL, - \"model\" text NOT NULL, \"year\" text NOT NULL, \"plate\" text NOT NULL, \"color\" - text NOT NULL, \"vin\" text NOT NULL, \"fleetnumber\" text, \"purchasedate\" - date, \"servicestartdate\" date, \"serviceenddate\" date, \"leaseenddate\" date, - \"status\" text NOT NULL DEFAULT 'Available', \"NextServiceKm\" numeric NOT - NULL DEFAULT 0, \"NextServiceDate\" date, \"Damage\" text, \"Notes\" text, \"fuel\" - numeric NOT NULL DEFAULT 1, \"registrationexpires\" date, \"insuranceexpires\" - date, \"dailycost\" numeric NOT NULL DEFAULT 0, PRIMARY KEY (\"id\") , FOREIGN - KEY (\"bodyshopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE restrict - ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_courtesycars_updated_at\"\nBEFORE - UPDATE ON \"public\".\"courtesycars\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_courtesycars_updated_at\" ON \"public\".\"courtesycars\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: courtesycars - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1585594392845_track_all_relationships/down.yaml b/hasura/migrations/1585594392845_track_all_relationships/down.yaml deleted file mode 100644 index b76d03b9e..000000000 --- a/hasura/migrations/1585594392845_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: courtesycars - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: courtesycars - schema: public - type: drop_relationship diff --git a/hasura/migrations/1585594392845_track_all_relationships/up.yaml b/hasura/migrations/1585594392845_track_all_relationships/up.yaml deleted file mode 100644 index d7f2ac72c..000000000 --- a/hasura/migrations/1585594392845_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: courtesycars - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: courtesycars - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: courtesycars - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1585595056116_create_table_public_cccontract/down.yaml b/hasura/migrations/1585595056116_create_table_public_cccontract/down.yaml deleted file mode 100644 index 6d3ed3f08..000000000 --- a/hasura/migrations/1585595056116_create_table_public_cccontract/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."cccontract"; - type: run_sql diff --git a/hasura/migrations/1585595056116_create_table_public_cccontract/up.yaml b/hasura/migrations/1585595056116_create_table_public_cccontract/up.yaml deleted file mode 100644 index 829a34352..000000000 --- a/hasura/migrations/1585595056116_create_table_public_cccontract/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"cccontract\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"agreementnumber\" serial NOT NULL, \"courtesycarid\" - uuid NOT NULL, \"jobid\" uuid NOT NULL, \"status\" text NOT NULL DEFAULT 'Reserved', - \"start\" date, \"scheduledreturn\" date, \"actualreturn\" date, \"kmstart\" - numeric NOT NULL, \"kmend\" numeric, \"driver_dlnumber\" text NOT NULL, \"driver_dlexpiry\" - date NOT NULL, \"driver_dlst\" text NOT NULL, \"driver_fn\" text NOT NULL, \"driver_ln\" - text NOT NULL, \"driver_addr1\" text NOT NULL, \"driver_addr2\" text, \"driver_city\" - text NOT NULL, \"driver_state\" text NOT NULL, \"driver_zip\" text NOT NULL, - \"driver_ph1\" text NOT NULL, \"driver_dob\" date NOT NULL, \"cc_num\" text, - \"cc_expiry\" text, \"cc_cardholder\" text, PRIMARY KEY (\"id\") , FOREIGN KEY - (\"courtesycarid\") REFERENCES \"public\".\"courtesycars\"(\"id\") ON UPDATE - restrict ON DELETE restrict, FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE restrict ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_cccontract_updated_at\"\nBEFORE - UPDATE ON \"public\".\"cccontract\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_cccontract_updated_at\" ON \"public\".\"cccontract\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: cccontract - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1585595063336_track_all_relationships/down.yaml b/hasura/migrations/1585595063336_track_all_relationships/down.yaml deleted file mode 100644 index 962ae6974..000000000 --- a/hasura/migrations/1585595063336_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: job - table: - name: cccontract - schema: public - type: drop_relationship -- args: - relationship: courtesycar - table: - name: cccontract - schema: public - type: drop_relationship -- args: - relationship: cccontracts - table: - name: courtesycars - schema: public - type: drop_relationship -- args: - relationship: cccontracts - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1585595063336_track_all_relationships/up.yaml b/hasura/migrations/1585595063336_track_all_relationships/up.yaml deleted file mode 100644 index 74a477e62..000000000 --- a/hasura/migrations/1585595063336_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: job - table: - name: cccontract - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: courtesycar - table: - name: cccontract - schema: public - using: - foreign_key_constraint_on: courtesycarid - type: create_object_relationship -- args: - name: cccontracts - table: - name: courtesycars - schema: public - using: - foreign_key_constraint_on: - column: courtesycarid - table: - name: cccontract - schema: public - type: create_array_relationship -- args: - name: cccontracts - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: cccontract - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index 1ece918dc..000000000 --- a/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index cb10d2c0c..000000000 --- a/hasura/migrations/1585595095297_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - make - - model - - year - - plate - - color - - vin - - fleetnumber - - purchasedate - - servicestartdate - - serviceenddate - - leaseenddate - - status - - NextServiceKm - - NextServiceDate - - Damage - - Notes - - fuel - - registrationexpires - - insuranceexpires - - dailycost - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index cef7281aa..000000000 --- a/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index 1c9b059d7..000000000 --- a/hasura/migrations/1585595102086_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - insuranceexpires - - leaseenddate - - NextServiceDate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - NextServiceKm - - color - - Damage - - fleetnumber - - make - - model - - Notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: courtesycars - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index 9605986fe..000000000 --- a/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index c49fddd2f..000000000 --- a/hasura/migrations/1585595106910_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - permission: - columns: - - insuranceexpires - - leaseenddate - - NextServiceDate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - NextServiceKm - - color - - Damage - - fleetnumber - - make - - model - - Notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index b63edce8f..000000000 --- a/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index e133c026e..000000000 --- a/hasura/migrations/1585595111087_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: courtesycars - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1585595120824_rename_table_public_cccontract/down.yaml b/hasura/migrations/1585595120824_rename_table_public_cccontract/down.yaml deleted file mode 100644 index ad3fde467..000000000 --- a/hasura/migrations/1585595120824_rename_table_public_cccontract/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."cccontracts" rename to "cccontract"; - type: run_sql diff --git a/hasura/migrations/1585595120824_rename_table_public_cccontract/up.yaml b/hasura/migrations/1585595120824_rename_table_public_cccontract/up.yaml deleted file mode 100644 index 53412a34a..000000000 --- a/hasura/migrations/1585595120824_rename_table_public_cccontract/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."cccontract" rename to "cccontracts"; - type: run_sql diff --git a/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index cc00c8e6a..000000000 --- a/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 568bf087f..000000000 --- a/hasura/migrations/1585595169060_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - agreementnumber - - courtesycarid - - jobid - - status - - start - - scheduledreturn - - actualreturn - - kmstart - - kmend - - driver_dlnumber - - driver_dlexpiry - - driver_dlst - - driver_fn - - driver_ln - - driver_addr1 - - driver_addr2 - - driver_city - - driver_state - - driver_zip - - driver_ph1 - - driver_dob - - cc_num - - cc_expiry - - cc_cardholder - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 571e819bf..000000000 --- a/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index ec3e11f0b..000000000 --- a/hasura/migrations/1585595175602_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - actualreturn - - driver_dlexpiry - - driver_dob - - scheduledreturn - - start - - agreementnumber - - kmend - - kmstart - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - created_at - - updated_at - - courtesycarid - - id - - jobid - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index e443e59f9..000000000 --- a/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index dc43d6bf9..000000000 --- a/hasura/migrations/1585595180487_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - permission: - columns: - - actualreturn - - driver_dlexpiry - - driver_dob - - scheduledreturn - - start - - agreementnumber - - kmend - - kmstart - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - created_at - - updated_at - - courtesycarid - - id - - jobid - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 10d362ec2..000000000 --- a/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index dec77695f..000000000 --- a/hasura/migrations/1585595189270_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/down.yaml b/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/down.yaml deleted file mode 100644 index 18dbd9462..000000000 --- a/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "nextservicekm" to "NextServiceKm"; - type: run_sql diff --git a/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/up.yaml b/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/up.yaml deleted file mode 100644 index ebea996da..000000000 --- a/hasura/migrations/1585598517873_alter_table_public_courtesycars_alter_column_NextServiceKm/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "NextServiceKm" to "nextservicekm"; - type: run_sql diff --git a/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/down.yaml b/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/down.yaml deleted file mode 100644 index 10e435cf9..000000000 --- a/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "damage" to "Damage"; - type: run_sql diff --git a/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/up.yaml b/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/up.yaml deleted file mode 100644 index 340a77413..000000000 --- a/hasura/migrations/1585598526238_alter_table_public_courtesycars_alter_column_Damage/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "Damage" to "damage"; - type: run_sql diff --git a/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/down.yaml b/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/down.yaml deleted file mode 100644 index 63586a7e0..000000000 --- a/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "notes" to "Notes"; - type: run_sql diff --git a/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/up.yaml b/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/up.yaml deleted file mode 100644 index 65b75bc2a..000000000 --- a/hasura/migrations/1585598532674_alter_table_public_courtesycars_alter_column_Notes/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "Notes" to "notes"; - type: run_sql diff --git a/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/down.yaml b/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/down.yaml deleted file mode 100644 index 3d499e609..000000000 --- a/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "nextservicedate" to "NextServiceDate"; - type: run_sql diff --git a/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/up.yaml b/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/up.yaml deleted file mode 100644 index 237122125..000000000 --- a/hasura/migrations/1585598539310_alter_table_public_courtesycars_alter_column_NextServiceDate/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."courtesycars" rename column "NextServiceDate" to "nextservicedate"; - type: run_sql diff --git a/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8cc98c238..000000000 --- a/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - shopid - - ro_number - - ownerid - - vehicleid - - labor_rate_id - - labor_rate_desc - - rate_lab - - rate_lad - - rate_lae - - rate_lar - - rate_las - - rate_laf - - rate_lam - - rate_lag - - rate_atp - - rate_lau - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_mapa - - rate_mash - - rate_mahw - - rate_ma2s - - rate_ma3s - - rate_ma2t - - rate_mabl - - rate_macs - - rate_matd - - federal_tax_rate - - state_tax_rate - - local_tax_rate - - est_co_nm - - est_addr1 - - est_addr2 - - est_city - - est_st - - est_zip - - est_ctry - - est_ph1 - - est_ea - - est_ct_ln - - est_ct_fn - - scheduled_in - - actual_in - - scheduled_completion - - actual_completion - - scheduled_delivery - - actual_delivery - - regie_number - - invoice_date - - inproduction - - statusid - - ins_co_id - - ins_co_nm - - ins_addr1 - - ins_addr2 - - ins_city - - ins_st - - ins_zip - - ins_ctry - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_fax - - ins_faxx - - ins_ct_ln - - ins_ct_fn - - ins_title - - ins_ct_ph - - ins_ct_phx - - ins_ea - - ins_memo - - policy_no - - ded_amt - - ded_status - - asgn_no - - asgn_date - - asgn_type - - clm_no - - clm_ofc_id - - date_estimated - - date_open - - date_scheduled - - date_invoiced - - date_closed - - date_exported - - clm_total - - owner_owing - - converted - - ciecaid - - loss_date - - clm_ofc_nm - - clm_addr1 - - clm_addr2 - - clm_city - - clm_st - - clm_zip - - clm_ctry - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_fax - - clm_faxx - - clm_ct_ln - - clm_ct_fn - - clm_title - - clm_ct_ph - - clm_ct_phx - - clm_ea - - payee_nms - - pay_type - - pay_date - - pay_chknm - - pay_amt - - agt_co_id - - agt_co_nm - - agt_addr1 - - agt_addr2 - - agt_city - - agt_st - - agt_zip - - agt_ctry - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_fax - - agt_faxx - - agt_ct_ln - - agt_ct_fn - - agt_ct_ph - - agt_ct_phx - - agt_ea - - agt_lic_no - - loss_type - - loss_desc - - theft_ind - - cat_no - - tlos_ind - - cust_pr - - insd_ln - - insd_fn - - insd_title - - insd_co_nm - - insd_addr1 - - insd_addr2 - - insd_city - - insd_st - - insd_zip - - insd_ctry - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_fax - - insd_faxx - - insd_ea - - ownr_ln - - ownr_fn - - ownr_title - - ownr_co_nm - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_fax - - ownr_faxx - - ownr_ea - - area_of_damage - - loss_cat - - est_number - - service_car - - special_coverage_policy - - csr - - po_number - - unit_number - - kmin - - kmout - - referral_source - - selling_dealer - - servicing_dealer - - servicing_dealer_contact - - selling_dealer_contact - - depreciation_taxes - - federal_tax_payable - - other_amount_payable - - towing_payable - - storage_payable - - adjustment_bottom_line - - tax_pstthr - - tax_tow_rt - - tax_sub_rt - - tax_paint_mat_rt - - tax_levies_rt - - tax_prethr - - tax_thramt - - tax_str_rt - - tax_lbr_rt - - adj_g_disc - - adj_towdis - - adj_strdis - - tax_predis - - rate_laa - - status - - cieca_stl - - g_bett_amt - - cieca_ttl - - plate_no - - plate_st - - v_vin - - v_model_yr - - v_model_desc - - v_make_desc - - v_color - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4715fb662..000000000 --- a/hasura/migrations/1585703170344_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4973998e3..000000000 --- a/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,251 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - cieca_ttl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - plate_no - - plate_st - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index cf9388142..000000000 --- a/hasura/migrations/1585703177515_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,250 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6d9512c50..000000000 --- a/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - converted - - inproduction - - special_coverage_policy - - theft_ind - - tlos_ind - - asgn_date - - invoice_date - - loss_date - - pay_date - - kmin - - kmout - - est_number - - area_of_damage - - cieca_stl - - cieca_ttl - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - clm_total - - ded_amt - - depreciation_taxes - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - local_tax_rate - - other_amount_payable - - owner_owing - - pay_amt - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - state_tax_rate - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_str_rt - - tax_thramt - - towing_payable - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - asgn_no - - asgn_type - - cat_no - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_zip - - csr - - cust_pr - - ded_status - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - labor_rate_desc - - labor_rate_id - - loss_cat - - loss_desc - - loss_type - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_chknm - - payee_nms - - pay_type - - plate_no - - plate_st - - policy_no - - po_number - - referral_source - - regie_number - - ro_number - - selling_dealer - - selling_dealer_contact - - service_car - - servicing_dealer - - servicing_dealer_contact - - status - - unit_number - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - actual_completion - - actual_delivery - - actual_in - - created_at - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - scheduled_completion - - scheduled_delivery - - scheduled_in - - updated_at - - id - - ownerid - - shopid - - statusid - - vehicleid - - tax_pstthr - - tax_sub_rt - - tax_tow_rt - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 87f60eed1..000000000 --- a/hasura/migrations/1585703194595_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/down.yaml b/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/down.yaml deleted file mode 100644 index f2b80c903..000000000 --- a/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "service_car" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "service_car" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/up.yaml b/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/up.yaml deleted file mode 100644 index 52fc30855..000000000 --- a/hasura/migrations/1585703205875_alter_table_public_jobs_drop_column_service_car/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "service_car" CASCADE; - type: run_sql diff --git a/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/down.yaml b/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/down.yaml deleted file mode 100644 index 9ba2124c5..000000000 --- a/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."courtesycars" DROP COLUMN "mileage"; - type: run_sql diff --git a/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/up.yaml b/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/up.yaml deleted file mode 100644 index 126709423..000000000 --- a/hasura/migrations/1585767116722_alter_table_public_courtesycars_add_column_mileage/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."courtesycars" ADD COLUMN "mileage" numeric NOT NULL - DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index b835778b0..000000000 --- a/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - make - - model - - year - - plate - - color - - vin - - fleetnumber - - purchasedate - - servicestartdate - - serviceenddate - - leaseenddate - - status - - nextservicekm - - nextservicedate - - damage - - notes - - fuel - - registrationexpires - - insuranceexpires - - dailycost - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index fe762dd69..000000000 --- a/hasura/migrations/1585767133843_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - make - - model - - year - - plate - - color - - vin - - fleetnumber - - purchasedate - - servicestartdate - - serviceenddate - - leaseenddate - - status - - nextservicekm - - nextservicedate - - damage - - notes - - fuel - - registrationexpires - - insuranceexpires - - dailycost - - mileage - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index 06a3bc23c..000000000 --- a/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: courtesycars - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index b0294a184..000000000 --- a/hasura/migrations/1585767138926_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: courtesycars - schema: public - type: create_select_permission diff --git a/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index b2f45d67c..000000000 --- a/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_update_permission -- args: - permission: - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_update_permission diff --git a/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index 86620f18d..000000000 --- a/hasura/migrations/1585767144286_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_update_permission -- args: - permission: - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: courtesycars - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index c639e07f8..000000000 --- a/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 317c3b0d8..000000000 --- a/hasura/migrations/1586216036874_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/down.yaml b/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/down.yaml deleted file mode 100644 index 0d06fd743..000000000 --- a/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "shoprates"; - type: run_sql diff --git a/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/up.yaml b/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/up.yaml deleted file mode 100644 index 4bc14e6fc..000000000 --- a/hasura/migrations/1586284810616_alter_table_public_bodyshops_add_column_shoprates/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "shoprates" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 825ae0c0c..000000000 --- a/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopname - - created_at - - updated_at - - address1 - - address2 - - city - - state - - zip_post - - country - - email - - federal_tax_id - - insurance_vendor_id - - state_tax_id - - logo_img_path - - md_ro_statuses - - region_config - - md_order_statuses - - md_responsibility_centers - - messagingservicesid - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 18a9c8a58..000000000 --- a/hasura/migrations/1586284824617_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 703a9ce7b..000000000 --- a/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - address1 - - address2 - - city - - country - - email - - federal_tax_id - - insurance_vendor_id - - logo_img_path - - region_config - - shopname - - state - - state_tax_id - - zip_post - - created_at - - updated_at - - id - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 297c7d9db..000000000 --- a/hasura/migrations/1586284834270_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/down.yaml b/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/down.yaml deleted file mode 100644 index 9f7a0cd30..000000000 --- a/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "parts_tax_rates"; - type: run_sql diff --git a/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/up.yaml b/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/up.yaml deleted file mode 100644 index e5a499ab2..000000000 --- a/hasura/migrations/1586365217566_alter_table_public_jobs_add_column_parts_tax_rates/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "parts_tax_rates" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4715fb662..000000000 --- a/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 43bf2e0ab..000000000 --- a/hasura/migrations/1586365232521_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index cf9388142..000000000 --- a/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,250 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1f52ac4cf..000000000 --- a/hasura/migrations/1586365248281_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,251 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 87f60eed1..000000000 --- a/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 68a2a7ed5..000000000 --- a/hasura/migrations/1586365257227_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/down.yaml b/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/down.yaml deleted file mode 100644 index 371308f87..000000000 --- a/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "job_totals"; - type: run_sql diff --git a/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/up.yaml b/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/up.yaml deleted file mode 100644 index 2c1b18561..000000000 --- a/hasura/migrations/1586879989913_alter_table_public_jobs_add_column_job_totals/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "job_totals" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 43bf2e0ab..000000000 --- a/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 785d7b5d3..000000000 --- a/hasura/migrations/1586880003979_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1f52ac4cf..000000000 --- a/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,251 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4364ff937..000000000 --- a/hasura/migrations/1586880014259_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 68a2a7ed5..000000000 --- a/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 06e843cbc..000000000 --- a/hasura/migrations/1586880020786_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586907397057_create_table_public_timetickets/down.yaml b/hasura/migrations/1586907397057_create_table_public_timetickets/down.yaml deleted file mode 100644 index 882adffb8..000000000 --- a/hasura/migrations/1586907397057_create_table_public_timetickets/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."timetickets"; - type: run_sql diff --git a/hasura/migrations/1586907397057_create_table_public_timetickets/up.yaml b/hasura/migrations/1586907397057_create_table_public_timetickets/up.yaml deleted file mode 100644 index 06a8b6c21..000000000 --- a/hasura/migrations/1586907397057_create_table_public_timetickets/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"timetickets\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"date\" date NOT NULL DEFAULT now(), \"cost_center\" - text NOT NULL, \"employeeid\" uuid NOT NULL, \"jobid\" uuid NOT NULL, \"rate\" - numeric NOT NULL DEFAULT 0, \"productivehrs\" numeric NOT NULL DEFAULT 0, \"actualhrs\" - numeric NOT NULL DEFAULT 0, \"clockon\" timestamptz, \"clockoff\" timestamptz, - \"ciecacode\" text NOT NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"employeeid\") - REFERENCES \"public\".\"employees\"(\"id\") ON UPDATE restrict ON DELETE restrict, - FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") ON UPDATE restrict - ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_timetickets_updated_at\"\nBEFORE - UPDATE ON \"public\".\"timetickets\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_timetickets_updated_at\" ON \"public\".\"timetickets\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: timetickets - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1586907431308_track_all_relationships/down.yaml b/hasura/migrations/1586907431308_track_all_relationships/down.yaml deleted file mode 100644 index 1e6704090..000000000 --- a/hasura/migrations/1586907431308_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: timetickets - table: - name: employees - schema: public - type: drop_relationship -- args: - relationship: timetickets - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: timetickets - schema: public - type: drop_relationship -- args: - relationship: employee - table: - name: timetickets - schema: public - type: drop_relationship diff --git a/hasura/migrations/1586907431308_track_all_relationships/up.yaml b/hasura/migrations/1586907431308_track_all_relationships/up.yaml deleted file mode 100644 index 5c7630853..000000000 --- a/hasura/migrations/1586907431308_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: timetickets - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employeeid - table: - name: timetickets - schema: public - type: create_array_relationship -- args: - name: timetickets - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: timetickets - schema: public - type: create_array_relationship -- args: - name: job - table: - name: timetickets - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: employee - table: - name: timetickets - schema: public - using: - foreign_key_constraint_on: employeeid - type: create_object_relationship diff --git a/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index fdcea370b..000000000 --- a/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 3fa31fb9f..000000000 --- a/hasura/migrations/1586907537557_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 270f493b2..000000000 --- a/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 5ad4ebe3e..000000000 --- a/hasura/migrations/1586907552709_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - date - - actualhrs - - productivehrs - - rate - - ciecacode - - cost_center - - clockoff - - clockon - - created_at - - updated_at - - employeeid - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: timetickets - schema: public - type: create_select_permission diff --git a/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 2cca595cb..000000000 --- a/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 04b050c44..000000000 --- a/hasura/migrations/1586907564632_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - permission: - columns: - - date - - actualhrs - - productivehrs - - rate - - ciecacode - - cost_center - - clockoff - - clockon - - created_at - - updated_at - - employeeid - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: timetickets - schema: public - type: create_update_permission diff --git a/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 92ce7cf39..000000000 --- a/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index d84cea1b8..000000000 --- a/hasura/migrations/1586907569694_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/down.yaml b/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/down.yaml deleted file mode 100644 index e96404a91..000000000 --- a/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "template_header"; - type: run_sql diff --git a/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/up.yaml b/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/up.yaml deleted file mode 100644 index 99b37f336..000000000 --- a/hasura/migrations/1587060807479_alter_table_public_bodyshops_add_column_template_header/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "template_header" text NULL; - type: run_sql diff --git a/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 18a9c8a58..000000000 --- a/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index ffca2644f..000000000 --- a/hasura/migrations/1587060816740_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 297c7d9db..000000000 --- a/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index fc6bba57f..000000000 --- a/hasura/migrations/1587060828703_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587062110920_create_table_public_templates/down.yaml b/hasura/migrations/1587062110920_create_table_public_templates/down.yaml deleted file mode 100644 index fd0fffff3..000000000 --- a/hasura/migrations/1587062110920_create_table_public_templates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."templates"; - type: run_sql diff --git a/hasura/migrations/1587062110920_create_table_public_templates/up.yaml b/hasura/migrations/1587062110920_create_table_public_templates/up.yaml deleted file mode 100644 index 18fbf0bab..000000000 --- a/hasura/migrations/1587062110920_create_table_public_templates/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"templates\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid, \"name\" text NOT NULL, \"html\" - text NOT NULL, \"query\" text NOT NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") - REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE restrict ON DELETE restrict);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_templates_updated_at\"\nBEFORE - UPDATE ON \"public\".\"templates\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_templates_updated_at\" ON \"public\".\"templates\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: templates - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1587062123352_track_all_relationships/down.yaml b/hasura/migrations/1587062123352_track_all_relationships/down.yaml deleted file mode 100644 index a170056fb..000000000 --- a/hasura/migrations/1587062123352_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: templates - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: templates - schema: public - type: drop_relationship diff --git a/hasura/migrations/1587062123352_track_all_relationships/up.yaml b/hasura/migrations/1587062123352_track_all_relationships/up.yaml deleted file mode 100644 index 2c4ab676e..000000000 --- a/hasura/migrations/1587062123352_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: templates - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: templates - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: templates - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1587062292554_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1587062292554_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index e02f50e10..000000000 --- a/hasura/migrations/1587062292554_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1587062292554_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1587062292554_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index 551467acc..000000000 --- a/hasura/migrations/1587062292554_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - html - - name - - query - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: templates - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587062297744_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1587062297744_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index 5820d3827..000000000 --- a/hasura/migrations/1587062297744_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1587062297744_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1587062297744_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index 354ddfc4d..000000000 --- a/hasura/migrations/1587062297744_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - columns: - - html - - name - - query - - created_at - - updated_at - - bodyshopid - - id - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: templates - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/down.yaml b/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/down.yaml deleted file mode 100644 index 6447565eb..000000000 --- a/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "textid"; - type: run_sql diff --git a/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/up.yaml b/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/up.yaml deleted file mode 100644 index b0083e8a5..000000000 --- a/hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "textid" text NULL; - type: run_sql diff --git a/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index ffca2644f..000000000 --- a/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f107f80d5..000000000 --- a/hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index fc6bba57f..000000000 --- a/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5ae0c6dad..000000000 --- a/hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/down.yaml b/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/down.yaml deleted file mode 100644 index ffaf72873..000000000 --- a/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" DROP COLUMN "type"; - type: run_sql diff --git a/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/up.yaml b/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/up.yaml deleted file mode 100644 index a0b878812..000000000 --- a/hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ADD COLUMN "type" text NULL; - type: run_sql diff --git a/hasura/migrations/1587408195798_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587408195798_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 3d103eca5..000000000 --- a/hasura/migrations/1587408195798_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587408195798_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587408195798_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index f933e16a3..000000000 --- a/hasura/migrations/1587408195798_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - id - - invoiceid - - jobid - - key - - name - - thumb_url - - type - - updated_at - - uploaded_by - - url - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587408202367_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587408202367_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 2c0ca6648..000000000 --- a/hasura/migrations/1587408202367_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587408202367_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587408202367_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 687d76892..000000000 --- a/hasura/migrations/1587408202367_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - key - - name - - thumb_url - - type - - uploaded_by - - url - - created_at - - updated_at - - id - - invoiceid - - jobid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587408207340_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587408207340_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 515730b23..000000000 --- a/hasura/migrations/1587408207340_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - id - - jobid - - key - - name - - thumb_url - - updated_at - - uploaded_by - - url - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587408207340_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587408207340_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 1f0b95e9a..000000000 --- a/hasura/migrations/1587408207340_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: - - key - - name - - thumb_url - - type - - uploaded_by - - url - - created_at - - updated_at - - id - - invoiceid - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587417631171_run_sql_migration/down.yaml b/hasura/migrations/1587417631171_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1587417631171_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1587417631171_run_sql_migration/up.yaml b/hasura/migrations/1587417631171_run_sql_migration/up.yaml deleted file mode 100644 index 0ec8bfdb8..000000000 --- a/hasura/migrations/1587417631171_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "ALTER TABLE documents \r\nDROP COLUMN url ;\r\nALTER TABLE documents \r\nDROP - COLUMN thumb_url ;" - type: run_sql diff --git a/hasura/migrations/1587417677218_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587417677218_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index dd7923c4f..000000000 --- a/hasura/migrations/1587417677218_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1587417677218_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587417677218_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 56a5dbd56..000000000 --- a/hasura/migrations/1587417677218_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - uploaded_by - - jobid - - name - - key - - invoiceid - - type - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587417682323_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587417682323_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 51466ca34..000000000 --- a/hasura/migrations/1587417682323_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1587417682323_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587417682323_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index a0e4d6d93..000000000 --- a/hasura/migrations/1587417682323_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - key - - name - - type - - uploaded_by - - created_at - - updated_at - - id - - invoiceid - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587417686752_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1587417686752_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index d9430d461..000000000 --- a/hasura/migrations/1587417686752_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1587417686752_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1587417686752_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 44c270411..000000000 --- a/hasura/migrations/1587417686752_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - permission: - columns: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/down.yaml b/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/down.yaml deleted file mode 100644 index 70dfbcb5b..000000000 --- a/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "production_config"; - type: run_sql diff --git a/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/up.yaml b/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/up.yaml deleted file mode 100644 index 8a29feb94..000000000 --- a/hasura/migrations/1587502167707_alter_table_public_bodyshops_add_column_production_config/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "production_config" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f107f80d5..000000000 --- a/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index aac8c63cf..000000000 --- a/hasura/migrations/1587502177435_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 5ae0c6dad..000000000 --- a/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f7578cf44..000000000 --- a/hasura/migrations/1587502183855_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/down.yaml b/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/down.yaml deleted file mode 100644 index 4131f707b..000000000 --- a/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "production_vars"; - type: run_sql diff --git a/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/up.yaml b/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/up.yaml deleted file mode 100644 index 78f05a5a0..000000000 --- a/hasura/migrations/1587508371415_alter_table_public_jobs_add_column_production_vars/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "production_vars" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 785d7b5d3..000000000 --- a/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f38c14033..000000000 --- a/hasura/migrations/1587508379993_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4364ff937..000000000 --- a/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,252 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c5748c7d9..000000000 --- a/hasura/migrations/1587508390066_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 06e843cbc..000000000 --- a/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index b7b713a69..000000000 --- a/hasura/migrations/1587508396891_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587574775829_run_sql_migration/down.yaml b/hasura/migrations/1587574775829_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1587574775829_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1587574775829_run_sql_migration/up.yaml b/hasura/migrations/1587574775829_run_sql_migration/up.yaml deleted file mode 100644 index 2619b9b6c..000000000 --- a/hasura/migrations/1587574775829_run_sql_migration/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "create view productionview as \r\nselect j.id ,\r\n - \ j.status ,\r\n j.ro_number ,\r\n j.est_number - \ ,\r\n j.ownr_fn ,\r\n j.ownr_ln ,\r\n - \ j.v_model_yr ,\r\n j.v_model_desc ,\r\n j.clm_no - \ ,\r\n j.v_make_desc ,\r\n j.v_color - \ ,\r\n j.plate_no ,\r\n j.actual_in - \ ,\r\n j.scheduled_completion ,\r\n j.scheduled_delivery - \ ,\r\n j.ins_co_nm ,\r\n j.clm_total ,\r\n - \ j.ownr_ph1 ,\r\n j.special_coverage_policy ,\r\n j.production_vars - \ ,\r\n lab.labhrs, lar.larhrs\r\n from public.jobs j\r\n left - join \r\n (select l.jobid, sum(l.mod_lb_hrs ) labhrs from public.joblines - l where mod_lbr_ty = 'LAB' group by l.jobid ) lab on lab.jobid = j.id \r\n - \ left join (select l2.jobid, sum(l2.mod_lb_hrs ) larhrs from public.joblines - l2 where mod_lbr_ty = 'LAR' group by l2.jobid ) lar on lar.jobid = j.id\r\n - \ where j.inproduction =true;" - type: run_sql -- args: - name: productionview - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/down.yaml b/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/down.yaml deleted file mode 100644 index c8bccabac..000000000 --- a/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/up.yaml b/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/up.yaml deleted file mode 100644 index f8844bb39..000000000 --- a/hasura/migrations/1587574953110_create_relationship_bodyshop_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: bodyshop - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - id: id - remote_table: - name: jobs - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1587575091197_run_sql_migration/down.yaml b/hasura/migrations/1587575091197_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1587575091197_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1587575091197_run_sql_migration/up.yaml b/hasura/migrations/1587575091197_run_sql_migration/up.yaml deleted file mode 100644 index a537dc96a..000000000 --- a/hasura/migrations/1587575091197_run_sql_migration/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid\n FROM ((jobs j\n LEFT JOIN ( SELECT l.jobid,\n sum(l.mod_lb_hrs) - AS labhrs\n FROM joblines l\n WHERE (l.mod_lbr_ty = 'LAB'::text)\n - \ GROUP BY l.jobid) lab ON ((lab.jobid = j.id)))\n LEFT JOIN ( SELECT - l2.jobid,\n sum(l2.mod_lb_hrs) AS larhrs\n FROM joblines - l2\n WHERE (l2.mod_lbr_ty = 'LAR'::text)\n GROUP BY l2.jobid) - lar ON ((lar.jobid = j.id)))\n WHERE (j.inproduction = true);" - type: run_sql diff --git a/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/down.yaml b/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/down.yaml deleted file mode 100644 index cceca611c..000000000 --- a/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/down.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: bodyshop - table: - name: productionview - schema: public - using: - foreign_key_constraint_on: id - type: create_object_relationship diff --git a/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/up.yaml b/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/up.yaml deleted file mode 100644 index c8bccabac..000000000 --- a/hasura/migrations/1587575103804_drop_relationship_bodyshop_public_table_productionview/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/down.yaml b/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/down.yaml deleted file mode 100644 index c8bccabac..000000000 --- a/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/up.yaml b/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/up.yaml deleted file mode 100644 index b91854674..000000000 --- a/hasura/migrations/1587575121219_create_relationship_bodyshop_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: bodyshop - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - shopid: id - remote_table: - name: bodyshops - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index d2ca2e22f..000000000 --- a/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index 197dd8d08..000000000 --- a/hasura/migrations/1587575154011_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/down.yaml b/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/down.yaml deleted file mode 100644 index c7e3cffdb..000000000 --- a/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "removed"; - type: run_sql diff --git a/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/up.yaml b/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/up.yaml deleted file mode 100644 index 708dec3bc..000000000 --- a/hasura/migrations/1587662612682_alter_table_public_joblines_add_column_removed/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "removed" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index df8b59464..000000000 --- a/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - unq_seq - - line_ind - - line_desc - - part_type - - oem_partno - - est_seq - - db_ref - - line_ref - - tax_part - - db_price - - act_price - - part_qty - - alt_partno - - mod_lbr_ty - - db_hrs - - mod_lb_hrs - - lbr_op - - lbr_amt - - glass_flag - - price_inc - - alt_part_i - - price_j - - cert_part - - alt_co_id - - alt_overrd - - alt_partm - - prt_dsmk_p - - prt_dsmk_m - - lbr_inc - - lbr_hrs_j - - lbr_typ_j - - lbr_op_j - - paint_stg - - paint_tone - - lbr_tax - - misc_amt - - misc_sublt - - misc_tax - - bett_type - - bett_pctg - - bett_amt - - bett_tax - - op_code_desc - - status - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index b538e5cd6..000000000 --- a/hasura/migrations/1587662623164_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 317c3b0d8..000000000 --- a/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 38bb4c509..000000000 --- a/hasura/migrations/1587662633919_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index a04baffe3..000000000 --- a/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_overrd - - alt_part_i - - bett_tax - - cert_part - - glass_flag - - lbr_hrs_j - - lbr_inc - - lbr_op_j - - lbr_tax - - lbr_typ_j - - misc_sublt - - misc_tax - - price_inc - - price_j - - tax_part - - est_seq - - paint_stg - - paint_tone - - part_qty - - unq_seq - - act_price - - bett_amt - - bett_pctg - - db_hrs - - db_price - - lbr_amt - - line_ref - - misc_amt - - mod_lb_hrs - - prt_dsmk_m - - prt_dsmk_p - - alt_co_id - - alt_partm - - alt_partno - - bett_type - - db_ref - - lbr_op - - line_desc - - line_ind - - mod_lbr_ty - - oem_partno - - op_code_desc - - part_type - - status - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 179d1c4d2..000000000 --- a/hasura/migrations/1587662641941_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/down.yaml b/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/down.yaml deleted file mode 100644 index d5935b182..000000000 --- a/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "line_no"; - type: run_sql diff --git a/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/up.yaml b/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/up.yaml deleted file mode 100644 index c1ab9a269..000000000 --- a/hasura/migrations/1587663736545_alter_table_public_joblines_add_column_line_no/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "line_no" integer NULL; - type: run_sql diff --git a/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index b538e5cd6..000000000 --- a/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 7e1e53880..000000000 --- a/hasura/migrations/1587663746281_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 38bb4c509..000000000 --- a/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index ce9b320bc..000000000 --- a/hasura/migrations/1587663753304_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 179d1c4d2..000000000 --- a/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 9320e3bbc..000000000 --- a/hasura/migrations/1587663758715_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588004408193_run_sql_migration/down.yaml b/hasura/migrations/1588004408193_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588004408193_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588004408193_run_sql_migration/up.yaml b/hasura/migrations/1588004408193_run_sql_migration/up.yaml deleted file mode 100644 index 553260f5b..000000000 --- a/hasura/migrations/1588004408193_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - CREATE OR REPLACE FUNCTION public.search_owner(search text) - RETURNS SETOF owners - LANGUAGE sql - STABLE - AS $function$ - SELECT * - FROM owners - WHERE - search <% (ownr_fn || ' ' || ownr_ln || ' ' || ownr_co_nm) - ORDER BY - similarity(search, (ownr_fn || ' ' || ownr_ln || ' ' || ownr_co_nm)) DESC - LIMIT 5; - $function$; - type: run_sql diff --git a/hasura/migrations/1588004740163_run_sql_migration/down.yaml b/hasura/migrations/1588004740163_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588004740163_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588004740163_run_sql_migration/up.yaml b/hasura/migrations/1588004740163_run_sql_migration/up.yaml deleted file mode 100644 index ae81ed8f6..000000000 --- a/hasura/migrations/1588004740163_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: drop index idx_owner_name; - type: run_sql diff --git a/hasura/migrations/1588004759773_run_sql_migration/down.yaml b/hasura/migrations/1588004759773_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588004759773_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588004759773_run_sql_migration/up.yaml b/hasura/migrations/1588004759773_run_sql_migration/up.yaml deleted file mode 100644 index 9c1b123b5..000000000 --- a/hasura/migrations/1588004759773_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - CREATE INDEX idx_owner_name ON owners USING GIN ((ownr_fn || ' ' || ownr_ln || ' ' || ownr_co_nm) - gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1588021481109_run_sql_migration/down.yaml b/hasura/migrations/1588021481109_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588021481109_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588021481109_run_sql_migration/up.yaml b/hasura/migrations/1588021481109_run_sql_migration/up.yaml deleted file mode 100644 index b34cb0c10..000000000 --- a/hasura/migrations/1588021481109_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n parts.*\n FROM ((jobs j\n LEFT JOIN ( SELECT l.jobid,\n - \ sum(l.mod_lb_hrs) AS labhrs\n FROM joblines l\n WHERE - (l.mod_lbr_ty = 'LAB'::text)\n GROUP BY l.jobid) lab ON ((lab.jobid - = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n sum(l2.mod_lb_hrs) - AS larhrs\n FROM joblines l2\n WHERE (l2.mod_lbr_ty = 'LAR'::text)\n - \ GROUP BY l2.jobid) lar ON ((lar.jobid = j.id)))\n left join ( select - \ l3.jobid, json_agg(l3.status) partcount from joblines l3 group by l3.jobid, - l3.status ) parts on parts.jobid = j.id\n WHERE (j.inproduction = true);" - type: run_sql diff --git a/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index b828c15b8..000000000 --- a/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index 2e6370f32..000000000 --- a/hasura/migrations/1588021714218_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_in - - clm_no - - clm_total - - est_number - - id - - ins_co_nm - - jobid - - labhrs - - larhrs - - ownr_fn - - ownr_ln - - ownr_ph1 - - partcount - - plate_no - - production_vars - - ro_number - - scheduled_completion - - scheduled_delivery - - shopid - - special_coverage_policy - - status - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index 2e6370f32..000000000 --- a/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_in - - clm_no - - clm_total - - est_number - - id - - ins_co_nm - - jobid - - labhrs - - larhrs - - ownr_fn - - ownr_ln - - ownr_ph1 - - partcount - - plate_no - - production_vars - - ro_number - - scheduled_completion - - scheduled_delivery - - shopid - - special_coverage_policy - - status - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index dbf40fea5..000000000 --- a/hasura/migrations/1588023147082_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_in - - clm_no - - clm_total - - est_number - - id - - ins_co_nm - - jobid - - labhrs - - larhrs - - ownr_fn - - ownr_ln - - ownr_ph1 - - plate_no - - production_vars - - ro_number - - scheduled_completion - - scheduled_delivery - - shopid - - special_coverage_policy - - status - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588023310053_drop_view_public_productionview/down.yaml b/hasura/migrations/1588023310053_drop_view_public_productionview/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588023310053_drop_view_public_productionview/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588023310053_drop_view_public_productionview/up.yaml b/hasura/migrations/1588023310053_drop_view_public_productionview/up.yaml deleted file mode 100644 index 6e88a06bd..000000000 --- a/hasura/migrations/1588023310053_drop_view_public_productionview/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP VIEW "public"."productionview"; - type: run_sql diff --git a/hasura/migrations/1588023324274_run_sql_migration/down.yaml b/hasura/migrations/1588023324274_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588023324274_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588023324274_run_sql_migration/up.yaml b/hasura/migrations/1588023324274_run_sql_migration/up.yaml deleted file mode 100644 index 087db6700..000000000 --- a/hasura/migrations/1588023324274_run_sql_migration/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n parts.partcount\n FROM ((jobs j\n LEFT JOIN ( SELECT - l.jobid,\n sum(l.mod_lb_hrs) AS labhrs\n FROM joblines - l\n WHERE (l.mod_lbr_ty = 'LAB'::text)\n GROUP BY l.jobid) - lab ON ((lab.jobid = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n sum(l2.mod_lb_hrs) - AS larhrs\n FROM joblines l2\n WHERE (l2.mod_lbr_ty = 'LAR'::text)\n - \ GROUP BY l2.jobid) lar ON ((lar.jobid = j.id)))\n left join ( select - \ l3.jobid, json_agg(l3.status) partcount from joblines l3 group by l3.jobid - ) parts on parts.jobid = j.id\n WHERE (j.inproduction = true);" - type: run_sql -- args: - name: productionview - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/down.yaml b/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/down.yaml deleted file mode 100644 index c8bccabac..000000000 --- a/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/up.yaml b/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/up.yaml deleted file mode 100644 index b91854674..000000000 --- a/hasura/migrations/1588023349497_create_relationship_bodyshop_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: bodyshop - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - shopid: id - remote_table: - name: bodyshops - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index d2ca2e22f..000000000 --- a/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index 4b1ca46d8..000000000 --- a/hasura/migrations/1588023375186_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - - partcount - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/down.yaml b/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/down.yaml deleted file mode 100644 index fa89d7f1a..000000000 --- a/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" DROP COLUMN "fcmtokens"; - type: run_sql diff --git a/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/up.yaml b/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/up.yaml deleted file mode 100644 index 309f7df2e..000000000 --- a/hasura/migrations/1588355454260_alter_table_public_users_add_column_fcmtokens/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" ADD COLUMN "fcmtokens" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1588355462630_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1588355462630_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 4e6739f81..000000000 --- a/hasura/migrations/1588355462630_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588355462630_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1588355462630_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index beebfb46a..000000000 --- a/hasura/migrations/1588355462630_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - - fcmtokens - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588355471991_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1588355471991_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index bf559d77f..000000000 --- a/hasura/migrations/1588355471991_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - email - - authid - - created_at - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588355471991_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1588355471991_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 044bd7a4b..000000000 --- a/hasura/migrations/1588355471991_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - fcmtokens - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588355478259_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1588355478259_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 044bd7a4b..000000000 --- a/hasura/migrations/1588355478259_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - email - - fcmtokens - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588355478259_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1588355478259_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 14839d69a..000000000 --- a/hasura/migrations/1588355478259_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588355488534_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1588355488534_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 88023a450..000000000 --- a/hasura/migrations/1588355488534_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - authid - - email - - created_at - - updated_at - filter: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588355488534_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1588355488534_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index d4d268e13..000000000 --- a/hasura/migrations/1588355488534_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - authid - - email - - fcmtokens - filter: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/down.yaml b/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/down.yaml deleted file mode 100644 index 74651d839..000000000 --- a/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."users" ALTER COLUMN "fcmtokens" DROP DEFAULT; - type: run_sql diff --git a/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/up.yaml b/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/up.yaml deleted file mode 100644 index 118c31118..000000000 --- a/hasura/migrations/1588358447309_alter_table_public_users_alter_column_fcmtokens/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."users" ALTER COLUMN "fcmtokens" SET DEFAULT '{}'::jsonb; - type: run_sql diff --git a/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/down.yaml b/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/down.yaml deleted file mode 100644 index 24e6ffc88..000000000 --- a/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" DROP COLUMN "federal_tax_rate"; - type: run_sql diff --git a/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/up.yaml b/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/up.yaml deleted file mode 100644 index 4c06cca2d..000000000 --- a/hasura/migrations/1588704131761_alter_table_public_invoices_add_column_federal_tax_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" ADD COLUMN "federal_tax_rate" numeric NOT - NULL DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/down.yaml b/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/down.yaml deleted file mode 100644 index 19059eaab..000000000 --- a/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" DROP COLUMN "state_tax_rate"; - type: run_sql diff --git a/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/up.yaml b/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/up.yaml deleted file mode 100644 index b5ed8aadc..000000000 --- a/hasura/migrations/1588704142534_alter_table_public_invoices_add_column_state_tax_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" ADD COLUMN "state_tax_rate" numeric NOT NULL - DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/down.yaml b/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/down.yaml deleted file mode 100644 index 295172295..000000000 --- a/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" DROP COLUMN "local_tax_rate"; - type: run_sql diff --git a/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/up.yaml b/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/up.yaml deleted file mode 100644 index c7fb4cfba..000000000 --- a/hasura/migrations/1588704154625_alter_table_public_invoices_add_column_local_tax_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoices" ADD COLUMN "local_tax_rate" numeric NOT NULL - DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index 0ec004109..000000000 --- a/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - vendorid - - jobid - - date - - due_date - - exported - - exported_at - - is_credit_memo - - total - - invoice_number - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index 687709b1e..000000000 --- a/hasura/migrations/1588704166538_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index d52d9cdc5..000000000 --- a/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - exported - - is_credit_memo - - date - - due_date - - total - - invoice_number - - created_at - - exported_at - - updated_at - - id - - jobid - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoices - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index d4f9086a3..000000000 --- a/hasura/migrations/1588704173695_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoices - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index 4d4938a0a..000000000 --- a/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_update_permission -- args: - permission: - columns: - - exported - - is_credit_memo - - date - - due_date - - total - - invoice_number - - created_at - - exported_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index c1638595a..000000000 --- a/hasura/migrations/1588704180439_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoices - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/down.yaml b/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/down.yaml deleted file mode 100644 index f0754b343..000000000 --- a/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "invoice_tax_rates"; - type: run_sql diff --git a/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/up.yaml b/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/up.yaml deleted file mode 100644 index 5592d4d25..000000000 --- a/hasura/migrations/1588704900361_alter_table_public_bodyshops_add_column_invoice_tax_rates/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "invoice_tax_rates" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index aac8c63cf..000000000 --- a/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index e047a4088..000000000 --- a/hasura/migrations/1588704928185_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f7578cf44..000000000 --- a/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 345dd574c..000000000 --- a/hasura/migrations/1588704935620_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/down.yaml b/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/down.yaml deleted file mode 100644 index ec63d6d9f..000000000 --- a/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoicelines" DROP COLUMN "applicable_taxes"; - type: run_sql diff --git a/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/up.yaml b/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/up.yaml deleted file mode 100644 index 8facd11e3..000000000 --- a/hasura/migrations/1588705546595_alter_table_public_invoicelines_add_column_applicable_taxes/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoicelines" ADD COLUMN "applicable_taxes" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 8e91e50c6..000000000 --- a/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_insert_permission -- args: - permission: - check: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - invoiceid - - line_desc - - actual_price - - actual_cost - - cost_center - - joblineid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index c168c6100..000000000 --- a/hasura/migrations/1588705553835_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_insert_permission -- args: - permission: - check: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 871106bbf..000000000 --- a/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - cost_center - - line_desc - - created_at - - updated_at - - joblineid - - id - - invoiceid - computed_fields: [] - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoicelines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index 1415d9617..000000000 --- a/hasura/migrations/1588705558916_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - computed_fields: [] - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoicelines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 07a761b5d..000000000 --- a/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - cost_center - - line_desc - - created_at - - updated_at - - joblineid - - id - - invoiceid - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index 5dca3857f..000000000 --- a/hasura/migrations/1588705564365_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/down.yaml b/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/down.yaml deleted file mode 100644 index 4db9dac2f..000000000 --- a/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoicelines" DROP COLUMN "quantity"; - type: run_sql diff --git a/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/up.yaml b/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/up.yaml deleted file mode 100644 index 925355596..000000000 --- a/hasura/migrations/1588713434755_alter_table_public_invoicelines_add_column_quantity/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."invoicelines" ADD COLUMN "quantity" integer NOT NULL - DEFAULT 1; - type: run_sql diff --git a/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index c168c6100..000000000 --- a/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_insert_permission -- args: - permission: - check: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index cfdd74ff3..000000000 --- a/hasura/migrations/1588713453362_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_insert_permission -- args: - permission: - check: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - quantity - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 1415d9617..000000000 --- a/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - computed_fields: [] - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoicelines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index f54972998..000000000 --- a/hasura/migrations/1588713460636_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoicelines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/down.yaml b/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/down.yaml deleted file mode 100644 index 5dca3857f..000000000 --- a/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - updated_at - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/up.yaml b/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/up.yaml deleted file mode 100644 index af16d5b8b..000000000 --- a/hasura/migrations/1588713469291_update_permission_user_public_table_invoicelines/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: invoicelines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - invoiceid - - joblineid - - line_desc - - quantity - - updated_at - filter: - invoice: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: invoicelines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1588869001045_run_sql_migration/down.yaml b/hasura/migrations/1588869001045_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1588869001045_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1588869001045_run_sql_migration/up.yaml b/hasura/migrations/1588869001045_run_sql_migration/up.yaml deleted file mode 100644 index 0203370b6..000000000 --- a/hasura/migrations/1588869001045_run_sql_migration/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n parts.partcount\n FROM (((jobs j\n LEFT JOIN ( SELECT - l.jobid,\n sum(l.mod_lb_hrs) AS labhrs\n FROM joblines - l\n WHERE (l.mod_lbr_ty = 'LAB'::text)\n GROUP BY l.jobid) - lab ON ((lab.jobid = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n sum(l2.mod_lb_hrs) - AS larhrs\n FROM joblines l2\n WHERE (l2.mod_lbr_ty = 'LAR'::text)\n - \ GROUP BY l2.jobid) lar ON ((lar.jobid = j.id)))\n LEFT JOIN ( - SELECT l3.jobid,\n json_agg(l3.status) AS partcount\n FROM - joblines l3\n where l3.part_type IS NOT NULL\n GROUP BY l3.jobid) - parts ON ((parts.jobid = j.id)))\n WHERE (j.inproduction = true);" - type: run_sql diff --git a/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index 149d9a760..000000000 --- a/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - - partcount - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index 846706108..000000000 --- a/hasura/migrations/1588963534664_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - - partcount - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/down.yaml b/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/down.yaml deleted file mode 100644 index 7206ea7d4..000000000 --- a/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "inhousevendorid"; - type: run_sql diff --git a/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/up.yaml b/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/up.yaml deleted file mode 100644 index 4069e563e..000000000 --- a/hasura/migrations/1589220968554_alter_table_public_bodyshops_add_column_inhousevendorid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "inhousevendorid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index e047a4088..000000000 --- a/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5cdd042d5..000000000 --- a/hasura/migrations/1589220979739_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 345dd574c..000000000 --- a/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 529715952..000000000 --- a/hasura/migrations/1589220986849_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/down.yaml b/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/down.yaml deleted file mode 100644 index ca30c5c80..000000000 --- a/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" DROP COLUMN "quantity"; - type: run_sql diff --git a/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/up.yaml b/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/up.yaml deleted file mode 100644 index abe92d82f..000000000 --- a/hasura/migrations/1589225896113_alter_table_public_parts_order_lines_add_column_quantity/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" ADD COLUMN "quantity" numeric NOT - NULL DEFAULT 1; - type: run_sql diff --git a/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 484182ba8..000000000 --- a/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - orderid - - job_line_id - - line_desc - - oem_partno - - db_price - - act_price - - status - - line_remarks - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index dfdecc4bb..000000000 --- a/hasura/migrations/1589225907303_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index f147077ae..000000000 --- a/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - db_price - - line_desc - - line_remarks - - oem_partno - - status - - created_at - - updated_at - - id - - job_line_id - - orderid - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index e057ea23a..000000000 --- a/hasura/migrations/1589225914182_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 84f9e1e6d..000000000 --- a/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - db_price - - line_desc - - line_remarks - - oem_partno - - status - - created_at - - updated_at - - id - - job_line_id - - orderid - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 6588e2ab3..000000000 --- a/hasura/migrations/1589225921325_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589302634242_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1589302634242_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index f82fe23ab..000000000 --- a/hasura/migrations/1589302634242_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1589302634242_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1589302634242_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index a02ba11ce..000000000 --- a/hasura/migrations/1589302634242_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - html - - name - - query - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: templates - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589303851671_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1589303851671_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index 6bffc1e0e..000000000 --- a/hasura/migrations/1589303851671_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1589303851671_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1589303851671_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index ea9c5ad70..000000000 --- a/hasura/migrations/1589303851671_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - permission: - filter: - _or: - - bodyshopid: - _is_null: false - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: templates - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/down.yaml b/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/down.yaml deleted file mode 100644 index 5f6a8a89d..000000000 --- a/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "intakechecklist"; - type: run_sql diff --git a/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/up.yaml b/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/up.yaml deleted file mode 100644 index 324c622c8..000000000 --- a/hasura/migrations/1589307600089_alter_table_public_bodyshops_add_column_intakechecklist/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "intakechecklist" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 5cdd042d5..000000000 --- a/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 24fcc62ed..000000000 --- a/hasura/migrations/1589307611118_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 529715952..000000000 --- a/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 477056eb1..000000000 --- a/hasura/migrations/1589307625647_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/down.yaml b/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/down.yaml deleted file mode 100644 index 425276ebd..000000000 --- a/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "intakechecklist"; - type: run_sql diff --git a/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/up.yaml b/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/up.yaml deleted file mode 100644 index 518e79a63..000000000 --- a/hasura/migrations/1589354344575_alter_table_public_jobs_add_column_intakechecklist/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "intakechecklist" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f38c14033..000000000 --- a/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 962088486..000000000 --- a/hasura/migrations/1589354360622_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c5748c7d9..000000000 --- a/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,253 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5d889adc3..000000000 --- a/hasura/migrations/1589354371131_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index b7b713a69..000000000 --- a/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2cc028154..000000000 --- a/hasura/migrations/1589354381499_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/down.yaml b/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/down.yaml deleted file mode 100644 index 3198ebcbb..000000000 --- a/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_orders" DROP COLUMN "return"; - type: run_sql diff --git a/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/up.yaml b/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/up.yaml deleted file mode 100644 index 5653ccd3b..000000000 --- a/hasura/migrations/1589481044730_alter_table_public_parts_orders_add_column_return/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_orders" ADD COLUMN "return" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/down.yaml b/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/down.yaml deleted file mode 100644 index 8e537f4d3..000000000 --- a/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/up.yaml b/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/up.yaml deleted file mode 100644 index 28ec7048c..000000000 --- a/hasura/migrations/1589481062644_update_permission_user_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - status - - updated_at - - user_email - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/down.yaml b/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/down.yaml deleted file mode 100644 index 9165bf42c..000000000 --- a/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_orders - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/up.yaml b/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/up.yaml deleted file mode 100644 index 92571d4b8..000000000 --- a/hasura/migrations/1589481097225_update_permission_user_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - status - - updated_at - - user_email - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_orders - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/down.yaml b/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/down.yaml deleted file mode 100644 index 5335afc04..000000000 --- a/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_orders" DROP COLUMN "returnfrominvoice"; - type: run_sql diff --git a/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/up.yaml b/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/up.yaml deleted file mode 100644 index 4aecfe94f..000000000 --- a/hasura/migrations/1589491932788_alter_table_public_parts_orders_add_column_returnfrominvoice/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_orders" ADD COLUMN "returnfrominvoice" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/down.yaml b/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/down.yaml deleted file mode 100644 index e3b0136a4..000000000 --- a/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."parts_orders" drop constraint "parts_orders_returnfrominvoice_fkey"; - type: run_sql diff --git a/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/up.yaml b/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/up.yaml deleted file mode 100644 index 6cbd7ae88..000000000 --- a/hasura/migrations/1589491953447_set_fk_public_parts_orders_returnfrominvoice/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_orders" - add constraint "parts_orders_returnfrominvoice_fkey" - foreign key ("returnfrominvoice") - references "public"."invoices" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1589491967880_track_all_relationships/down.yaml b/hasura/migrations/1589491967880_track_all_relationships/down.yaml deleted file mode 100644 index b39ac7746..000000000 --- a/hasura/migrations/1589491967880_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: parts_orders - table: - name: invoices - schema: public - type: drop_relationship -- args: - relationship: invoice - table: - name: parts_orders - schema: public - type: drop_relationship diff --git a/hasura/migrations/1589491967880_track_all_relationships/up.yaml b/hasura/migrations/1589491967880_track_all_relationships/up.yaml deleted file mode 100644 index e4de73926..000000000 --- a/hasura/migrations/1589491967880_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: parts_orders - table: - name: invoices - schema: public - using: - foreign_key_constraint_on: - column: returnfrominvoice - table: - name: parts_orders - schema: public - type: create_array_relationship -- args: - name: invoice - table: - name: parts_orders - schema: public - using: - foreign_key_constraint_on: returnfrominvoice - type: create_object_relationship diff --git a/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/down.yaml b/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/down.yaml deleted file mode 100644 index 28ec7048c..000000000 --- a/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - status - - updated_at - - user_email - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/up.yaml b/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/up.yaml deleted file mode 100644 index c63d56109..000000000 --- a/hasura/migrations/1589491993267_update_permission_user_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - returnfrominvoice - - status - - updated_at - - user_email - - vendorid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/down.yaml b/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/down.yaml deleted file mode 100644 index 92571d4b8..000000000 --- a/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - status - - updated_at - - user_email - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_orders - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/up.yaml b/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/up.yaml deleted file mode 100644 index b62aca044..000000000 --- a/hasura/migrations/1589492000096_update_permission_user_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - returnfrominvoice - - status - - updated_at - - user_email - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_orders - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/down.yaml b/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/down.yaml deleted file mode 100644 index 13b4f14d5..000000000 --- a/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_update_permission -- args: - permission: - columns: - - deliver_by - - order_date - - order_number - - status - - user_email - - created_at - - updated_at - - id - - jobid - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/up.yaml b/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/up.yaml deleted file mode 100644 index e5f4bae5f..000000000 --- a/hasura/migrations/1589492006320_update_permission_user_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: parts_orders - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - returnfrominvoice - - status - - updated_at - - user_email - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: parts_orders - schema: public - type: create_update_permission diff --git a/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5d889adc3..000000000 --- a/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index aa79c3907..000000000 --- a/hasura/migrations/1589499599269_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/down.yaml b/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/down.yaml deleted file mode 100644 index 16b75535c..000000000 --- a/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "invoice_allocation"; - type: run_sql diff --git a/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/up.yaml b/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/up.yaml deleted file mode 100644 index c15c2c403..000000000 --- a/hasura/migrations/1590010104868_alter_table_public_jobs_add_column_invoice_allocation/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "invoice_allocation" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 962088486..000000000 --- a/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0a78e16c2..000000000 --- a/hasura/migrations/1590010117414_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index aa79c3907..000000000 --- a/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,254 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4e4e0f870..000000000 --- a/hasura/migrations/1590010125521_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 2cc028154..000000000 --- a/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index b15051c7a..000000000 --- a/hasura/migrations/1590010134425_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590169457641_create_table_public_csiinvites/down.yaml b/hasura/migrations/1590169457641_create_table_public_csiinvites/down.yaml deleted file mode 100644 index 1bc1a8a07..000000000 --- a/hasura/migrations/1590169457641_create_table_public_csiinvites/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."csiinvites"; - type: run_sql diff --git a/hasura/migrations/1590169457641_create_table_public_csiinvites/up.yaml b/hasura/migrations/1590169457641_create_table_public_csiinvites/up.yaml deleted file mode 100644 index 336e8372a..000000000 --- a/hasura/migrations/1590169457641_create_table_public_csiinvites/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"csiinvites\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"valid\" boolean NOT NULL - DEFAULT true, \"relateddata\" jsonb, \"bodyshopid\" uuid NOT NULL, \"validuntil\" - date, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE restrict ON DELETE restrict, FOREIGN KEY (\"bodyshopid\") REFERENCES - \"public\".\"bodyshops\"(\"id\") ON UPDATE restrict ON DELETE restrict);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_csiinvites_updated_at\"\nBEFORE - UPDATE ON \"public\".\"csiinvites\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_csiinvites_updated_at\" ON \"public\".\"csiinvites\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: csiinvites - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1590169486927_track_all_relationships/down.yaml b/hasura/migrations/1590169486927_track_all_relationships/down.yaml deleted file mode 100644 index 97efcee36..000000000 --- a/hasura/migrations/1590169486927_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: csiinvites - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: csiinvites - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: csiinvites - schema: public - type: drop_relationship -- args: - relationship: csiinvites - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1590169486927_track_all_relationships/up.yaml b/hasura/migrations/1590169486927_track_all_relationships/up.yaml deleted file mode 100644 index 4273ffc16..000000000 --- a/hasura/migrations/1590169486927_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: csiinvites - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: csiinvites - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: csiinvites - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship -- args: - name: job - table: - name: csiinvites - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: csiinvites - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: csiinvites - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/down.yaml b/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/down.yaml deleted file mode 100644 index a36e524a6..000000000 --- a/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiinvites - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/up.yaml b/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/up.yaml deleted file mode 100644 index 713d020e1..000000000 --- a/hasura/migrations/1590169552540_update_permission_user_public_table_csiinvites/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - valid - - relateddata - - bodyshopid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csiinvites - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/down.yaml b/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/down.yaml deleted file mode 100644 index 80d0cc5a0..000000000 --- a/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiinvites - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/up.yaml b/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/up.yaml deleted file mode 100644 index 7d4ad8c62..000000000 --- a/hasura/migrations/1590169569261_update_permission_user_public_table_csiinvites/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - valid - - validuntil - - relateddata - - created_at - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: csiinvites - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/down.yaml b/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/down.yaml deleted file mode 100644 index dbdaaf979..000000000 --- a/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiinvites - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/up.yaml b/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/up.yaml deleted file mode 100644 index b64e64027..000000000 --- a/hasura/migrations/1590169577215_update_permission_user_public_table_csiinvites/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - permission: - columns: - - valid - - validuntil - - relateddata - - created_at - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csiinvites - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/down.yaml b/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/down.yaml deleted file mode 100644 index 242aad1e8..000000000 --- a/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: csiinvites - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/up.yaml b/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/up.yaml deleted file mode 100644 index e7d622616..000000000 --- a/hasura/migrations/1590169605126_update_permission_anonymous_public_table_csiinvites/up.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - id - - relateddata - - valid - - validuntil - computed_fields: [] - filter: {} - limit: 1 - role: anonymous - table: - name: csiinvites - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169665926_rename_table_public_csiinvites/down.yaml b/hasura/migrations/1590169665926_rename_table_public_csiinvites/down.yaml deleted file mode 100644 index c6240a91c..000000000 --- a/hasura/migrations/1590169665926_rename_table_public_csiinvites/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."csi" rename to "csiinvites"; - type: run_sql diff --git a/hasura/migrations/1590169665926_rename_table_public_csiinvites/up.yaml b/hasura/migrations/1590169665926_rename_table_public_csiinvites/up.yaml deleted file mode 100644 index 82cfb93ab..000000000 --- a/hasura/migrations/1590169665926_rename_table_public_csiinvites/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."csiinvites" rename to "csi"; - type: run_sql diff --git a/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/down.yaml b/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/down.yaml deleted file mode 100644 index da698f126..000000000 --- a/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" DROP COLUMN "response"; - type: run_sql diff --git a/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/up.yaml b/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/up.yaml deleted file mode 100644 index d2d83d131..000000000 --- a/hasura/migrations/1590169695935_alter_table_public_csi_add_column_response/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" ADD COLUMN "response" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1590169707794_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590169707794_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index ae2d88377..000000000 --- a/hasura/migrations/1590169707794_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - valid - - relateddata - - bodyshopid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590169707794_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590169707794_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index ddd5a4897..000000000 --- a/hasura/migrations/1590169707794_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - response - - updated_at - - valid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590169716647_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590169716647_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index a608394fd..000000000 --- a/hasura/migrations/1590169716647_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - valid - - validuntil - - relateddata - - created_at - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169716647_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590169716647_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index ee974fbb7..000000000 --- a/hasura/migrations/1590169716647_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - response - - updated_at - - valid - - validuntil - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169723269_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590169723269_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index ddd5a4897..000000000 --- a/hasura/migrations/1590169723269_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - response - - updated_at - - valid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590169723269_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590169723269_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index 78940bde7..000000000 --- a/hasura/migrations/1590169723269_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - updated_at - - valid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/down.yaml b/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/down.yaml deleted file mode 100644 index b6dceb83a..000000000 --- a/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/down.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - relateddata - - valid - - validuntil - computed_fields: [] - filter: {} - limit: 1 - role: anonymous - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/up.yaml b/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/up.yaml deleted file mode 100644 index 00cf0cd18..000000000 --- a/hasura/migrations/1590169758310_update_permission_anonymous_public_table_csi/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - relateddata - - valid - - validuntil - computed_fields: [] - filter: - valid: - _eq: true - limit: 1 - role: anonymous - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/down.yaml b/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/down.yaml deleted file mode 100644 index 01176a258..000000000 --- a/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/up.yaml b/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/up.yaml deleted file mode 100644 index 48005bc50..000000000 --- a/hasura/migrations/1590169798330_update_permission_anonymous_public_table_csi/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - columns: - - response - - updated_at - filter: - valid: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/down.yaml b/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/down.yaml deleted file mode 100644 index e452fbfbd..000000000 --- a/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - response - - updated_at - filter: - valid: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/up.yaml b/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/up.yaml deleted file mode 100644 index bae48de62..000000000 --- a/hasura/migrations/1590169811190_update_permission_anonymous_public_table_csi/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - response - filter: - valid: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590172385133_create_table_public_csiquestion/down.yaml b/hasura/migrations/1590172385133_create_table_public_csiquestion/down.yaml deleted file mode 100644 index 8c94fd534..000000000 --- a/hasura/migrations/1590172385133_create_table_public_csiquestion/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."csiquestion"; - type: run_sql diff --git a/hasura/migrations/1590172385133_create_table_public_csiquestion/up.yaml b/hasura/migrations/1590172385133_create_table_public_csiquestion/up.yaml deleted file mode 100644 index cb34a6c6d..000000000 --- a/hasura/migrations/1590172385133_create_table_public_csiquestion/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"csiquestion\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid NOT NULL, \"current\" boolean NOT - NULL DEFAULT true, \"config\" jsonb, PRIMARY KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") - REFERENCES \"public\".\"bodyshops\"(\"id\") ON UPDATE restrict ON DELETE restrict);\nCREATE - OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_csiquestion_updated_at\"\nBEFORE - UPDATE ON \"public\".\"csiquestion\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_csiquestion_updated_at\" ON \"public\".\"csiquestion\" - \nIS 'trigger to set value of column \"updated_at\" to current timestamp on - row update';" - type: run_sql -- args: - name: csiquestion - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/down.yaml b/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/down.yaml deleted file mode 100644 index a9b42b626..000000000 --- a/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" DROP COLUMN "questionset"; - type: run_sql diff --git a/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/up.yaml b/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/up.yaml deleted file mode 100644 index 620690374..000000000 --- a/hasura/migrations/1590172409241_alter_table_public_csi_add_column_questionset/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" ADD COLUMN "questionset" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1590172429767_rename_table_public_csiquestion/down.yaml b/hasura/migrations/1590172429767_rename_table_public_csiquestion/down.yaml deleted file mode 100644 index 6112e4cdb..000000000 --- a/hasura/migrations/1590172429767_rename_table_public_csiquestion/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."csiquestions" rename to "csiquestion"; - type: run_sql diff --git a/hasura/migrations/1590172429767_rename_table_public_csiquestion/up.yaml b/hasura/migrations/1590172429767_rename_table_public_csiquestion/up.yaml deleted file mode 100644 index fe2b8144e..000000000 --- a/hasura/migrations/1590172429767_rename_table_public_csiquestion/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."csiquestion" rename to "csiquestions"; - type: run_sql diff --git a/hasura/migrations/1590172446694_set_fk_public_csi_questionset/down.yaml b/hasura/migrations/1590172446694_set_fk_public_csi_questionset/down.yaml deleted file mode 100644 index df44ccc4b..000000000 --- a/hasura/migrations/1590172446694_set_fk_public_csi_questionset/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."csi" drop constraint "csi_questionset_fkey"; - type: run_sql diff --git a/hasura/migrations/1590172446694_set_fk_public_csi_questionset/up.yaml b/hasura/migrations/1590172446694_set_fk_public_csi_questionset/up.yaml deleted file mode 100644 index c50b62508..000000000 --- a/hasura/migrations/1590172446694_set_fk_public_csi_questionset/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."csi" - add constraint "csi_questionset_fkey" - foreign key ("questionset") - references "public"."csiquestions" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1590172453385_track_all_relationships/down.yaml b/hasura/migrations/1590172453385_track_all_relationships/down.yaml deleted file mode 100644 index cf2f4100a..000000000 --- a/hasura/migrations/1590172453385_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: csiquestions - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: csiquestion - table: - name: csi - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: csiquestions - schema: public - type: drop_relationship -- args: - relationship: csis - table: - name: csiquestions - schema: public - type: drop_relationship diff --git a/hasura/migrations/1590172453385_track_all_relationships/up.yaml b/hasura/migrations/1590172453385_track_all_relationships/up.yaml deleted file mode 100644 index 3a3ec4cee..000000000 --- a/hasura/migrations/1590172453385_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: csiquestions - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: csiquestions - schema: public - type: create_array_relationship -- args: - name: csiquestion - table: - name: csi - schema: public - using: - foreign_key_constraint_on: questionset - type: create_object_relationship -- args: - name: bodyshop - table: - name: csiquestions - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship -- args: - name: csis - table: - name: csiquestions - schema: public - using: - foreign_key_constraint_on: - column: questionset - table: - name: csi - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/down.yaml b/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/down.yaml deleted file mode 100644 index 7f0a4b721..000000000 --- a/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: anonymous - table: - name: csiquestions - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/up.yaml b/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/up.yaml deleted file mode 100644 index 1140601b0..000000000 --- a/hasura/migrations/1590172555010_update_permission_anonymous_public_table_csiquestions/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - config - - id - computed_fields: [] - filter: {} - limit: 1 - role: anonymous - table: - name: csiquestions - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/down.yaml b/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/down.yaml deleted file mode 100644 index 6f9a069f8..000000000 --- a/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiquestions - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/up.yaml b/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/up.yaml deleted file mode 100644 index 4ea47f1f5..000000000 --- a/hasura/migrations/1590172596611_update_permission_user_public_table_csiquestions/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - current - - config - - created_at - - updated_at - - bodyshopid - - id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csiquestions - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/down.yaml b/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/down.yaml deleted file mode 100644 index a4e6f5707..000000000 --- a/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiquestions - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/up.yaml b/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/up.yaml deleted file mode 100644 index 1a4308a33..000000000 --- a/hasura/migrations/1590172610009_update_permission_user_public_table_csiquestions/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - current - - config - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: csiquestions - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/down.yaml b/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/down.yaml deleted file mode 100644 index c3d5fdecf..000000000 --- a/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: csiquestions - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/up.yaml b/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/up.yaml deleted file mode 100644 index a5f959d90..000000000 --- a/hasura/migrations/1590172617955_update_permission_user_public_table_csiquestions/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - permission: - columns: - - current - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csiquestions - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/down.yaml b/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/down.yaml deleted file mode 100644 index ba51b40ae..000000000 --- a/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" DROP COLUMN "completed"; - type: run_sql diff --git a/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/up.yaml b/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/up.yaml deleted file mode 100644 index 98289ecd3..000000000 --- a/hasura/migrations/1590184694200_alter_table_public_csi_add_column_completed/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" ADD COLUMN "completed" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/down.yaml b/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/down.yaml deleted file mode 100644 index 6b99c635c..000000000 --- a/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/down.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" ALTER COLUMN "completed" TYPE timestamp with time - zone; - type: run_sql -- args: - cascade: false - read_only: false - sql: alter table "public"."csi" rename column "completedon" to "completed"; - type: run_sql diff --git a/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/up.yaml b/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/up.yaml deleted file mode 100644 index b9953727f..000000000 --- a/hasura/migrations/1590184702149_alter_table_public_csi_alter_column_completed/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."csi" ALTER COLUMN "completed" TYPE timestamptz; - type: run_sql -- args: - cascade: false - read_only: false - sql: alter table "public"."csi" rename column "completed" to "completedon"; - type: run_sql diff --git a/hasura/migrations/1590184719915_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590184719915_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index ee974fbb7..000000000 --- a/hasura/migrations/1590184719915_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - response - - updated_at - - valid - - validuntil - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590184719915_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590184719915_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index a45ce22ba..000000000 --- a/hasura/migrations/1590184719915_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - questionset - - relateddata - - response - - updated_at - - valid - - validuntil - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/down.yaml b/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/down.yaml deleted file mode 100644 index bae48de62..000000000 --- a/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/down.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - response - filter: - valid: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/up.yaml b/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/up.yaml deleted file mode 100644 index f12bda76e..000000000 --- a/hasura/migrations/1590184732654_update_permission_anonymous_public_table_csi/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: anonymous - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - completedon - - response - - valid - filter: - valid: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: anonymous - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/down.yaml b/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/down.yaml deleted file mode 100644 index 92c2567cf..000000000 --- a/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."owners" DROP COLUMN "accountingid"; - type: run_sql diff --git a/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/up.yaml b/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/up.yaml deleted file mode 100644 index 7d129d044..000000000 --- a/hasura/migrations/1590698750370_alter_table_public_owners_add_column_accountingid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."owners" ADD COLUMN "accountingid" text NULL; - type: run_sql diff --git a/hasura/migrations/1590698778968_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590698778968_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 21addc58a..000000000 --- a/hasura/migrations/1590698778968_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - - ownr_title - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590698778968_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590698778968_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 60a6a7f0a..000000000 --- a/hasura/migrations/1590698778968_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - accountingid - - allow_text_message - - created_at - - id - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - shopid - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590698784975_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590698784975_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 85ab7c994..000000000 --- a/hasura/migrations/1590698784975_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590698784975_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590698784975_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index fea901502..000000000 --- a/hasura/migrations/1590698784975_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingid - - allow_text_message - - created_at - - id - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - shopid - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590698791753_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590698791753_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 9609517ec..000000000 --- a/hasura/migrations/1590698791753_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - allow_text_message - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590698791753_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590698791753_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index ed9944e65..000000000 --- a/hasura/migrations/1590698791753_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingid - - allow_text_message - - created_at - - id - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - shopid - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590765528126_run_sql_migration/down.yaml b/hasura/migrations/1590765528126_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590765528126_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590765528126_run_sql_migration/up.yaml b/hasura/migrations/1590765528126_run_sql_migration/up.yaml deleted file mode 100644 index 8929a2bce..000000000 --- a/hasura/migrations/1590765528126_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE INDEX idx_job_search ON jobs USING GIN ((ownr_fn || ' ' || ownr_ln - || ' ' || ownr_co_nm\r\n|| ' ' || ro_number \r\n|| ' ' || est_number \r\n|| - ' ' || clm_no \r\n|| ' ' || ownr_ph1 \r\n|| ' ' || ownr_ea \r\n|| ' ' || plate_no - )\r\n gin_trgm_ops);" - type: run_sql diff --git a/hasura/migrations/1590765808875_run_sql_migration/down.yaml b/hasura/migrations/1590765808875_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590765808875_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590765808875_run_sql_migration/up.yaml b/hasura/migrations/1590765808875_run_sql_migration/up.yaml deleted file mode 100644 index 10e83981e..000000000 --- a/hasura/migrations/1590765808875_run_sql_migration/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE\r\nOR REPLACE FUNCTION public.search_jobs(search text) RETURNS SETOF - jobs LANGUAGE sql STABLE AS $function$\r\nSELECT\r\n *\r\nFROM\r\n jobs\r\nWHERE\r\n - \ search <% (ownr_fn || ' ' || ownr_ln || ' ' || ownr_co_nm\r\n|| ' ' || ro_number - \r\n|| ' ' || est_number \r\n|| ' ' || clm_no \r\n|| ' ' || ownr_ph1 \r\n|| - ' ' || ownr_ea \r\n|| ' ' || plate_no)\r\nORDER BY\r\n similarity(\r\n search,\r\n - \ (ownr_fn || ' ' || ownr_ln || ' ' || ownr_co_nm\r\n|| ' ' || ro_number - \r\n|| ' ' || est_number \r\n|| ' ' || clm_no \r\n|| ' ' || ownr_ph1 \r\n|| - ' ' || ownr_ea \r\n|| ' ' || plate_no)\r\n ) DESC\r\n$function$;" - type: run_sql diff --git a/hasura/migrations/1590766570195_run_sql_migration/down.yaml b/hasura/migrations/1590766570195_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590766570195_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590766570195_run_sql_migration/up.yaml b/hasura/migrations/1590766570195_run_sql_migration/up.yaml deleted file mode 100644 index d4bc49864..000000000 --- a/hasura/migrations/1590766570195_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: drop index idx_job_search; - type: run_sql diff --git a/hasura/migrations/1590766913775_run_sql_migration/down.yaml b/hasura/migrations/1590766913775_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590766913775_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590766913775_run_sql_migration/up.yaml b/hasura/migrations/1590766913775_run_sql_migration/up.yaml deleted file mode 100644 index cb3cc4253..000000000 --- a/hasura/migrations/1590766913775_run_sql_migration/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE INDEX idx_jobs_ownrfn ON jobs\r\nUSING GIN (ownr_fn gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_ownrln ON jobs\r\nUSING GIN (ownr_ln gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_estnumber ON jobs\r\nUSING GIN (cast (est_number as text) gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_ronumber ON jobs\r\nUSING GIN (ro_number gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_clmno ON jobs\r\nUSING GIN (clm_no gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_plateno ON jobs\r\nUSING GIN (plate_no gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_vmakedesc ON jobs\r\nUSING GIN (v_make_desc gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_jobs_vmodeldesc ON jobs\r\nUSING GIN (v_model_desc gin_trgm_ops);" - type: run_sql diff --git a/hasura/migrations/1590767016519_run_sql_migration/down.yaml b/hasura/migrations/1590767016519_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590767016519_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590767016519_run_sql_migration/up.yaml b/hasura/migrations/1590767016519_run_sql_migration/up.yaml deleted file mode 100644 index d51c130c6..000000000 --- a/hasura/migrations/1590767016519_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_jobs(search text)\r\n RETURNS SETOF - jobs\r\n LANGUAGE sql\r\n STABLE\r\nAS $function$\r\nSELECT\r\n *\r\nFROM\r\n - \ jobs\r\nWHERE\r\n search <% (ownr_fn) OR\r\n search <% (ownr_ln) OR\r\n - \ search <% (cast(est_number as text)) OR\r\n search <% (ro_number) OR\r\n - \ search <% (clm_no) OR\r\n search <% (plate_no) OR\r\n search <% (v_make_desc) - OR\r\n search <% (v_model_desc) \r\n\r\n$function$;" - type: run_sql diff --git a/hasura/migrations/1590768879487_run_sql_migration/down.yaml b/hasura/migrations/1590768879487_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590768879487_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590768879487_run_sql_migration/up.yaml b/hasura/migrations/1590768879487_run_sql_migration/up.yaml deleted file mode 100644 index b65680f48..000000000 --- a/hasura/migrations/1590768879487_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_jobs(search text)\r\n RETURNS SETOF - jobs\r\n LANGUAGE plpgsql\r\n STABLE\r\nAS $function$\r\n\r\nBEGIN\r\n if search - = '' then\r\n return query select * from jobs j ;\r\n else \r\n return - query SELECT\r\n *\r\nFROM\r\n jobs\r\nWHERE\r\n search <% (ownr_fn) OR\r\n - \ search <% (ownr_ln) OR\r\n search <% (cast(est_number as text)) OR\r\n search - <% (ro_number) OR\r\n search <% (clm_no) OR\r\n search <% (plate_no) OR\r\n - \ search <% (v_make_desc) OR\r\n search <% (v_model_desc) ;\r\n end if;\r\n\r\n\tEND\r\n\r\n\r\n$function$;" - type: run_sql diff --git a/hasura/migrations/1590769637626_run_sql_migration/down.yaml b/hasura/migrations/1590769637626_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590769637626_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590769637626_run_sql_migration/up.yaml b/hasura/migrations/1590769637626_run_sql_migration/up.yaml deleted file mode 100644 index a5db35a75..000000000 --- a/hasura/migrations/1590769637626_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE INDEX idx_owners_ownrfn ON owners\r\nUSING GIN (ownr_fn gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_owners_ownrln ON owners\r\nUSING GIN (ownr_ln gin_trgm_ops);\r\n\r\nCREATE - INDEX idx_owners_estnumber ON owners\r\nUSING GIN (ownr_co_nm gin_trgm_ops);" - type: run_sql diff --git a/hasura/migrations/1590769674755_run_sql_migration/down.yaml b/hasura/migrations/1590769674755_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590769674755_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590769674755_run_sql_migration/up.yaml b/hasura/migrations/1590769674755_run_sql_migration/up.yaml deleted file mode 100644 index 044fe69ee..000000000 --- a/hasura/migrations/1590769674755_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owner(search text)\r\n RETURNS - SETOF owners\r\n LANGUAGE plpgsql\r\n STABLE\r\nAS $function$\r\n\r\nBEGIN\r\n - \ if search = '' then\r\n return query select * from owners ;\r\n else \r\n - \ return query SELECT\r\n *\r\nFROM\r\n owners\r\nWHERE\r\n search <% (ownr_fn) - OR\r\n search <% (ownr_ln) OR\r\n search <% (ownr_co_nm) ;\r\n end if;\r\n\r\n\tEND\r\n$function$;" - type: run_sql diff --git a/hasura/migrations/1590772155750_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590772155750_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index 78940bde7..000000000 --- a/hasura/migrations/1590772155750_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - relateddata - - updated_at - - valid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590772155750_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590772155750_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index a19f5219a..000000000 --- a/hasura/migrations/1590772155750_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - questionset - - relateddata - - updated_at - - valid - - validuntil - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590772289591_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1590772289591_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index bc9bab34b..000000000 --- a/hasura/migrations/1590772289591_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - valid - - validuntil - - relateddata - - created_at - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590772289591_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1590772289591_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index 7820d79cc..000000000 --- a/hasura/migrations/1590772289591_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - relateddata - - updated_at - - valid - - validuntil - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: csi - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/down.yaml b/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/down.yaml deleted file mode 100644 index 988d9aa47..000000000 --- a/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "accountingconfig"; - type: run_sql diff --git a/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/up.yaml b/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/up.yaml deleted file mode 100644 index 52ad50ed2..000000000 --- a/hasura/migrations/1590789133099_alter_table_public_bodyshops_add_column_accountingconfig/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "accountingconfig" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 24fcc62ed..000000000 --- a/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c7c8f849d..000000000 --- a/hasura/migrations/1590789150309_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 477056eb1..000000000 --- a/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 86c1ba881..000000000 --- a/hasura/migrations/1590789163123_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1590790802468_run_sql_migration/down.yaml b/hasura/migrations/1590790802468_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1590790802468_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1590790802468_run_sql_migration/up.yaml b/hasura/migrations/1590790802468_run_sql_migration/up.yaml deleted file mode 100644 index 44e444fed..000000000 --- a/hasura/migrations/1590790802468_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - alter table owners - drop column accountingid; - type: run_sql diff --git a/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/down.yaml b/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/down.yaml deleted file mode 100644 index 92c2567cf..000000000 --- a/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."owners" DROP COLUMN "accountingid"; - type: run_sql diff --git a/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/up.yaml b/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/up.yaml deleted file mode 100644 index 4e7f1d760..000000000 --- a/hasura/migrations/1590790827681_alter_table_public_owners_add_column_accountingid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."owners" ADD COLUMN "accountingid" bigserial NOT NULL; - type: run_sql diff --git a/hasura/migrations/1590790851669_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590790851669_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 915b657e4..000000000 --- a/hasura/migrations/1590790851669_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1590790851669_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590790851669_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index ced04216b..000000000 --- a/hasura/migrations/1590790851669_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - - ownr_title - - accountingid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1590790859209_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590790859209_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 9f10ffd44..000000000 --- a/hasura/migrations/1590790859209_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1590790859209_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590790859209_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 7a2479c36..000000000 --- a/hasura/migrations/1590790859209_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1590790873577_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1590790873577_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index b94959d43..000000000 --- a/hasura/migrations/1590790873577_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1590790873577_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1590790873577_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index cb8f05bec..000000000 --- a/hasura/migrations/1590790873577_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - permission: - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: owners - schema: public - type: create_update_permission diff --git a/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/down.yaml b/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/down.yaml deleted file mode 100644 index 4f0ee9f3c..000000000 --- a/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "appt_length"; - type: run_sql diff --git a/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/up.yaml b/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/up.yaml deleted file mode 100644 index 4becf570d..000000000 --- a/hasura/migrations/1591214568316_alter_table_public_bodyshops_add_column_appt_length/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "appt_length" integer NOT NULL - DEFAULT 60; - type: run_sql diff --git a/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c7c8f849d..000000000 --- a/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 26ce89aa9..000000000 --- a/hasura/migrations/1591214578485_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 86c1ba881..000000000 --- a/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 9c3945d54..000000000 --- a/hasura/migrations/1591214587491_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1591292925100_update_permission_user_public_table_csi/down.yaml b/hasura/migrations/1591292925100_update_permission_user_public_table_csi/down.yaml deleted file mode 100644 index a45ce22ba..000000000 --- a/hasura/migrations/1591292925100_update_permission_user_public_table_csi/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - questionset - - relateddata - - response - - updated_at - - valid - - validuntil - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591292925100_update_permission_user_public_table_csi/up.yaml b/hasura/migrations/1591292925100_update_permission_user_public_table_csi/up.yaml deleted file mode 100644 index a94a371de..000000000 --- a/hasura/migrations/1591292925100_update_permission_user_public_table_csi/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: csi - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - questionset - - relateddata - - response - - updated_at - - valid - - validuntil - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: csi - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591303854947_create_table_public_payments/down.yaml b/hasura/migrations/1591303854947_create_table_public_payments/down.yaml deleted file mode 100644 index b7ad7a0d6..000000000 --- a/hasura/migrations/1591303854947_create_table_public_payments/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."payments"; - type: run_sql diff --git a/hasura/migrations/1591303854947_create_table_public_payments/up.yaml b/hasura/migrations/1591303854947_create_table_public_payments/up.yaml deleted file mode 100644 index cc211749f..000000000 --- a/hasura/migrations/1591303854947_create_table_public_payments/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"payments\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid NOT NULL, \"amount\" integer NOT NULL, - PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE restrict ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_payments_updated_at\"\nBEFORE - UPDATE ON \"public\".\"payments\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_payments_updated_at\" ON \"public\".\"payments\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: payments - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1591303886596_track_all_relationships/down.yaml b/hasura/migrations/1591303886596_track_all_relationships/down.yaml deleted file mode 100644 index 4be842dba..000000000 --- a/hasura/migrations/1591303886596_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: payments - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: payments - schema: public - type: drop_relationship diff --git a/hasura/migrations/1591303886596_track_all_relationships/up.yaml b/hasura/migrations/1591303886596_track_all_relationships/up.yaml deleted file mode 100644 index dc94463eb..000000000 --- a/hasura/migrations/1591303886596_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: payments - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: payments - schema: public - type: create_array_relationship -- args: - name: job - table: - name: payments - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship diff --git a/hasura/migrations/1591303935525_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1591303935525_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 9830eb5ca..000000000 --- a/hasura/migrations/1591303935525_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1591303935525_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1591303935525_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 9d5cc8103..000000000 --- a/hasura/migrations/1591303935525_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - permission: - allow_upsert: true - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - amount - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1591303943431_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1591303943431_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 5c9a79d99..000000000 --- a/hasura/migrations/1591303943431_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1591303943431_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1591303943431_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 7f855df65..000000000 --- a/hasura/migrations/1591303943431_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_aggregations: false - columns: - - amount - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591303949732_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1591303949732_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 631fe8779..000000000 --- a/hasura/migrations/1591303949732_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1591303949732_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1591303949732_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 714a8d9dd..000000000 --- a/hasura/migrations/1591303949732_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - columns: - - amount - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1591303955052_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1591303955052_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 7e121fe18..000000000 --- a/hasura/migrations/1591303955052_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1591303955052_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1591303955052_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 26cab072d..000000000 --- a/hasura/migrations/1591303955052_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/down.yaml b/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/down.yaml deleted file mode 100644 index 214dc8bcb..000000000 --- a/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "stripe_acct_id"; - type: run_sql diff --git a/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/up.yaml b/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/up.yaml deleted file mode 100644 index 0d281d82f..000000000 --- a/hasura/migrations/1591310798527_alter_table_public_bodyshops_add_column_stripe_acct_id/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "stripe_acct_id" text NULL; - type: run_sql diff --git a/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 26ce89aa9..000000000 --- a/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index a412d8d21..000000000 --- a/hasura/migrations/1591310807506_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/down.yaml b/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/down.yaml deleted file mode 100644 index fb9f70b70..000000000 --- a/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "transactionid"; - type: run_sql diff --git a/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/up.yaml b/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/up.yaml deleted file mode 100644 index 19e4bcce8..000000000 --- a/hasura/migrations/1592257483098_alter_table_public_payments_add_column_transactionid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "transactionid" text NULL; - type: run_sql diff --git a/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/down.yaml b/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/down.yaml deleted file mode 100644 index b883fea83..000000000 --- a/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "memo"; - type: run_sql diff --git a/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/up.yaml b/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/up.yaml deleted file mode 100644 index ff6623a6a..000000000 --- a/hasura/migrations/1592257505571_alter_table_public_payments_add_column_memo/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "memo" text NULL; - type: run_sql diff --git a/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/down.yaml b/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/down.yaml deleted file mode 100644 index 5d140c183..000000000 --- a/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ALTER COLUMN "amount" TYPE integer; - type: run_sql diff --git a/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/up.yaml b/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/up.yaml deleted file mode 100644 index 26f68af02..000000000 --- a/hasura/migrations/1592260834130_alter_table_public_payments_alter_column_amount/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ALTER COLUMN "amount" TYPE numeric; - type: run_sql diff --git a/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/down.yaml b/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/down.yaml deleted file mode 100644 index 6ef7d17b6..000000000 --- a/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "stripeid"; - type: run_sql diff --git a/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/up.yaml b/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/up.yaml deleted file mode 100644 index 072fbd092..000000000 --- a/hasura/migrations/1592260861278_alter_table_public_payments_add_column_stripeid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "stripeid" text NULL; - type: run_sql diff --git a/hasura/migrations/1592261038745_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592261038745_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index f68eb0c4b..000000000 --- a/hasura/migrations/1592261038745_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - amount - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592261038745_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592261038745_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 5d9f8f5a0..000000000 --- a/hasura/migrations/1592261038745_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - amount - - transactionid - - memo - - stripeid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592261045012_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592261045012_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index b5c96d94f..000000000 --- a/hasura/migrations/1592261045012_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - amount - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592261045012_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592261045012_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 87b993f56..000000000 --- a/hasura/migrations/1592261045012_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - amount - - memo - - stripeid - - transactionid - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592261051274_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592261051274_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index daf932de4..000000000 --- a/hasura/migrations/1592261051274_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592261051274_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592261051274_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 8bad2eabf..000000000 --- a/hasura/migrations/1592261051274_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - memo - - stripeid - - transactionid - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/down.yaml b/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/down.yaml deleted file mode 100644 index 8ead0dc0d..000000000 --- a/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "payer"; - type: run_sql diff --git a/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/up.yaml b/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/up.yaml deleted file mode 100644 index 968dd3294..000000000 --- a/hasura/migrations/1592324594982_alter_table_public_payments_add_column_payer/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "payer" text NULL; - type: run_sql diff --git a/hasura/migrations/1592324603137_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592324603137_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 5d9f8f5a0..000000000 --- a/hasura/migrations/1592324603137_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - amount - - transactionid - - memo - - stripeid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592324603137_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592324603137_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 248a04f37..000000000 --- a/hasura/migrations/1592324603137_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592324618856_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592324618856_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 87b993f56..000000000 --- a/hasura/migrations/1592324618856_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - amount - - memo - - stripeid - - transactionid - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592324618856_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592324618856_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index d7f198395..000000000 --- a/hasura/migrations/1592324618856_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592324625348_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592324625348_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 8bad2eabf..000000000 --- a/hasura/migrations/1592324625348_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - memo - - stripeid - - transactionid - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592324625348_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592324625348_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 332aef813..000000000 --- a/hasura/migrations/1592324625348_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592324679227_run_sql_migration/down.yaml b/hasura/migrations/1592324679227_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592324679227_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592324679227_run_sql_migration/up.yaml b/hasura/migrations/1592324679227_run_sql_migration/up.yaml deleted file mode 100644 index 6215879b1..000000000 --- a/hasura/migrations/1592324679227_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: CREATE INDEX idx_payments_payer ON payments USING GIN (payer gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1592325045380_run_sql_migration/down.yaml b/hasura/migrations/1592325045380_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592325045380_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592325045380_run_sql_migration/up.yaml b/hasura/migrations/1592325045380_run_sql_migration/up.yaml deleted file mode 100644 index 35ecb17d1..000000000 --- a/hasura/migrations/1592325045380_run_sql_migration/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_payments(search text)\n RETURNS - SETOF payments\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from payments ;\n else \n return query - SELECT\n *\nFROM\n payments\nWHERE\n search <% (payer) ;\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_payments - schema: public - type: track_function diff --git a/hasura/migrations/1592325133932_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592325133932_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index d7f198395..000000000 --- a/hasura/migrations/1592325133932_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592325133932_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592325133932_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 7485e333c..000000000 --- a/hasura/migrations/1592325133932_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592325262313_run_sql_migration/down.yaml b/hasura/migrations/1592325262313_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592325262313_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592325262313_run_sql_migration/up.yaml b/hasura/migrations/1592325262313_run_sql_migration/up.yaml deleted file mode 100644 index 5d464f7e1..000000000 --- a/hasura/migrations/1592325262313_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - CREATE INDEX idx_payments_memo ON payments USING GIN (memo gin_trgm_ops); - CREATE INDEX idx_payments_txnid ON payments USING GIN (transactionid gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1592325288329_run_sql_migration/down.yaml b/hasura/migrations/1592325288329_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592325288329_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592325288329_run_sql_migration/up.yaml b/hasura/migrations/1592325288329_run_sql_migration/up.yaml deleted file mode 100644 index 4439c7f6f..000000000 --- a/hasura/migrations/1592325288329_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_payments(search text)\n RETURNS - SETOF payments\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from payments ;\n else \n return query - SELECT\n *\nFROM\n payments\nWHERE\n search <% (payer) OR\n search <% (transactionid) - OR\n search <% (memo);\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/down.yaml b/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/down.yaml deleted file mode 100644 index 101187382..000000000 --- a/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "exportedat"; - type: run_sql diff --git a/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/up.yaml b/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/up.yaml deleted file mode 100644 index 8d48bae0a..000000000 --- a/hasura/migrations/1592325952533_alter_table_public_payments_add_column_exportedat/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "exportedat" timestamptz NULL; - type: run_sql diff --git a/hasura/migrations/1592325964121_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592325964121_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 248a04f37..000000000 --- a/hasura/migrations/1592325964121_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592325964121_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592325964121_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 101107d75..000000000 --- a/hasura/migrations/1592325964121_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592325969484_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592325969484_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 7485e333c..000000000 --- a/hasura/migrations/1592325969484_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592325969484_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592325969484_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index bc5c01b3a..000000000 --- a/hasura/migrations/1592325969484_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592325975305_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1592325975305_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 332aef813..000000000 --- a/hasura/migrations/1592325975305_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592325975305_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1592325975305_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index ca990d8e4..000000000 --- a/hasura/migrations/1592325975305_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/down.yaml b/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/down.yaml deleted file mode 100644 index 9fe29b9ce..000000000 --- a/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "kanbanparent"; - type: run_sql diff --git a/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/up.yaml b/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/up.yaml deleted file mode 100644 index c95d912b2..000000000 --- a/hasura/migrations/1592338644254_alter_table_public_jobs_add_column_kanbanparent/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "kanbanparent" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0a78e16c2..000000000 --- a/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1ca9f0a39..000000000 --- a/hasura/migrations/1592338664495_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4e4e0f870..000000000 --- a/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 26e7035b1..000000000 --- a/hasura/migrations/1592338672542_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index b15051c7a..000000000 --- a/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index dbe7e0f0b..000000000 --- a/hasura/migrations/1592338681306_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - localPresets: - - key: "" - value: "" - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1592338828686_run_sql_migration/down.yaml b/hasura/migrations/1592338828686_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592338828686_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592338828686_run_sql_migration/up.yaml b/hasura/migrations/1592338828686_run_sql_migration/up.yaml deleted file mode 100644 index fff1fe20c..000000000 --- a/hasura/migrations/1592338828686_run_sql_migration/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n\n parts.partcount, j.kanbanparent\n FROM (((jobs j\n - \ LEFT JOIN ( SELECT l.jobid,\n sum(l.mod_lb_hrs) AS labhrs\n - \ FROM joblines l\n WHERE (l.mod_lbr_ty = 'LAB'::text)\n GROUP - BY l.jobid) lab ON ((lab.jobid = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n - \ sum(l2.mod_lb_hrs) AS larhrs\n FROM joblines l2\n WHERE - (l2.mod_lbr_ty = 'LAR'::text)\n GROUP BY l2.jobid) lar ON ((lar.jobid - = j.id)))\n LEFT JOIN ( SELECT l3.jobid,\n json_agg(l3.status) - AS partcount\n FROM joblines l3\n WHERE (l3.part_type IS - NOT NULL)\n GROUP BY l3.jobid) parts ON ((parts.jobid = j.id)))\n WHERE - (j.inproduction = true);" - type: run_sql diff --git a/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index 846706108..000000000 --- a/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - - partcount - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index d79153df4..000000000 --- a/hasura/migrations/1592338856120_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_in - - clm_no - - clm_total - - est_number - - id - - ins_co_nm - - kanbanparent - - labhrs - - larhrs - - ownr_fn - - ownr_ln - - ownr_ph1 - - partcount - - plate_no - - production_vars - - ro_number - - scheduled_completion - - scheduled_delivery - - shopid - - special_coverage_policy - - status - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592417299712_drop_view_public_productionview/down.yaml b/hasura/migrations/1592417299712_drop_view_public_productionview/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592417299712_drop_view_public_productionview/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592417299712_drop_view_public_productionview/up.yaml b/hasura/migrations/1592417299712_drop_view_public_productionview/up.yaml deleted file mode 100644 index 6e88a06bd..000000000 --- a/hasura/migrations/1592417299712_drop_view_public_productionview/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP VIEW "public"."productionview"; - type: run_sql diff --git a/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/down.yaml b/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/down.yaml deleted file mode 100644 index 951a77c81..000000000 --- a/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "kanbanparent" TYPE uuid; - type: run_sql diff --git a/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/up.yaml b/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/up.yaml deleted file mode 100644 index 952ad7cef..000000000 --- a/hasura/migrations/1592417338944_alter_table_public_jobs_alter_column_kanbanparent/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "kanbanparent" TYPE text; - type: run_sql diff --git a/hasura/migrations/1592417343599_run_sql_migration/down.yaml b/hasura/migrations/1592417343599_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1592417343599_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1592417343599_run_sql_migration/up.yaml b/hasura/migrations/1592417343599_run_sql_migration/up.yaml deleted file mode 100644 index 122c7f6fe..000000000 --- a/hasura/migrations/1592417343599_run_sql_migration/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n parts.partcount,\n j.kanbanparent\n FROM (((jobs j\n - \ LEFT JOIN ( SELECT l.jobid,\n sum(l.mod_lb_hrs) AS labhrs\n - \ FROM joblines l\n WHERE (l.mod_lbr_ty = 'LAB'::text)\n GROUP - BY l.jobid) lab ON ((lab.jobid = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n - \ sum(l2.mod_lb_hrs) AS larhrs\n FROM joblines l2\n WHERE - (l2.mod_lbr_ty = 'LAR'::text)\n GROUP BY l2.jobid) lar ON ((lar.jobid - = j.id)))\n LEFT JOIN ( SELECT l3.jobid,\n json_agg(l3.status) - AS partcount\n FROM joblines l3\n WHERE (l3.part_type IS - NOT NULL)\n GROUP BY l3.jobid) parts ON ((parts.jobid = j.id)))\n WHERE - (j.inproduction = true);" - type: run_sql -- args: - name: productionview - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/down.yaml b/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/down.yaml deleted file mode 100644 index c8bccabac..000000000 --- a/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: bodyshop - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/up.yaml b/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/up.yaml deleted file mode 100644 index b91854674..000000000 --- a/hasura/migrations/1592417407401_create_relationship_bodyshop_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: bodyshop - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - shopid: id - remote_table: - name: bodyshops - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/down.yaml b/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/down.yaml deleted file mode 100644 index d2ca2e22f..000000000 --- a/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: productionview - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/up.yaml b/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/up.yaml deleted file mode 100644 index ad659002c..000000000 --- a/hasura/migrations/1592417440460_update_permission_user_public_table_productionview/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - permission: - allow_aggregations: true - columns: - - id - - status - - ro_number - - est_number - - ownr_fn - - ownr_ln - - v_model_yr - - v_model_desc - - clm_no - - v_make_desc - - v_color - - plate_no - - actual_in - - scheduled_completion - - scheduled_delivery - - ins_co_nm - - clm_total - - ownr_ph1 - - special_coverage_policy - - production_vars - - labhrs - - larhrs - - shopid - - partcount - - kanbanparent - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: productionview - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/down.yaml b/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/down.yaml deleted file mode 100644 index 28d9bc4e7..000000000 --- a/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "ssbuckets"; - type: run_sql diff --git a/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/up.yaml b/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/up.yaml deleted file mode 100644 index d2bfbe5b2..000000000 --- a/hasura/migrations/1592854595888_alter_table_public_bodyshops_add_column_ssbuckets/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "ssbuckets" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index a412d8d21..000000000 --- a/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 9b9cc2a17..000000000 --- a/hasura/migrations/1592854609057_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 02ec31b86..000000000 --- a/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 96048ac73..000000000 --- a/hasura/migrations/1593023670525_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/down.yaml b/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/down.yaml deleted file mode 100644 index 73f6fb5e0..000000000 --- a/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" DROP COLUMN "block"; - type: run_sql diff --git a/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/up.yaml b/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/up.yaml deleted file mode 100644 index 3daeb9e4c..000000000 --- a/hasura/migrations/1593106950595_alter_table_public_appointments_add_column_block/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" ADD COLUMN "block" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 7a8708e39..000000000 --- a/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - start - - end - - canceled - - arrived - - isintake - - bodyshopid - - title - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 395eb2282..000000000 --- a/hasura/migrations/1593106965112_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 1c74631cf..000000000 --- a/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - canceled - - isintake - - title - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 493ba4dcc..000000000 --- a/hasura/migrations/1593106971803_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 4738d5505..000000000 --- a/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - canceled - - isintake - - title - - created_at - - end - - start - - updated_at - - bodyshopid - - id - - jobid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index ceb8763aa..000000000 --- a/hasura/migrations/1593106978517_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593188899179_create_table_public_scoreboard/down.yaml b/hasura/migrations/1593188899179_create_table_public_scoreboard/down.yaml deleted file mode 100644 index 1f687f33a..000000000 --- a/hasura/migrations/1593188899179_create_table_public_scoreboard/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."scoreboard"; - type: run_sql diff --git a/hasura/migrations/1593188899179_create_table_public_scoreboard/up.yaml b/hasura/migrations/1593188899179_create_table_public_scoreboard/up.yaml deleted file mode 100644 index 632fd67db..000000000 --- a/hasura/migrations/1593188899179_create_table_public_scoreboard/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: CREATE TABLE "public"."scoreboard"("id" uuid NOT NULL DEFAULT gen_random_uuid(), - "jobid" uuid NOT NULL, "painthrs" numeric NOT NULL DEFAULT 0, "bodyhrs" numeric - NOT NULL DEFAULT 0, "date" date NOT NULL DEFAULT now(), PRIMARY KEY ("id") , - FOREIGN KEY ("jobid") REFERENCES "public"."jobs"("id") ON UPDATE cascade ON - DELETE cascade); - type: run_sql -- args: - name: scoreboard - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1593188907600_track_all_relationships/down.yaml b/hasura/migrations/1593188907600_track_all_relationships/down.yaml deleted file mode 100644 index 96d2abf1a..000000000 --- a/hasura/migrations/1593188907600_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: scoreboards - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: scoreboard - schema: public - type: drop_relationship diff --git a/hasura/migrations/1593188907600_track_all_relationships/up.yaml b/hasura/migrations/1593188907600_track_all_relationships/up.yaml deleted file mode 100644 index c52da5195..000000000 --- a/hasura/migrations/1593188907600_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: scoreboards - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: scoreboard - schema: public - type: create_array_relationship -- args: - name: job - table: - name: scoreboard - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship diff --git a/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/down.yaml b/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/down.yaml deleted file mode 100644 index 82df32845..000000000 --- a/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: scoreboard - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/up.yaml b/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/up.yaml deleted file mode 100644 index 2c510729e..000000000 --- a/hasura/migrations/1593189016662_update_permission_user_public_table_scoreboard/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_upsert: true - backend_only: false - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - jobid - - painthrs - - bodyhrs - - date - set: {} - role: user - table: - name: scoreboard - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/down.yaml b/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/down.yaml deleted file mode 100644 index c8cb9c8be..000000000 --- a/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: scoreboard - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/up.yaml b/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/up.yaml deleted file mode 100644 index 2a83db4ed..000000000 --- a/hasura/migrations/1593189027209_update_permission_user_public_table_scoreboard/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - permission: - allow_aggregations: true - backend_only: false - columns: - - date - - bodyhrs - - painthrs - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: scoreboard - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/down.yaml b/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/down.yaml deleted file mode 100644 index db151710e..000000000 --- a/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: scoreboard - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/up.yaml b/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/up.yaml deleted file mode 100644 index 6228c75ad..000000000 --- a/hasura/migrations/1593189034065_update_permission_user_public_table_scoreboard/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - permission: - backend_only: false - columns: - - date - - bodyhrs - - painthrs - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: scoreboard - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/down.yaml b/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/down.yaml deleted file mode 100644 index ed7f1ec9a..000000000 --- a/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: scoreboard - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/up.yaml b/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/up.yaml deleted file mode 100644 index 7a0786450..000000000 --- a/hasura/migrations/1593189042050_update_permission_user_public_table_scoreboard/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - permission: - backend_only: false - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: scoreboard - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/down.yaml b/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/down.yaml deleted file mode 100644 index 35cb79218..000000000 --- a/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "scoreboard_target"; - type: run_sql diff --git a/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/up.yaml b/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/up.yaml deleted file mode 100644 index e448b94ad..000000000 --- a/hasura/migrations/1593189072315_alter_table_public_bodyshops_add_column_scoreboard_target/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "scoreboard_target" jsonb NULL - DEFAULT jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 9b9cc2a17..000000000 --- a/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 2ec6f434e..000000000 --- a/hasura/migrations/1593189083426_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 96048ac73..000000000 --- a/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 1466f0a71..000000000 --- a/hasura/migrations/1593189089211_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/down.yaml b/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/down.yaml deleted file mode 100644 index 76357445a..000000000 --- a/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" DROP COLUMN "pin"; - type: run_sql diff --git a/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/up.yaml b/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/up.yaml deleted file mode 100644 index 17bc8f222..000000000 --- a/hasura/migrations/1593465273548_alter_table_public_employees_add_column_pin/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" ADD COLUMN "pin" text NULL; - type: run_sql diff --git a/hasura/migrations/1593465285886_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1593465285886_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 23e873812..000000000 --- a/hasura/migrations/1593465285886_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - first_name - - last_name - - employee_number - - shopid - - active - - hire_date - - termination_date - - base_rate - - cost_center - - flat_rate - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593465285886_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1593465285886_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 87a93588c..000000000 --- a/hasura/migrations/1593465285886_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593465298025_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1593465298025_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 5e0722baa..000000000 --- a/hasura/migrations/1593465298025_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - flat_rate - - hire_date - - termination_date - - base_rate - - cost_center - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593465298025_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1593465298025_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index cd16e8032..000000000 --- a/hasura/migrations/1593465298025_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593465305783_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1593465305783_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 56719d451..000000000 --- a/hasura/migrations/1593465305783_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - flat_rate - - hire_date - - termination_date - - base_rate - - cost_center - - employee_number - - first_name - - last_name - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593465305783_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1593465305783_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 3c4900c14..000000000 --- a/hasura/migrations/1593465305783_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/down.yaml b/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/down.yaml deleted file mode 100644 index 690192386..000000000 --- a/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "type"; - type: run_sql diff --git a/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/up.yaml b/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/up.yaml deleted file mode 100644 index 061b0765f..000000000 --- a/hasura/migrations/1593558171467_alter_table_public_payments_add_column_type/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "type" text NULL; - type: run_sql diff --git a/hasura/migrations/1593558184193_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1593558184193_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index c717f4391..000000000 --- a/hasura/migrations/1593558184193_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593558184193_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1593558184193_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index d048afd30..000000000 --- a/hasura/migrations/1593558184193_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1593558194216_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1593558194216_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 7e84bd349..000000000 --- a/hasura/migrations/1593558194216_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593558194216_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1593558194216_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index ffba0de91..000000000 --- a/hasura/migrations/1593558194216_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/down.yaml b/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/down.yaml deleted file mode 100644 index 322274d86..000000000 --- a/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ALTER COLUMN "ciecacode" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/up.yaml b/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/up.yaml deleted file mode 100644 index 3e153375e..000000000 --- a/hasura/migrations/1593808978924_alter_table_public_timetickets_alter_column_ciecacode/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ALTER COLUMN "ciecacode" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/down.yaml b/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/down.yaml deleted file mode 100644 index 78ed45603..000000000 --- a/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ALTER COLUMN "jobid" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/up.yaml b/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/up.yaml deleted file mode 100644 index be9cca82a..000000000 --- a/hasura/migrations/1593808998661_alter_table_public_timetickets_alter_column_jobid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ALTER COLUMN "jobid" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/down.yaml b/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/down.yaml deleted file mode 100644 index f79d49113..000000000 --- a/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_referral_sources"; - type: run_sql diff --git a/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/up.yaml b/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/up.yaml deleted file mode 100644 index fb4e12981..000000000 --- a/hasura/migrations/1594659447638_alter_table_public_bodyshops_add_column_md_referral_sources/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_referral_sources" jsonb NOT - NULL DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 2ec6f434e..000000000 --- a/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index a356f7c0d..000000000 --- a/hasura/migrations/1594659481096_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,56 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 1466f0a71..000000000 --- a/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index e3ade79e8..000000000 --- a/hasura/migrations/1594659492762_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594680139254_run_sql_migration/down.yaml b/hasura/migrations/1594680139254_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1594680139254_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1594680139254_run_sql_migration/up.yaml b/hasura/migrations/1594680139254_run_sql_migration/up.yaml deleted file mode 100644 index 6c88b4996..000000000 --- a/hasura/migrations/1594680139254_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - CREATE INDEX idx_vehicles_vin ON vehicles USING GIN (v_vin gin_trgm_ops); - CREATE INDEX idx_vehicles_plateno ON vehicles USING GIN (plate_no gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1594680221027_run_sql_migration/down.yaml b/hasura/migrations/1594680221027_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1594680221027_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1594680221027_run_sql_migration/up.yaml b/hasura/migrations/1594680221027_run_sql_migration/up.yaml deleted file mode 100644 index 0750cc6cf..000000000 --- a/hasura/migrations/1594680221027_run_sql_migration/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_vehicles(search text)\n RETURNS - SETOF vehicles\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from vehicles ;\n else \n return query - SELECT\n *\nFROM\n vehicles\nWHERE\n search <% (v_vin) OR\n search <% (plate_no);\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_vehicles - schema: public - type: track_function diff --git a/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/down.yaml b/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/down.yaml deleted file mode 100644 index bec9ebae2..000000000 --- a/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/up.yaml b/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/up.yaml deleted file mode 100644 index 47038ddc5..000000000 --- a/hasura/migrations/1594680369038_update_permission_user_public_table_vehicles/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: vehicles - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vehicles - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594681018728_run_sql_migration/down.yaml b/hasura/migrations/1594681018728_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1594681018728_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1594681018728_run_sql_migration/up.yaml b/hasura/migrations/1594681018728_run_sql_migration/up.yaml deleted file mode 100644 index 091b48e2a..000000000 --- a/hasura/migrations/1594681018728_run_sql_migration/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE INDEX idx_owners_ownr_fn ON owners USING GIN (ownr_fn gin_trgm_ops);\nCREATE - INDEX idx_owners_ownr_ln ON owners USING GIN (ownr_ln gin_trgm_ops);\nCREATE - INDEX idx_owners_ownr_co_nm ON owners USING GIN (ownr_co_nm gin_trgm_ops);\nCREATE - INDEX idx_owners_ownr_ph1 ON owners USING GIN (ownr_ph1 gin_trgm_ops);\nCREATE - INDEX idx_owners_ownr_addr1 ON owners USING GIN (ownr_addr1 gin_trgm_ops);\n\n\nCREATE - OR REPLACE FUNCTION public.search_owners(search text)\n RETURNS SETOF owners\n - LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' then\n return - query select * from owners ;\n else \n return query SELECT\n *\nFROM\n - \ owners\nWHERE\n search <% (ownr_fn) OR\n search <% (ownr_ln) OR\n search - <% (ownr_co_nm) OR\n search <% (ownr_ph1) OR\n search <% (ownr_addr1);\n end - if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_owners - schema: public - type: track_function diff --git a/hasura/migrations/1594681091201_update_permission_user_public_table_owners/down.yaml b/hasura/migrations/1594681091201_update_permission_user_public_table_owners/down.yaml deleted file mode 100644 index 7c2e787be..000000000 --- a/hasura/migrations/1594681091201_update_permission_user_public_table_owners/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594681091201_update_permission_user_public_table_owners/up.yaml b/hasura/migrations/1594681091201_update_permission_user_public_table_owners/up.yaml deleted file mode 100644 index 42fd04f2f..000000000 --- a/hasura/migrations/1594681091201_update_permission_user_public_table_owners/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: owners - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: owners - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594741283350_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1594741283350_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index bc5c01b3a..000000000 --- a/hasura/migrations/1594741283350_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594741283350_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1594741283350_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index d3263f3f0..000000000 --- a/hasura/migrations/1594741283350_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/down.yaml b/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/down.yaml deleted file mode 100644 index 12f0337eb..000000000 --- a/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" DROP COLUMN "dashboardlayout"; - type: run_sql diff --git a/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/up.yaml b/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/up.yaml deleted file mode 100644 index ae0348fbf..000000000 --- a/hasura/migrations/1594749366397_alter_table_public_users_add_column_dashboardlayout/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" ADD COLUMN "dashboardlayout" jsonb NOT NULL - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1594749387526_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1594749387526_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 14839d69a..000000000 --- a/hasura/migrations/1594749387526_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594749387526_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1594749387526_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 3822a6184..000000000 --- a/hasura/migrations/1594749387526_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594749395552_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1594749395552_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 9c06f74fb..000000000 --- a/hasura/migrations/1594749395552_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - authid - - email - - fcmtokens - filter: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594749395552_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1594749395552_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index f50ab23e2..000000000 --- a/hasura/migrations/1594749395552_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_update_permission -- args: - permission: - columns: - - authid - - dashboardlayout - - email - - fcmtokens - filter: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: users - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/down.yaml b/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/down.yaml deleted file mode 100644 index d4f9086a3..000000000 --- a/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoices - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/up.yaml b/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/up.yaml deleted file mode 100644 index 5e57c7e8f..000000000 --- a/hasura/migrations/1594836040740_update_permission_user_public_table_invoices/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: invoices - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: invoices - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/down.yaml b/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/down.yaml deleted file mode 100644 index 1dc83f416..000000000 --- a/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" DROP COLUMN "user_email"; - type: run_sql diff --git a/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/up.yaml b/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/up.yaml deleted file mode 100644 index 6726affb4..000000000 --- a/hasura/migrations/1594851818607_alter_table_public_employees_add_column_user_email/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" ADD COLUMN "user_email" text NULL UNIQUE; - type: run_sql diff --git a/hasura/migrations/1594851844985_set_fk_public_employees_user_email/down.yaml b/hasura/migrations/1594851844985_set_fk_public_employees_user_email/down.yaml deleted file mode 100644 index 48005327a..000000000 --- a/hasura/migrations/1594851844985_set_fk_public_employees_user_email/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."employees" drop constraint "employees_user_email_fkey"; - type: run_sql diff --git a/hasura/migrations/1594851844985_set_fk_public_employees_user_email/up.yaml b/hasura/migrations/1594851844985_set_fk_public_employees_user_email/up.yaml deleted file mode 100644 index 576e41aee..000000000 --- a/hasura/migrations/1594851844985_set_fk_public_employees_user_email/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."employees" - add constraint "employees_user_email_fkey" - foreign key ("user_email") - references "public"."users" - ("email") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1594851857360_set_fk_public_employees_user_email/down.yaml b/hasura/migrations/1594851857360_set_fk_public_employees_user_email/down.yaml deleted file mode 100644 index c6cbe2afe..000000000 --- a/hasura/migrations/1594851857360_set_fk_public_employees_user_email/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."employees" drop constraint "employees_user_email_fkey", - add constraint "employees_user_email_fkey" - foreign key ("shopid") - references "public"."bodyshops" - ("id") - on update cascade - on delete cascade; - type: run_sql diff --git a/hasura/migrations/1594851857360_set_fk_public_employees_user_email/up.yaml b/hasura/migrations/1594851857360_set_fk_public_employees_user_email/up.yaml deleted file mode 100644 index 1eb438597..000000000 --- a/hasura/migrations/1594851857360_set_fk_public_employees_user_email/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."employees" drop constraint "employees_user_email_fkey", - add constraint "employees_user_email_fkey" - foreign key ("user_email") - references "public"."users" - ("email") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/down.yaml b/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/down.yaml deleted file mode 100644 index 20b527075..000000000 --- a/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: employee - table: - name: users - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/up.yaml b/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/up.yaml deleted file mode 100644 index 8bfb787a2..000000000 --- a/hasura/migrations/1594851876967_add_relationship_employee_table_public_undefined/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: employee - table: - name: users - schema: public - using: - manual_configuration: - column_mapping: - email: user_email - remote_table: - name: employees - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/down.yaml b/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/down.yaml deleted file mode 100644 index 494b1abba..000000000 --- a/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: user - table: - name: employees - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/up.yaml b/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/up.yaml deleted file mode 100644 index fb48d7ff9..000000000 --- a/hasura/migrations/1594851879473_add_relationship_user_table_public_undefined/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: user - table: - name: employees - schema: public - using: - foreign_key_constraint_on: user_email - type: create_object_relationship diff --git a/hasura/migrations/1594852259471_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1594852259471_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 87a93588c..000000000 --- a/hasura/migrations/1594852259471_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594852259471_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1594852259471_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 71581edc3..000000000 --- a/hasura/migrations/1594852259471_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594852265828_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1594852265828_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 3c4900c14..000000000 --- a/hasura/migrations/1594852265828_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594852265828_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1594852265828_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 8655d5eaf..000000000 --- a/hasura/migrations/1594852265828_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594852271012_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1594852271012_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index cd16e8032..000000000 --- a/hasura/migrations/1594852271012_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594852271012_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1594852271012_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index e0859b31d..000000000 --- a/hasura/migrations/1594852271012_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index bc6e43c69..000000000 --- a/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 240ecfad3..000000000 --- a/hasura/migrations/1594915350729_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/down.yaml b/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/down.yaml deleted file mode 100644 index 96c564400..000000000 --- a/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" DROP COLUMN "bodyshopid"; - type: run_sql diff --git a/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/up.yaml b/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/up.yaml deleted file mode 100644 index ee1d6c0ee..000000000 --- a/hasura/migrations/1594915426388_alter_table_public_timetickets_add_column_bodyshopid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ADD COLUMN "bodyshopid" uuid NOT NULL; - type: run_sql diff --git a/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/down.yaml b/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/down.yaml deleted file mode 100644 index 0d7986c4a..000000000 --- a/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."timetickets" drop constraint "timetickets_bodyshopid_fkey"; - type: run_sql diff --git a/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/up.yaml b/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/up.yaml deleted file mode 100644 index 6c8c4e6af..000000000 --- a/hasura/migrations/1594915475076_set_fk_public_timetickets_bodyshopid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."timetickets" - add constraint "timetickets_bodyshopid_fkey" - foreign key ("bodyshopid") - references "public"."bodyshops" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1594915490297_track_all_relationships/down.yaml b/hasura/migrations/1594915490297_track_all_relationships/down.yaml deleted file mode 100644 index 497f44e49..000000000 --- a/hasura/migrations/1594915490297_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: timetickets - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: timetickets - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594915490297_track_all_relationships/up.yaml b/hasura/migrations/1594915490297_track_all_relationships/up.yaml deleted file mode 100644 index 5f3da62f5..000000000 --- a/hasura/migrations/1594915490297_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: timetickets - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: timetickets - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: timetickets - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 240ecfad3..000000000 --- a/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 4602bb169..000000000 --- a/hasura/migrations/1594915535846_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 2385c1c75..000000000 --- a/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - date - - actualhrs - - productivehrs - - rate - - ciecacode - - cost_center - - clockoff - - clockon - - created_at - - updated_at - - employeeid - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 578083106..000000000 --- a/hasura/migrations/1594915560544_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 4602bb169..000000000 --- a/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - date - - cost_center - - employeeid - - jobid - - rate - - productivehrs - - actualhrs - - clockon - - clockoff - - ciecacode - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index c1deea7fc..000000000 --- a/hasura/migrations/1594915572129_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 87f016c2f..000000000 --- a/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_update_permission -- args: - permission: - columns: - - date - - actualhrs - - productivehrs - - rate - - ciecacode - - cost_center - - clockoff - - clockon - - created_at - - updated_at - - employeeid - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: timetickets - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 607a87ce6..000000000 --- a/hasura/migrations/1594915585321_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: timetickets - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index d6cac164e..000000000 --- a/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_delete_permission -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index c2f88054f..000000000 --- a/hasura/migrations/1594915594328_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_delete_permission -- args: - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/down.yaml b/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/down.yaml deleted file mode 100644 index e2f8bd8a1..000000000 --- a/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" DROP COLUMN "memo"; - type: run_sql diff --git a/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/up.yaml b/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/up.yaml deleted file mode 100644 index 9fe67874e..000000000 --- a/hasura/migrations/1594918801030_alter_table_public_timetickets_add_column_memo/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."timetickets" ADD COLUMN "memo" text NULL; - type: run_sql diff --git a/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index c1deea7fc..000000000 --- a/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 2738367b3..000000000 --- a/hasura/migrations/1594918812708_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - set: {} - role: user - table: - name: timetickets - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 578083106..000000000 --- a/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 9b9382fa6..000000000 --- a/hasura/migrations/1594918823530_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: timetickets - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/down.yaml b/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/down.yaml deleted file mode 100644 index 607a87ce6..000000000 --- a/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - productivehrs - - rate - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: timetickets - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/up.yaml b/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/up.yaml deleted file mode 100644 index 81b11bf65..000000000 --- a/hasura/migrations/1594918834840_update_permission_user_public_table_timetickets/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: timetickets - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: timetickets - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/down.yaml b/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/down.yaml deleted file mode 100644 index 82630d41b..000000000 --- a/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "employee_body"; - type: run_sql diff --git a/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/up.yaml b/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/up.yaml deleted file mode 100644 index 40e980024..000000000 --- a/hasura/migrations/1594921658592_alter_table_public_jobs_add_column_employee_body/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "employee_body" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/down.yaml b/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/down.yaml deleted file mode 100644 index bb1d0e1b9..000000000 --- a/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "employee_refinish"; - type: run_sql diff --git a/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/up.yaml b/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/up.yaml deleted file mode 100644 index cf89fdb9b..000000000 --- a/hasura/migrations/1594921667947_alter_table_public_jobs_add_column_employee_refinish/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "employee_refinish" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/down.yaml b/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/down.yaml deleted file mode 100644 index d49240e28..000000000 --- a/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" drop constraint "jobs_employee_body_fkey"; - type: run_sql diff --git a/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/up.yaml b/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/up.yaml deleted file mode 100644 index b175a8faa..000000000 --- a/hasura/migrations/1594921687862_set_fk_public_jobs_employee_body/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."jobs" - add constraint "jobs_employee_body_fkey" - foreign key ("employee_body") - references "public"."employees" - ("id") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/down.yaml b/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/down.yaml deleted file mode 100644 index 2b23b593c..000000000 --- a/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" drop constraint "jobs_employee_refinish_fkey"; - type: run_sql diff --git a/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/up.yaml b/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/up.yaml deleted file mode 100644 index 6b00138db..000000000 --- a/hasura/migrations/1594921705289_set_fk_public_jobs_employee_refinish/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."jobs" - add constraint "jobs_employee_refinish_fkey" - foreign key ("employee_refinish") - references "public"."employees" - ("id") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1594921899352_track_all_relationships/down.yaml b/hasura/migrations/1594921899352_track_all_relationships/down.yaml deleted file mode 100644 index 448bee39c..000000000 --- a/hasura/migrations/1594921899352_track_all_relationships/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - relationship: employee - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: employeeByEmployeeBody - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: jobs - table: - name: employees - schema: public - type: drop_relationship -- args: - relationship: jobsByEmployeeRefinish - table: - name: employees - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594921899352_track_all_relationships/up.yaml b/hasura/migrations/1594921899352_track_all_relationships/up.yaml deleted file mode 100644 index a5f7a2c41..000000000 --- a/hasura/migrations/1594921899352_track_all_relationships/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - name: employee - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: employee_refinish - type: create_object_relationship -- args: - name: employeeByEmployeeBody - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: employee_body - type: create_object_relationship -- args: - name: jobs - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employee_body - table: - name: jobs - schema: public - type: create_array_relationship -- args: - name: jobsByEmployeeRefinish - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employee_refinish - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8aa9cc00c..000000000 --- a/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0178be5a6..000000000 --- a/hasura/migrations/1594923683074_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 26e7035b1..000000000 --- a/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,256 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e157ffd56..000000000 --- a/hasura/migrations/1594923695014_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8d2013ec2..000000000 --- a/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,255 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4e85e20cd..000000000 --- a/hasura/migrations/1594923702147_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/down.yaml b/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/down.yaml deleted file mode 100644 index 31423f50b..000000000 --- a/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee_refinish_rel - new_name: employee - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/up.yaml b/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/up.yaml deleted file mode 100644 index 27fa63b3b..000000000 --- a/hasura/migrations/1594925500847_rename_relationship_employee_to_employee_refinish_rel_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee - new_name: employee_refinish_rel - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/down.yaml b/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/down.yaml deleted file mode 100644 index 1dcfe0459..000000000 --- a/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee_body_rel - new_name: employeeByEmployeeBody - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/up.yaml b/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/up.yaml deleted file mode 100644 index 74881e299..000000000 --- a/hasura/migrations/1594925511356_rename_relationship_employeeByEmployeeBody_to_employee_body_rel_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employeeByEmployeeBody - new_name: employee_body_rel - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1594932730719_run_sql_migration/down.yaml b/hasura/migrations/1594932730719_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1594932730719_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1594932730719_run_sql_migration/up.yaml b/hasura/migrations/1594932730719_run_sql_migration/up.yaml deleted file mode 100644 index 7bc1377bd..000000000 --- a/hasura/migrations/1594932730719_run_sql_migration/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"productionview\" AS \n SELECT j.id,\n - \ j.status,\n j.ro_number,\n j.est_number,\n j.ownr_fn,\n j.ownr_ln,\n - \ j.v_model_yr,\n j.v_model_desc,\n j.clm_no,\n j.v_make_desc,\n - \ j.v_color,\n j.plate_no,\n j.actual_in,\n j.scheduled_completion,\n - \ j.scheduled_delivery,\n j.ins_co_nm,\n j.clm_total,\n j.ownr_ph1,\n - \ j.special_coverage_policy,\n j.production_vars,\n lab.labhrs,\n lar.larhrs,\n - \ j.shopid,\n parts.partcount,\n j.kanbanparent,\n j.employee_body,\n - \ j.employee_refinish\n FROM (((jobs j\n LEFT JOIN ( SELECT l.jobid,\n - \ sum(l.mod_lb_hrs) AS labhrs\n FROM joblines l\n WHERE - (l.mod_lbr_ty = 'LAB'::text)\n GROUP BY l.jobid) lab ON ((lab.jobid - = j.id)))\n LEFT JOIN ( SELECT l2.jobid,\n sum(l2.mod_lb_hrs) - AS larhrs\n FROM joblines l2\n WHERE (l2.mod_lbr_ty = 'LAR'::text)\n - \ GROUP BY l2.jobid) lar ON ((lar.jobid = j.id)))\n LEFT JOIN ( - SELECT l3.jobid,\n json_agg(l3.status) AS partcount\n FROM - joblines l3\n WHERE (l3.part_type IS NOT NULL)\n GROUP BY - l3.jobid) parts ON ((parts.jobid = j.id)))\n WHERE (j.inproduction = true);" - type: run_sql diff --git a/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/down.yaml b/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/down.yaml deleted file mode 100644 index e29526af1..000000000 --- a/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: employee_refinish_rel - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/up.yaml b/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/up.yaml deleted file mode 100644 index 5ee8b08b6..000000000 --- a/hasura/migrations/1594932762413_create_relationship_employee_refinish_rel_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: employee_refinish_rel - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - employee_refinish: id - remote_table: - name: employees - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/down.yaml b/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/down.yaml deleted file mode 100644 index 580a35af6..000000000 --- a/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: employee_body_rel - table: - name: productionview - schema: public - type: drop_relationship diff --git a/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/up.yaml b/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/up.yaml deleted file mode 100644 index 8a3bbec81..000000000 --- a/hasura/migrations/1594932786764_create_relationship_employee_body_rel_public_table_productionview/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: employee_body_rel - table: - name: productionview - schema: public - using: - manual_configuration: - column_mapping: - employee_body: id - remote_table: - name: employees - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1594934537921_drop_function_public_search_owner/down.yaml b/hasura/migrations/1594934537921_drop_function_public_search_owner/down.yaml deleted file mode 100644 index 22e6a5b37..000000000 --- a/hasura/migrations/1594934537921_drop_function_public_search_owner/down.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owner(search text)\n RETURNS SETOF - owners\n LANGUAGE plpgsql\n STABLE\nAS $function$\r\n\r\nBEGIN\r\n if search - = '' then\r\n return query select * from owners ;\r\n else \r\n return - query SELECT\r\n *\r\nFROM\r\n owners\r\nWHERE\r\n search <% (ownr_fn) OR\r\n - \ search <% (ownr_ln) OR\r\n search <% (ownr_co_nm) ;\r\n end if;\r\n\r\n\tEND\r\n$function$;" - type: run_sql diff --git a/hasura/migrations/1594934537921_drop_function_public_search_owner/up.yaml b/hasura/migrations/1594934537921_drop_function_public_search_owner/up.yaml deleted file mode 100644 index dacf4304c..000000000 --- a/hasura/migrations/1594934537921_drop_function_public_search_owner/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."search_owner"("pg_catalog"."text"); - type: run_sql diff --git a/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/down.yaml b/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/down.yaml deleted file mode 100644 index 7181e71eb..000000000 --- a/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_messaging_presets"; - type: run_sql diff --git a/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/up.yaml b/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/up.yaml deleted file mode 100644 index 4effad2dc..000000000 --- a/hasura/migrations/1595368680511_alter_table_public_bodyshops_add_column_md_messaging_presets/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_messaging_presets" jsonb - NULL DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index a356f7c0d..000000000 --- a/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,56 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index b0494d6ee..000000000 --- a/hasura/migrations/1595368689122_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,57 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index e3ade79e8..000000000 --- a/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5702e6737..000000000 --- a/hasura/migrations/1595370737421_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1595971170482_run_sql_migration/down.yaml b/hasura/migrations/1595971170482_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1595971170482_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1595971170482_run_sql_migration/up.yaml b/hasura/migrations/1595971170482_run_sql_migration/up.yaml deleted file mode 100644 index 12d51c766..000000000 --- a/hasura/migrations/1595971170482_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: CREATE INDEX idx_invoices_invoicenumber ON invoices USING GIN (invoice_number - gin_trgm_ops); - type: run_sql diff --git a/hasura/migrations/1595971216422_run_sql_migration/down.yaml b/hasura/migrations/1595971216422_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1595971216422_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1595971216422_run_sql_migration/up.yaml b/hasura/migrations/1595971216422_run_sql_migration/up.yaml deleted file mode 100644 index 5e9aff249..000000000 --- a/hasura/migrations/1595971216422_run_sql_migration/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_invoices(search text)\n RETURNS - SETOF invoices\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from invoices ;\n else \n return query - SELECT\n *\nFROM\n payments\nWHERE\n search <% (invoice_number);\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_invoices - schema: public - type: track_function diff --git a/hasura/migrations/1595973678869_run_sql_migration/down.yaml b/hasura/migrations/1595973678869_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1595973678869_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1595973678869_run_sql_migration/up.yaml b/hasura/migrations/1595973678869_run_sql_migration/up.yaml deleted file mode 100644 index 410506db0..000000000 --- a/hasura/migrations/1595973678869_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_invoices(search text)\n RETURNS - SETOF invoices\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from invoices ;\n else \n return query - SELECT\n *\nFROM\n invoices\nWHERE\n search <% (invoice_number);\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/down.yaml b/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/down.yaml deleted file mode 100644 index 128efc232..000000000 --- a/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "contract_date"; - type: run_sql diff --git a/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/up.yaml b/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/up.yaml deleted file mode 100644 index 960f6ee10..000000000 --- a/hasura/migrations/1595980612052_alter_table_public_cccontracts_add_column_contract_date/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "contract_date" date NOT NULL - DEFAULT now(); - type: run_sql diff --git a/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index db9b9c2f5..000000000 --- a/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - agreementnumber - - courtesycarid - - jobid - - status - - start - - scheduledreturn - - actualreturn - - kmstart - - kmend - - driver_dlnumber - - driver_dlexpiry - - driver_dlst - - driver_fn - - driver_ln - - driver_addr1 - - driver_addr2 - - driver_city - - driver_state - - driver_zip - - driver_ph1 - - driver_dob - - cc_num - - cc_expiry - - cc_cardholder - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index c1a342491..000000000 --- a/hasura/migrations/1595980626673_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index f9250216f..000000000 --- a/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualreturn - - driver_dlexpiry - - driver_dob - - scheduledreturn - - start - - agreementnumber - - kmend - - kmstart - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - created_at - - updated_at - - courtesycarid - - id - - jobid - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 4540f23c1..000000000 --- a/hasura/migrations/1595980634440_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 8c03f840b..000000000 --- a/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualreturn - - driver_dlexpiry - - driver_dob - - scheduledreturn - - start - - agreementnumber - - kmend - - kmstart - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - created_at - - updated_at - - courtesycarid - - id - - jobid - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 940a40c86..000000000 --- a/hasura/migrations/1595980641113_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/down.yaml b/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/down.yaml deleted file mode 100644 index 587054ea2..000000000 --- a/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "scheduledreturn" TYPE date; - type: run_sql diff --git a/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/up.yaml b/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/up.yaml deleted file mode 100644 index d8ac374c6..000000000 --- a/hasura/migrations/1595981259823_alter_table_public_cccontracts_alter_column_scheduledreturn/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "scheduledreturn" TYPE timestamptz; - type: run_sql diff --git a/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/down.yaml b/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/down.yaml deleted file mode 100644 index a0f395fb8..000000000 --- a/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "actualreturn" TYPE date; - type: run_sql diff --git a/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/up.yaml b/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/up.yaml deleted file mode 100644 index 113266fb0..000000000 --- a/hasura/migrations/1595981268153_alter_table_public_cccontracts_alter_column_actualreturn/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "actualreturn" TYPE timestamptz; - type: run_sql diff --git a/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/down.yaml b/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/down.yaml deleted file mode 100644 index 51e31e840..000000000 --- a/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "start" TYPE date; - type: run_sql diff --git a/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/up.yaml b/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/up.yaml deleted file mode 100644 index dfc83aeb4..000000000 --- a/hasura/migrations/1595981281561_alter_table_public_cccontracts_alter_column_start/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "start" TYPE timestamptz; - type: run_sql diff --git a/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 4540f23c1..000000000 --- a/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 7c8f665fe..000000000 --- a/hasura/migrations/1596043759608_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/down.yaml b/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/down.yaml deleted file mode 100644 index dd1e5b4be..000000000 --- a/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "dailyrate"; - type: run_sql diff --git a/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/up.yaml b/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/up.yaml deleted file mode 100644 index 57501317b..000000000 --- a/hasura/migrations/1596046286851_alter_table_public_cccontracts_add_column_dailyrate/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "dailyrate" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/down.yaml b/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/down.yaml deleted file mode 100644 index 2ba091dae..000000000 --- a/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "actax"; - type: run_sql diff --git a/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/up.yaml b/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/up.yaml deleted file mode 100644 index bcc852b3e..000000000 --- a/hasura/migrations/1596046305024_alter_table_public_cccontracts_add_column_actax/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "actax" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/down.yaml b/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/down.yaml deleted file mode 100644 index e84609937..000000000 --- a/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "dailyfreekm"; - type: run_sql diff --git a/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/up.yaml b/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/up.yaml deleted file mode 100644 index 3863a4a65..000000000 --- a/hasura/migrations/1596046319740_alter_table_public_cccontracts_add_column_dailyfreekm/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "dailyfreekm" integer NULL; - type: run_sql diff --git a/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/down.yaml b/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/down.yaml deleted file mode 100644 index 1e88ae955..000000000 --- a/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "refuelcharge"; - type: run_sql diff --git a/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/up.yaml b/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/up.yaml deleted file mode 100644 index 53cab530d..000000000 --- a/hasura/migrations/1596046346591_alter_table_public_cccontracts_add_column_refuelcharge/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "refuelcharge" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/down.yaml b/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/down.yaml deleted file mode 100644 index 39772daee..000000000 --- a/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "excesskmrate"; - type: run_sql diff --git a/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/up.yaml b/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/up.yaml deleted file mode 100644 index 9ab273f39..000000000 --- a/hasura/migrations/1596046359901_alter_table_public_cccontracts_add_column_excesskmrate/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "excesskmrate" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/down.yaml b/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/down.yaml deleted file mode 100644 index ab1f933b8..000000000 --- a/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "cleanupcharge"; - type: run_sql diff --git a/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/up.yaml b/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/up.yaml deleted file mode 100644 index 91ea00b95..000000000 --- a/hasura/migrations/1596046371231_alter_table_public_cccontracts_add_column_cleanupcharge/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "cleanupcharge" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/down.yaml b/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/down.yaml deleted file mode 100644 index de45fb105..000000000 --- a/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "damangewaiver"; - type: run_sql diff --git a/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/up.yaml b/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/up.yaml deleted file mode 100644 index b45cfc7ad..000000000 --- a/hasura/migrations/1596046651239_alter_table_public_cccontracts_add_column_damangewaiver/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "damangewaiver" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/down.yaml b/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/down.yaml deleted file mode 100644 index 54336543c..000000000 --- a/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "federaltax"; - type: run_sql diff --git a/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/up.yaml b/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/up.yaml deleted file mode 100644 index ff80c606c..000000000 --- a/hasura/migrations/1596046679135_alter_table_public_cccontracts_add_column_federaltax/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "federaltax" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/down.yaml b/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/down.yaml deleted file mode 100644 index 60a096607..000000000 --- a/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "statetax"; - type: run_sql diff --git a/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/up.yaml b/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/up.yaml deleted file mode 100644 index 5437a46af..000000000 --- a/hasura/migrations/1596046689469_alter_table_public_cccontracts_add_column_statetax/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "statetax" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/down.yaml b/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/down.yaml deleted file mode 100644 index dc473a6d3..000000000 --- a/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "localtax"; - type: run_sql diff --git a/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/up.yaml b/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/up.yaml deleted file mode 100644 index 91eb9ab40..000000000 --- a/hasura/migrations/1596046701676_alter_table_public_cccontracts_add_column_localtax/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "localtax" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/down.yaml b/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/down.yaml deleted file mode 100644 index d75e3cf51..000000000 --- a/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "coverage"; - type: run_sql diff --git a/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/up.yaml b/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/up.yaml deleted file mode 100644 index ae0caa716..000000000 --- a/hasura/migrations/1596046750711_alter_table_public_cccontracts_add_column_coverage/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "coverage" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index c1a342491..000000000 --- a/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 1f31599a2..000000000 --- a/hasura/migrations/1596046794495_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - agreementnumber - - courtesycarid - - jobid - - status - - start - - scheduledreturn - - actualreturn - - kmstart - - kmend - - driver_dlnumber - - driver_dlexpiry - - driver_dlst - - driver_fn - - driver_ln - - driver_addr1 - - driver_addr2 - - driver_city - - driver_state - - driver_zip - - driver_ph1 - - driver_dob - - cc_num - - cc_expiry - - cc_cardholder - - contract_date - - dailyrate - - actax - - dailyfreekm - - refuelcharge - - excesskmrate - - cleanupcharge - - damangewaiver - - federaltax - - statetax - - localtax - - coverage - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 7c8f665fe..000000000 --- a/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 57c62258d..000000000 --- a/hasura/migrations/1596046801517_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - contract_date - - driver_dlexpiry - - driver_dob - - agreementnumber - - dailyfreekm - - actax - - cleanupcharge - - coverage - - dailyrate - - damangewaiver - - excesskmrate - - federaltax - - kmend - - kmstart - - localtax - - refuelcharge - - statetax - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - actualreturn - - created_at - - scheduledreturn - - start - - updated_at - - courtesycarid - - id - - jobid - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 940a40c86..000000000 --- a/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actualreturn - - agreementnumber - - cc_cardholder - - cc_expiry - - cc_num - - contract_date - - courtesycarid - - created_at - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - id - - jobid - - kmend - - kmstart - - scheduledreturn - - start - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 9af4cf599..000000000 --- a/hasura/migrations/1596046808521_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - contract_date - - driver_dlexpiry - - driver_dob - - agreementnumber - - dailyfreekm - - actax - - cleanupcharge - - coverage - - dailyrate - - damangewaiver - - excesskmrate - - federaltax - - kmend - - kmstart - - localtax - - refuelcharge - - statetax - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - actualreturn - - created_at - - scheduledreturn - - start - - updated_at - - courtesycarid - - id - - jobid - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/down.yaml b/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/down.yaml deleted file mode 100644 index 060b8dd59..000000000 --- a/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."cccontracts" rename column "damagewaiver" to "damangewaiver"; - type: run_sql diff --git a/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/up.yaml b/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/up.yaml deleted file mode 100644 index e9eb4f677..000000000 --- a/hasura/migrations/1596047154427_alter_table_public_cccontracts_alter_column_damangewaiver/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."cccontracts" rename column "damangewaiver" to "damagewaiver"; - type: run_sql diff --git a/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/down.yaml b/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/down.yaml deleted file mode 100644 index 765a7e089..000000000 --- a/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "notes"; - type: run_sql diff --git a/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/up.yaml b/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/up.yaml deleted file mode 100644 index 58f644049..000000000 --- a/hasura/migrations/1596048774767_alter_table_public_joblines_add_column_notes/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "notes" text NULL; - type: run_sql diff --git a/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 2db656081..000000000 --- a/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index b13a06795..000000000 --- a/hasura/migrations/1596048785701_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index ce9b320bc..000000000 --- a/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 30be7464c..000000000 --- a/hasura/migrations/1596048860276_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index c32212f9d..000000000 --- a/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index bf210013d..000000000 --- a/hasura/migrations/1596048875858_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/down.yaml b/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/down.yaml deleted file mode 100644 index 870334012..000000000 --- a/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "speedprint"; - type: run_sql diff --git a/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/up.yaml b/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/up.yaml deleted file mode 100644 index 5c6acea5e..000000000 --- a/hasura/migrations/1596147831219_alter_table_public_bodyshops_add_column_speedprint/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "speedprint" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index b0494d6ee..000000000 --- a/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,57 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f95349392..000000000 --- a/hasura/migrations/1596147842820_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,58 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 5702e6737..000000000 --- a/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 04f255254..000000000 --- a/hasura/migrations/1596147854907_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/down.yaml b/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/down.yaml deleted file mode 100644 index 68180386e..000000000 --- a/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_parts_locations"; - type: run_sql diff --git a/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/up.yaml b/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/up.yaml deleted file mode 100644 index 4ccb73a04..000000000 --- a/hasura/migrations/1596214147082_alter_table_public_bodyshops_add_column_md_parts_locations/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_parts_locations" jsonb NULL - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f95349392..000000000 --- a/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,58 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 06a490337..000000000 --- a/hasura/migrations/1596214157786_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 04f255254..000000000 --- a/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index e458aac22..000000000 --- a/hasura/migrations/1596214165919_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/down.yaml b/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/down.yaml deleted file mode 100644 index d32e051a0..000000000 --- a/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "location"; - type: run_sql diff --git a/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/up.yaml b/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/up.yaml deleted file mode 100644 index b0d5aa00e..000000000 --- a/hasura/migrations/1596214559217_alter_table_public_joblines_add_column_location/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "location" text NULL; - type: run_sql diff --git a/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index b13a06795..000000000 --- a/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index a73177edf..000000000 --- a/hasura/migrations/1596214571725_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 30be7464c..000000000 --- a/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 1ff01e737..000000000 --- a/hasura/migrations/1596214578452_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index bf210013d..000000000 --- a/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 0544129c9..000000000 --- a/hasura/migrations/1596214586798_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/down.yaml b/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/down.yaml deleted file mode 100644 index 00b35af8c..000000000 --- a/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "employee_prep"; - type: run_sql diff --git a/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/up.yaml b/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/up.yaml deleted file mode 100644 index 1971d34f6..000000000 --- a/hasura/migrations/1596225983120_alter_table_public_jobs_add_column_employee_prep/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "employee_prep" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/down.yaml b/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/down.yaml deleted file mode 100644 index d6b5a3710..000000000 --- a/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" drop constraint "jobs_employee_prep_fkey"; - type: run_sql diff --git a/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/up.yaml b/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/up.yaml deleted file mode 100644 index f485e6fda..000000000 --- a/hasura/migrations/1596226073397_set_fk_public_jobs_employee_prep/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."jobs" - add constraint "jobs_employee_prep_fkey" - foreign key ("employee_prep") - references "public"."employees" - ("id") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/down.yaml b/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/down.yaml deleted file mode 100644 index 22b33f78d..000000000 --- a/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: employee - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/up.yaml b/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/up.yaml deleted file mode 100644 index 36322aafc..000000000 --- a/hasura/migrations/1596226116444_add_relationship_employee_table_public_undefined/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - name: employee - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: employee_prep - type: create_object_relationship diff --git a/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/down.yaml b/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/down.yaml deleted file mode 100644 index a39fa7c33..000000000 --- a/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: jobsByEmployeePrep - table: - name: employees - schema: public - type: drop_relationship diff --git a/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/up.yaml b/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/up.yaml deleted file mode 100644 index 8a6fe1b21..000000000 --- a/hasura/migrations/1596226119743_add_relationship_jobsByEmployeePrep_table_public_undefined/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - name: jobsByEmployeePrep - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employee_prep - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/down.yaml b/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/down.yaml deleted file mode 100644 index 0ef4046b7..000000000 --- a/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee_prep_rel - new_name: employee - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/up.yaml b/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/up.yaml deleted file mode 100644 index 188732d05..000000000 --- a/hasura/migrations/1596226134655_rename_relationship_employee_to_employee_prep_rel_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee - new_name: employee_prep_rel - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0178be5a6..000000000 --- a/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index d95c715b5..000000000 --- a/hasura/migrations/1596226147493_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e157ffd56..000000000 --- a/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index fc0bcd2fc..000000000 --- a/hasura/migrations/1596226171391_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,259 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4e85e20cd..000000000 --- a/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8cf8a1bfb..000000000 --- a/hasura/migrations/1596226179648_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/down.yaml b/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/down.yaml deleted file mode 100644 index 7e01e0670..000000000 --- a/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" DROP COLUMN "backordered_on"; - type: run_sql diff --git a/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/up.yaml b/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/up.yaml deleted file mode 100644 index f3226988e..000000000 --- a/hasura/migrations/1596466443672_alter_table_public_parts_order_lines_add_column_backordered_on/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" ADD COLUMN "backordered_on" date - NULL; - type: run_sql diff --git a/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/down.yaml b/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/down.yaml deleted file mode 100644 index 6aaaae41a..000000000 --- a/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" DROP COLUMN "backordered_eta"; - type: run_sql diff --git a/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/up.yaml b/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/up.yaml deleted file mode 100644 index 984d4cd3e..000000000 --- a/hasura/migrations/1596466458082_alter_table_public_parts_order_lines_add_column_backordered_eta/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" ADD COLUMN "backordered_eta" date - NULL; - type: run_sql diff --git a/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index dbac86335..000000000 --- a/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index f30db5ad8..000000000 --- a/hasura/migrations/1596466475798_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index e057ea23a..000000000 --- a/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 609697074..000000000 --- a/hasura/migrations/1596466485574_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 0e2acf52e..000000000 --- a/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 09f99df03..000000000 --- a/hasura/migrations/1596466492287_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596487312718_drop_view_public_productionview/down.yaml b/hasura/migrations/1596487312718_drop_view_public_productionview/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596487312718_drop_view_public_productionview/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596487312718_drop_view_public_productionview/up.yaml b/hasura/migrations/1596487312718_drop_view_public_productionview/up.yaml deleted file mode 100644 index 6e88a06bd..000000000 --- a/hasura/migrations/1596487312718_drop_view_public_productionview/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP VIEW "public"."productionview"; - type: run_sql diff --git a/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/down.yaml b/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/down.yaml deleted file mode 100644 index 6df4170c7..000000000 --- a/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_notes_presets"; - type: run_sql diff --git a/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/up.yaml b/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/up.yaml deleted file mode 100644 index da28d8713..000000000 --- a/hasura/migrations/1596561493315_alter_table_public_bodyshops_add_column_md_notes_presets/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_notes_presets" jsonb NULL - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 06a490337..000000000 --- a/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 00761bb0f..000000000 --- a/hasura/migrations/1596561513554_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,60 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index e458aac22..000000000 --- a/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 172d0cfce..000000000 --- a/hasura/migrations/1596561522463_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/down.yaml b/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/down.yaml deleted file mode 100644 index 052d77739..000000000 --- a/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."vendors" ALTER COLUMN "favorite" DROP DEFAULT; - type: run_sql diff --git a/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/up.yaml b/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/up.yaml deleted file mode 100644 index bf9a9b888..000000000 --- a/hasura/migrations/1596645614646_alter_table_public_vendors_alter_column_favorite/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."vendors" ALTER COLUMN "favorite" SET DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1596730747611_run_sql_migration/down.yaml b/hasura/migrations/1596730747611_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596730747611_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596730747611_run_sql_migration/up.yaml b/hasura/migrations/1596730747611_run_sql_migration/up.yaml deleted file mode 100644 index 53a7fdfa3..000000000 --- a/hasura/migrations/1596730747611_run_sql_migration/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobid uuid)\n RETURNS - SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if jobid - = '' then\n return query select status ,count(1), part_type from joblines - j group by status, part_type ;\n else \n return query select status ,count(1), - part_type from joblines j where j.jobid =jobid group by status, part_type;\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: parts_status_by_job_id - schema: public - type: track_function diff --git a/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/down.yaml b/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/down.yaml deleted file mode 100644 index 51ec77c06..000000000 --- a/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobid uuid)\n RETURNS - SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if jobid - = '' then\n return query select status ,count(1), part_type from joblines - j group by status, part_type ;\n else \n return query select status ,count(1), - part_type from joblines j where j.jobid =jobid group by status, part_type;\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/up.yaml b/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/up.yaml deleted file mode 100644 index cbae152a7..000000000 --- a/hasura/migrations/1596731037543_drop_function_public_parts_status_by_job_id/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."parts_status_by_job_id"("pg_catalog"."uuid"); - type: run_sql diff --git a/hasura/migrations/1596731045755_run_sql_migration/down.yaml b/hasura/migrations/1596731045755_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731045755_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731045755_run_sql_migration/up.yaml b/hasura/migrations/1596731045755_run_sql_migration/up.yaml deleted file mode 100644 index a586e30dd..000000000 --- a/hasura/migrations/1596731045755_run_sql_migration/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobid text)\n RETURNS - SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if jobid - = '' then\n return query select status ,count(1), part_type from joblines - j group by status, part_type ;\n else \n return query select status ,count(1), - part_type from joblines j where j.jobid =jobid group by status, part_type;\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: parts_status_by_job_id - schema: public - type: track_function diff --git a/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/down.yaml b/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/down.yaml deleted file mode 100644 index 6f0c45314..000000000 --- a/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobid text)\n RETURNS - SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if jobid - = '' then\n return query select status ,count(1), part_type from joblines - j group by status, part_type ;\n else \n return query select status ,count(1), - part_type from joblines j where j.jobid =jobid group by status, part_type;\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/up.yaml b/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/up.yaml deleted file mode 100644 index 98fff7d24..000000000 --- a/hasura/migrations/1596731075703_drop_function_public_parts_status_by_job_id/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."parts_status_by_job_id"("pg_catalog"."text"); - type: run_sql diff --git a/hasura/migrations/1596731097672_run_sql_migration/down.yaml b/hasura/migrations/1596731097672_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731097672_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731097672_run_sql_migration/up.yaml b/hasura/migrations/1596731097672_run_sql_migration/up.yaml deleted file mode 100644 index 0a659dbd5..000000000 --- a/hasura/migrations/1596731097672_run_sql_migration/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobIdVar text)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if jobIdVar = '' then\n return query select status ,count(1), part_type - from joblines j group by status, part_type ;\n else \n return query select - status ,count(1), part_type from joblines j where j.jobid =jobIdVar group by - status, part_type;\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: parts_status_by_job_id - schema: public - type: track_function diff --git a/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/down.yaml b/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/down.yaml deleted file mode 100644 index 64b09ac53..000000000 --- a/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobidvar text)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if jobIdVar = '' then\n return query select status ,count(1), part_type - from joblines j group by status, part_type ;\n else \n return query select - status ,count(1), part_type from joblines j where j.jobid =jobIdVar group by - status, part_type;\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/up.yaml b/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/up.yaml deleted file mode 100644 index 98fff7d24..000000000 --- a/hasura/migrations/1596731183831_drop_function_public_parts_status_by_job_id/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."parts_status_by_job_id"("pg_catalog"."text"); - type: run_sql diff --git a/hasura/migrations/1596731190786_run_sql_migration/down.yaml b/hasura/migrations/1596731190786_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731190786_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731190786_run_sql_migration/up.yaml b/hasura/migrations/1596731190786_run_sql_migration/up.yaml deleted file mode 100644 index 5a4f1b9e4..000000000 --- a/hasura/migrations/1596731190786_run_sql_migration/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobIdVar uuid)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if jobIdVar = '' then\n return query select status ,count(1), part_type - from joblines j group by status, part_type ;\n else \n return query select - status ,count(1), part_type from joblines j where j.jobid =jobIdVar group by - status, part_type;\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: parts_status_by_job_id - schema: public - type: track_function diff --git a/hasura/migrations/1596731313289_run_sql_migration/down.yaml b/hasura/migrations/1596731313289_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731313289_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731313289_run_sql_migration/up.yaml b/hasura/migrations/1596731313289_run_sql_migration/up.yaml deleted file mode 100644 index 56c08fdc4..000000000 --- a/hasura/migrations/1596731313289_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobidvar uuid)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ \n return query select status ,count(1), part_type from joblines j where - j.jobid =jobIdVar group by status, part_type;\n\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731327292_run_sql_migration/down.yaml b/hasura/migrations/1596731327292_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731327292_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731327292_run_sql_migration/up.yaml b/hasura/migrations/1596731327292_run_sql_migration/up.yaml deleted file mode 100644 index fb2831454..000000000 --- a/hasura/migrations/1596731327292_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobidvar uuid)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ \n return query select status ,count(1), part_type from joblines j where - j.jobid =jobidvar group by status, part_type;\n\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/down.yaml b/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/down.yaml deleted file mode 100644 index 3676c9dbf..000000000 --- a/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/down.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobidvar uuid)\n - RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ \n return query select status ,count(1), part_type from joblines j where - j.jobid =jobidvar group by status, part_type;\n\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/up.yaml b/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/up.yaml deleted file mode 100644 index cbae152a7..000000000 --- a/hasura/migrations/1596731474176_drop_function_public_parts_status_by_job_id/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."parts_status_by_job_id"("pg_catalog"."uuid"); - type: run_sql diff --git a/hasura/migrations/1596731602565_run_sql_migration/down.yaml b/hasura/migrations/1596731602565_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1596731602565_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1596731602565_run_sql_migration/up.yaml b/hasura/migrations/1596731602565_run_sql_migration/up.yaml deleted file mode 100644 index f2b2470d6..000000000 --- a/hasura/migrations/1596731602565_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: create view joblines_stats as select jobid, status ,count(1), part_type - from joblines j group by jobid, status, part_type ; - type: run_sql -- args: - name: joblines_stats - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1596731617912_rename_view_public_joblines_stats/down.yaml b/hasura/migrations/1596731617912_rename_view_public_joblines_stats/down.yaml deleted file mode 100644 index eb7771d97..000000000 --- a/hasura/migrations/1596731617912_rename_view_public_joblines_stats/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter view "public"."joblines_status" rename to "joblines_stats"; - type: run_sql diff --git a/hasura/migrations/1596731617912_rename_view_public_joblines_stats/up.yaml b/hasura/migrations/1596731617912_rename_view_public_joblines_stats/up.yaml deleted file mode 100644 index 9afff91c8..000000000 --- a/hasura/migrations/1596731617912_rename_view_public_joblines_stats/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter view "public"."joblines_stats" rename to "joblines_status"; - type: run_sql diff --git a/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/down.yaml b/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/down.yaml deleted file mode 100644 index 992563b81..000000000 --- a/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: job - table: - name: joblines_status - schema: public - type: drop_relationship diff --git a/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/up.yaml b/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/up.yaml deleted file mode 100644 index 800097652..000000000 --- a/hasura/migrations/1596731720387_create_relationship_job_public_table_joblines_status/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: job - table: - name: joblines_status - schema: public - using: - manual_configuration: - column_mapping: - jobid: id - remote_table: - name: jobs - schema: public - type: create_object_relationship diff --git a/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/down.yaml b/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/down.yaml deleted file mode 100644 index 8a1659e18..000000000 --- a/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - relationship: joblines_status - table: - name: jobs - schema: public - type: drop_relationship diff --git a/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/up.yaml b/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/up.yaml deleted file mode 100644 index fa8844fa1..000000000 --- a/hasura/migrations/1596731789600_create_relationship_joblines_status_public_table_jobs/up.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- args: - name: joblines_status - table: - name: jobs - schema: public - using: - manual_configuration: - column_mapping: - id: jobid - remote_table: - name: joblines_status - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/down.yaml b/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/down.yaml deleted file mode 100644 index 5e0cc7891..000000000 --- a/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: joblines_status - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/up.yaml b/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/up.yaml deleted file mode 100644 index a1969f745..000000000 --- a/hasura/migrations/1596731930213_update_permission_user_public_table_joblines_status/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - permission: - allow_aggregations: false - backend_only: false - columns: - - jobid - - status - - count - - part_type - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: joblines_status - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/down.yaml b/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/down.yaml deleted file mode 100644 index 8f5f5718e..000000000 --- a/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."associations" DROP COLUMN "authlevel"; - type: run_sql diff --git a/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/up.yaml b/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/up.yaml deleted file mode 100644 index 84d149f7e..000000000 --- a/hasura/migrations/1597086476520_alter_table_public_associations_add_column_authlevel/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."associations" ADD COLUMN "authlevel" integer NOT NULL - DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1597086494884_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1597086494884_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index c17e5bb8a..000000000 --- a/hasura/migrations/1597086494884_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - id - - shopid - - useremail - - active - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597086494884_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1597086494884_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 015c4e179..000000000 --- a/hasura/migrations/1597086494884_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/down.yaml b/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/down.yaml deleted file mode 100644 index b8211a7cb..000000000 --- a/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_rbac"; - type: run_sql diff --git a/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/up.yaml b/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/up.yaml deleted file mode 100644 index d5331b8e5..000000000 --- a/hasura/migrations/1597101073656_alter_table_public_bodyshops_add_column_md_rbac/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_rbac" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/down.yaml b/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/down.yaml deleted file mode 100644 index b3f79f8ab..000000000 --- a/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "md_notes_presets" DROP NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/up.yaml b/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/up.yaml deleted file mode 100644 index b178e1e87..000000000 --- a/hasura/migrations/1597101084487_alter_table_public_bodyshops_alter_column_md_notes_presets/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "md_notes_presets" SET NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/down.yaml b/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/down.yaml deleted file mode 100644 index adbb75c64..000000000 --- a/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "md_messaging_presets" DROP - NOT NULL; - type: run_sql diff --git a/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/up.yaml b/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/up.yaml deleted file mode 100644 index f734acf1d..000000000 --- a/hasura/migrations/1597101096084_alter_table_public_bodyshops_alter_column_md_messaging_presets/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "md_messaging_presets" SET - NOT NULL; - type: run_sql diff --git a/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 00761bb0f..000000000 --- a/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,60 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 66dc3a4da..000000000 --- a/hasura/migrations/1597101103779_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 172d0cfce..000000000 --- a/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 2d3b1252f..000000000 --- a/hasura/migrations/1597101110854_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/down.yaml b/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/down.yaml deleted file mode 100644 index dfa8706ce..000000000 --- a/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."templates" DROP COLUMN "jsontemplate"; - type: run_sql diff --git a/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/up.yaml b/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/up.yaml deleted file mode 100644 index 5ec8d4dd2..000000000 --- a/hasura/migrations/1597428970612_alter_table_public_templates_add_column_jsontemplate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."templates" ADD COLUMN "jsontemplate" jsonb NULL DEFAULT - jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1597428983824_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1597428983824_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index a70f1aae7..000000000 --- a/hasura/migrations/1597428983824_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_insert_permission -- args: - permission: - check: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - html - - name - - query - set: {} - role: user - table: - name: templates - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597428983824_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1597428983824_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index 029afd466..000000000 --- a/hasura/migrations/1597428983824_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_insert_permission -- args: - permission: - check: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - html - - jsontemplate - - name - - query - set: {} - role: user - table: - name: templates - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597428991518_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1597428991518_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index 70a94c9a6..000000000 --- a/hasura/migrations/1597428991518_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - html - - name - - query - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: templates - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597428991518_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1597428991518_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index c50c223b2..000000000 --- a/hasura/migrations/1597428991518_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - created_at - - html - - id - - jsontemplate - - name - - query - - updated_at - computed_fields: [] - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: templates - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597428999933_update_permission_user_public_table_templates/down.yaml b/hasura/migrations/1597428999933_update_permission_user_public_table_templates/down.yaml deleted file mode 100644 index c97f49641..000000000 --- a/hasura/migrations/1597428999933_update_permission_user_public_table_templates/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_update_permission -- args: - permission: - columns: - - html - - name - - query - - created_at - - updated_at - - bodyshopid - - id - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: templates - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597428999933_update_permission_user_public_table_templates/up.yaml b/hasura/migrations/1597428999933_update_permission_user_public_table_templates/up.yaml deleted file mode 100644 index 4b636cbd9..000000000 --- a/hasura/migrations/1597428999933_update_permission_user_public_table_templates/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: templates - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - created_at - - html - - id - - jsontemplate - - name - - query - - updated_at - filter: - _or: - - bodyshopid: - _is_null: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: templates - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/down.yaml b/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/down.yaml deleted file mode 100644 index d1002d052..000000000 --- a/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "prodtargethrs"; - type: run_sql diff --git a/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/up.yaml b/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/up.yaml deleted file mode 100644 index 3bc131951..000000000 --- a/hasura/migrations/1597681392700_alter_table_public_bodyshops_add_column_prodtargethrs/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "prodtargethrs" numeric NOT NULL - DEFAULT 1; - type: run_sql diff --git a/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 66dc3a4da..000000000 --- a/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 715668e1d..000000000 --- a/hasura/migrations/1597681402689_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 2d3b1252f..000000000 --- a/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 42dbb2e30..000000000 --- a/hasura/migrations/1597681427500_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,56 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index d95c715b5..000000000 --- a/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8c91c13a8..000000000 --- a/hasura/migrations/1597686736155_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index fc0bcd2fc..000000000 --- a/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,259 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 9b31ff1aa..000000000 --- a/hasura/migrations/1597686746605_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8cf8a1bfb..000000000 --- a/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - statusid - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f8c3ef292..000000000 --- a/hasura/migrations/1597686758732_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/down.yaml b/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/down.yaml deleted file mode 100644 index 1cff06224..000000000 --- a/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "statusid" uuid; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "statusid" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/up.yaml b/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/up.yaml deleted file mode 100644 index 7344568f6..000000000 --- a/hasura/migrations/1597686775898_alter_table_public_jobs_drop_column_statusid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "statusid" CASCADE; - type: run_sql diff --git a/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/down.yaml b/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/down.yaml deleted file mode 100644 index 206e5c90e..000000000 --- a/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_registration_number"; - type: run_sql diff --git a/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/up.yaml b/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/up.yaml deleted file mode 100644 index 0b7ab3c17..000000000 --- a/hasura/migrations/1597777830351_alter_table_public_jobs_add_column_tax_registration_number/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_registration_number" text NULL; - type: run_sql diff --git a/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8c91c13a8..000000000 --- a/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 9b8fc8048..000000000 --- a/hasura/migrations/1597777848218_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 9b31ff1aa..000000000 --- a/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 24da5a9c0..000000000 --- a/hasura/migrations/1597777863211_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,259 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f8c3ef292..000000000 --- a/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,257 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 757c2697c..000000000 --- a/hasura/migrations/1597777876008_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/down.yaml b/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/down.yaml deleted file mode 100644 index bb968e2b9..000000000 --- a/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "class"; - type: run_sql diff --git a/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/up.yaml b/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/up.yaml deleted file mode 100644 index ee34154f1..000000000 --- a/hasura/migrations/1597779262877_alter_table_public_jobs_add_column_class/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "class" text NULL; - type: run_sql diff --git a/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/down.yaml b/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/down.yaml deleted file mode 100644 index c93ff384b..000000000 --- a/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "category"; - type: run_sql diff --git a/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/up.yaml b/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/up.yaml deleted file mode 100644 index 62af969a2..000000000 --- a/hasura/migrations/1597779499987_alter_table_public_jobs_add_column_category/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "category" text NULL; - type: run_sql diff --git a/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 9b8fc8048..000000000 --- a/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 9a4fd9c0e..000000000 --- a/hasura/migrations/1597779720123_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 24da5a9c0..000000000 --- a/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,259 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0100f9fe3..000000000 --- a/hasura/migrations/1597779769450_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 757c2697c..000000000 --- a/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,258 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - cieca_stl - - cieca_ttl - - ciecaid - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index d13ee33a1..000000000 --- a/hasura/migrations/1597779780370_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/down.yaml b/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/down.yaml deleted file mode 100644 index ab2c7f9e4..000000000 --- a/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_classes"; - type: run_sql diff --git a/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/up.yaml b/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/up.yaml deleted file mode 100644 index 9fce3f75f..000000000 --- a/hasura/migrations/1597854452477_alter_table_public_bodyshops_add_column_md_classes/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_classes" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/down.yaml b/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/down.yaml deleted file mode 100644 index 377bdd5c5..000000000 --- a/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_categories"; - type: run_sql diff --git a/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/up.yaml b/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/up.yaml deleted file mode 100644 index f00a0bca7..000000000 --- a/hasura/migrations/1597854464958_alter_table_public_bodyshops_add_column_md_categories/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_categories" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/down.yaml b/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/down.yaml deleted file mode 100644 index 529d79f74..000000000 --- a/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_ins_cos"; - type: run_sql diff --git a/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/up.yaml b/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/up.yaml deleted file mode 100644 index 0b048abd1..000000000 --- a/hasura/migrations/1597854487005_alter_table_public_bodyshops_add_column_md_ins_cos/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_ins_cos" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 715668e1d..000000000 --- a/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f4a8dafa8..000000000 --- a/hasura/migrations/1597854499320_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 42dbb2e30..000000000 --- a/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,56 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index cd9607890..000000000 --- a/hasura/migrations/1597854509708_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/down.yaml b/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/down.yaml deleted file mode 100644 index 7c71d8b6b..000000000 --- a/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "enforce_class"; - type: run_sql diff --git a/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/up.yaml b/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/up.yaml deleted file mode 100644 index 8d0391a7d..000000000 --- a/hasura/migrations/1597856801481_alter_table_public_bodyshops_add_column_enforce_class/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "enforce_class" bool NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f4a8dafa8..000000000 --- a/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index ed6ba8e94..000000000 --- a/hasura/migrations/1597856850558_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index cd9607890..000000000 --- a/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 4614d8cf1..000000000 --- a/hasura/migrations/1597856859918_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,60 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/down.yaml b/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/down.yaml deleted file mode 100644 index e8fa788db..000000000 --- a/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."available_jobs" drop constraint "available_jobs_clm_no_bodyshopid_key"; - type: run_sql diff --git a/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/up.yaml b/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/up.yaml deleted file mode 100644 index 8882889c9..000000000 --- a/hasura/migrations/1597946820994_alter_table_public_available_jobs_add_unique_clm_no_bodyshopid/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."available_jobs" add constraint "available_jobs_clm_no_bodyshopid_key" - unique ("clm_no", "bodyshopid"); - type: run_sql diff --git a/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index 90b0105b5..000000000 --- a/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index ea3838750..000000000 --- a/hasura/migrations/1597955468157_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - cieca_id - - clm_amt - - est_data - - issupplement - - ownr_name - - source_system - - supplement_number - - uploaded_by - - vehicle_info - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1598482210998_run_sql_migration/down.yaml b/hasura/migrations/1598482210998_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598482210998_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598482210998_run_sql_migration/up.yaml b/hasura/migrations/1598482210998_run_sql_migration/up.yaml deleted file mode 100644 index 8dad8e1da..000000000 --- a/hasura/migrations/1598482210998_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_jobs(search text)\n RETURNS SETOF - jobs\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' then\n - \ return query select * from jobs j ;\n else \n return query SELECT\n - \ *\nFROM\n jobs\nWHERE\nsearch = id OR\n search <% (ownr_fn) OR\n search - <% (ownr_ln) OR\n search <% (cast(est_number as text)) OR\n search <% (ro_number) - OR\n search <% (clm_no) OR\n search <% (plate_no) OR\n search <% (v_make_desc) - OR\n search <% (v_model_desc) ;\n end if;\n\n\tEND\n\n\n$function$;" - type: run_sql diff --git a/hasura/migrations/1598482371598_run_sql_migration/down.yaml b/hasura/migrations/1598482371598_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598482371598_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598482371598_run_sql_migration/up.yaml b/hasura/migrations/1598482371598_run_sql_migration/up.yaml deleted file mode 100644 index b8a797748..000000000 --- a/hasura/migrations/1598482371598_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_jobs(search text)\n RETURNS SETOF - jobs\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' then\n - \ return query select * from jobs j ;\n else \n return query SELECT\n - \ *\nFROM\n jobs\nWHERE\nUUID(search) = id OR\n search <% (ownr_fn) OR\n search - <% (ownr_ln) OR\n search <% (cast(est_number as text)) OR\n search <% (ro_number) - OR\n search <% (clm_no) OR\n search <% (plate_no) OR\n search <% (v_make_desc) - OR\n search <% (v_model_desc) ;\n end if;\n\n\tEND\n\n\n$function$;" - type: run_sql diff --git a/hasura/migrations/1598482569425_run_sql_migration/down.yaml b/hasura/migrations/1598482569425_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598482569425_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598482569425_run_sql_migration/up.yaml b/hasura/migrations/1598482569425_run_sql_migration/up.yaml deleted file mode 100644 index 6abdbb7e0..000000000 --- a/hasura/migrations/1598482569425_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_jobs(search text)\n RETURNS SETOF - jobs\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' then\n - \ return query select * from jobs j ;\n else \n return query SELECT\n - \ *\nFROM\n jobs\nWHERE\n search <% (ownr_fn) OR\n search <% (ownr_ln) OR\n - \ search <% (cast(est_number as text)) OR\n search <% (ro_number) OR\n search - <% (clm_no) OR\n search <% (plate_no) OR\n search <% (v_make_desc) OR\n search - <% (v_model_desc) ;\n end if;\n\n\tEND\n\n\n$function$;" - type: run_sql diff --git a/hasura/migrations/1598568175188_run_sql_migration/down.yaml b/hasura/migrations/1598568175188_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598568175188_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598568175188_run_sql_migration/up.yaml b/hasura/migrations/1598568175188_run_sql_migration/up.yaml deleted file mode 100644 index 7f90cb120..000000000 --- a/hasura/migrations/1598568175188_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"joblines_status\" AS \n SELECT j.jobid,\n - \ j.status,\n count(1) AS count,\n j.part_type\n FROM joblines j\n - \ where j.part_type is not null\n GROUP BY j.jobid, j.status, j.part_type\n - \ ;" - type: run_sql diff --git a/hasura/migrations/1598568298727_run_sql_migration/down.yaml b/hasura/migrations/1598568298727_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598568298727_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598568298727_run_sql_migration/up.yaml b/hasura/migrations/1598568298727_run_sql_migration/up.yaml deleted file mode 100644 index 7f90cb120..000000000 --- a/hasura/migrations/1598568298727_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"joblines_status\" AS \n SELECT j.jobid,\n - \ j.status,\n count(1) AS count,\n j.part_type\n FROM joblines j\n - \ where j.part_type is not null\n GROUP BY j.jobid, j.status, j.part_type\n - \ ;" - type: run_sql diff --git a/hasura/migrations/1598568331134_run_sql_migration/down.yaml b/hasura/migrations/1598568331134_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598568331134_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598568331134_run_sql_migration/up.yaml b/hasura/migrations/1598568331134_run_sql_migration/up.yaml deleted file mode 100644 index 0ed3a7e15..000000000 --- a/hasura/migrations/1598568331134_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE VIEW \"public\".\"joblines_status\" AS \n SELECT j.jobid,\n - \ j.status,\n count(1) AS count,\n j.part_type\n FROM joblines j\n - \ where j.part_type is not null and j.part_type <> 'PAE'\n GROUP BY j.jobid, - j.status, j.part_type\n ;" - type: run_sql diff --git a/hasura/migrations/1598634176882_run_sql_migration/down.yaml b/hasura/migrations/1598634176882_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598634176882_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598634176882_run_sql_migration/up.yaml b/hasura/migrations/1598634176882_run_sql_migration/up.yaml deleted file mode 100644 index 612eac420..000000000 --- a/hasura/migrations/1598634176882_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION update_conversation_on_message()\nRETURNS TRIGGER - AS $$\nBEGIN\n UPDATE conversations SET last_updated = now() WHERE id = NEW.\"conversationid\";\n - \ RETURN NEW; \nEND;\n$$ language 'plpgsql';\n\nDROP TRIGGER IF EXISTS trigger_update_conversation_on_message - ON messages;\nCREATE TRIGGER trigger_update_conversation_on_message AFTER INSERT - ON messages FOR EACH ROW EXECUTE PROCEDURE update_conversation_on_message();" - type: run_sql diff --git a/hasura/migrations/1598634335411_run_sql_migration/down.yaml b/hasura/migrations/1598634335411_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1598634335411_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1598634335411_run_sql_migration/up.yaml b/hasura/migrations/1598634335411_run_sql_migration/up.yaml deleted file mode 100644 index 699642c6c..000000000 --- a/hasura/migrations/1598634335411_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION update_conversation_on_message()\nRETURNS TRIGGER - AS $$\nBEGIN\n UPDATE conversations SET updated_at = now() WHERE id = NEW.\"conversationid\";\n - \ RETURN NEW; \nEND;\n$$ language 'plpgsql';\n\nDROP TRIGGER IF EXISTS trigger_update_conversation_on_message - ON messages;\nCREATE TRIGGER trigger_update_conversation_on_message AFTER INSERT - ON messages FOR EACH ROW EXECUTE PROCEDURE update_conversation_on_message();" - type: run_sql diff --git a/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/down.yaml b/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/down.yaml deleted file mode 100644 index 99415521b..000000000 --- a/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_labor_rates"; - type: run_sql diff --git a/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/up.yaml b/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/up.yaml deleted file mode 100644 index f37b888c4..000000000 --- a/hasura/migrations/1598979671763_alter_table_public_bodyshops_add_column_md_labor_rates/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_labor_rates" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index ed6ba8e94..000000000 --- a/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c97de2201..000000000 --- a/hasura/migrations/1598979718946_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,67 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 4614d8cf1..000000000 --- a/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,60 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index dbe772302..000000000 --- a/hasura/migrations/1598979729004_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/down.yaml b/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/down.yaml deleted file mode 100644 index 157903bad..000000000 --- a/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "deliverchecklist"; - type: run_sql diff --git a/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/up.yaml b/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/up.yaml deleted file mode 100644 index f4b48eb8f..000000000 --- a/hasura/migrations/1599070077725_alter_table_public_bodyshops_add_column_deliverchecklist/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "deliverchecklist" jsonb NULL - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c97de2201..000000000 --- a/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,67 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index d75d8f04b..000000000 --- a/hasura/migrations/1599070090963_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index dbe772302..000000000 --- a/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 7356653c8..000000000 --- a/hasura/migrations/1599070101319_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/down.yaml b/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/down.yaml deleted file mode 100644 index eef6c573c..000000000 --- a/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "deliverchecklist"; - type: run_sql diff --git a/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/up.yaml b/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/up.yaml deleted file mode 100644 index 080ec5b7c..000000000 --- a/hasura/migrations/1599070194014_alter_table_public_jobs_add_column_deliverchecklist/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "deliverchecklist" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 9a4fd9c0e..000000000 --- a/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 48b29d7b4..000000000 --- a/hasura/migrations/1599070210260_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0100f9fe3..000000000 --- a/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 3d3f8da44..000000000 --- a/hasura/migrations/1599070220118_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index d13ee33a1..000000000 --- a/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c810ff9b8..000000000 --- a/hasura/migrations/1599070232908_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_atp - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml b/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml deleted file mode 100644 index 930bde449..000000000 --- a/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "deliverchecklist" SET - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml b/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml deleted file mode 100644 index ffb397cf1..000000000 --- a/hasura/migrations/1599070694592_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "deliverchecklist" DROP DEFAULT; - type: run_sql diff --git a/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml b/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml deleted file mode 100644 index a0efec89f..000000000 --- a/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "deliverchecklist" DROP - DEFAULT; - type: run_sql diff --git a/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml b/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml deleted file mode 100644 index f211b306c..000000000 --- a/hasura/migrations/1599071908436_alter_table_public_bodyshops_alter_column_deliverchecklist/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "deliverchecklist" SET - DEFAULT jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/down.yaml b/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/down.yaml deleted file mode 100644 index 4c60bf7fa..000000000 --- a/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "intakechecklist" DROP - DEFAULT; - type: run_sql diff --git a/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/up.yaml b/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/up.yaml deleted file mode 100644 index bb8e80e56..000000000 --- a/hasura/migrations/1599071927183_alter_table_public_bodyshops_alter_column_intakechecklist/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "intakechecklist" SET - DEFAULT jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/down.yaml b/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/down.yaml deleted file mode 100644 index 4f83b18be..000000000 --- a/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" rename column "rate_ats" to "rate_atp"; - type: run_sql diff --git a/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/up.yaml b/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/up.yaml deleted file mode 100644 index 2f3acf47a..000000000 --- a/hasura/migrations/1599681810108_alter_table_public_jobs_alter_column_rate_atp/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" rename column "rate_atp" to "rate_ats"; - type: run_sql diff --git a/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index de19515aa..000000000 --- a/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_ats - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index fb5509933..000000000 --- a/hasura/migrations/1599685044433_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e866fce4c..000000000 --- a/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_ats - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1eea00449..000000000 --- a/hasura/migrations/1599685058705_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0efe18412..000000000 --- a/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_ats - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5fb88af70..000000000 --- a/hasura/migrations/1599685070271_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/down.yaml b/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/down.yaml deleted file mode 100644 index 726cc3f11..000000000 --- a/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "rate_ats" numeric; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "rate_ats" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/up.yaml b/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/up.yaml deleted file mode 100644 index 8a2e3f1e8..000000000 --- a/hasura/migrations/1599685084979_alter_table_public_jobs_drop_column_rate_ats/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "rate_ats" CASCADE; - type: run_sql diff --git a/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/down.yaml b/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/down.yaml deleted file mode 100644 index a2cd969e0..000000000 --- a/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "tax_shop_mat_rt"; - type: run_sql diff --git a/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/up.yaml b/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/up.yaml deleted file mode 100644 index b8753826f..000000000 --- a/hasura/migrations/1599692038231_alter_table_public_jobs_add_column_tax_shop_mat_rt/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "tax_shop_mat_rt" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index fb5509933..000000000 --- a/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2e778f53c..000000000 --- a/hasura/migrations/1599692310270_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1eea00449..000000000 --- a/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f0fa8af7a..000000000 --- a/hasura/migrations/1599692321158_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5fb88af70..000000000 --- a/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,260 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f12bd10ee..000000000 --- a/hasura/migrations/1599692329335_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/down.yaml b/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/down.yaml deleted file mode 100644 index 3c8f10178..000000000 --- a/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "profitcenter_labor"; - type: run_sql diff --git a/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/up.yaml b/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/up.yaml deleted file mode 100644 index a92fac8e1..000000000 --- a/hasura/migrations/1600106009309_alter_table_public_joblines_add_column_profitcenter_labor/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "profitcenter_labor" text NULL; - type: run_sql diff --git a/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/down.yaml b/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/down.yaml deleted file mode 100644 index 6abc5e066..000000000 --- a/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "profitcenter_part"; - type: run_sql diff --git a/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/up.yaml b/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/up.yaml deleted file mode 100644 index 748d9eeed..000000000 --- a/hasura/migrations/1600106018973_alter_table_public_joblines_add_column_profitcenter_part/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "profitcenter_part" text NULL; - type: run_sql diff --git a/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index a73177edf..000000000 --- a/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 7dc50463b..000000000 --- a/hasura/migrations/1600106247186_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 1ff01e737..000000000 --- a/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 0a0fcd317..000000000 --- a/hasura/migrations/1600106254802_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 0544129c9..000000000 --- a/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 4e8d4b05b..000000000 --- a/hasura/migrations/1600106261415_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/down.yaml b/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/down.yaml deleted file mode 100644 index 8a0144258..000000000 --- a/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "phone"; - type: run_sql diff --git a/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/up.yaml b/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/up.yaml deleted file mode 100644 index f350101ee..000000000 --- a/hasura/migrations/1600292860390_alter_table_public_bodyshops_add_column_phone/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "phone" text NULL; - type: run_sql diff --git a/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index d75d8f04b..000000000 --- a/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 710967d55..000000000 --- a/hasura/migrations/1600292870975_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 7356653c8..000000000 --- a/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c426f836c..000000000 --- a/hasura/migrations/1600292878940_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/down.yaml b/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/down.yaml deleted file mode 100644 index c1dc0c088..000000000 --- a/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "target_touchtime"; - type: run_sql diff --git a/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/up.yaml b/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/up.yaml deleted file mode 100644 index 5c79aa321..000000000 --- a/hasura/migrations/1600294031854_alter_table_public_bodyshops_add_column_target_touchtime/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "target_touchtime" numeric NULL - DEFAULT 3.5; - type: run_sql diff --git a/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 710967d55..000000000 --- a/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5d6d531ea..000000000 --- a/hasura/migrations/1600294058257_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,70 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c426f836c..000000000 --- a/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index ad197ec93..000000000 --- a/hasura/migrations/1600294065934_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - invoice_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600811731481_run_sql_migration/down.yaml b/hasura/migrations/1600811731481_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1600811731481_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1600811731481_run_sql_migration/up.yaml b/hasura/migrations/1600811731481_run_sql_migration/up.yaml deleted file mode 100644 index 5db204c48..000000000 --- a/hasura/migrations/1600811731481_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: DROP FUNCTION IF EXISTS search_invoices; - type: run_sql diff --git a/hasura/migrations/1600811750963_rename_table_public_invoices/down.yaml b/hasura/migrations/1600811750963_rename_table_public_invoices/down.yaml deleted file mode 100644 index 625e90326..000000000 --- a/hasura/migrations/1600811750963_rename_table_public_invoices/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."bills" rename to "invoices"; - type: run_sql diff --git a/hasura/migrations/1600811750963_rename_table_public_invoices/up.yaml b/hasura/migrations/1600811750963_rename_table_public_invoices/up.yaml deleted file mode 100644 index 26218296f..000000000 --- a/hasura/migrations/1600811750963_rename_table_public_invoices/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoices" rename to "bills"; - type: run_sql diff --git a/hasura/migrations/1600811831857_rename_table_public_invoicelines/down.yaml b/hasura/migrations/1600811831857_rename_table_public_invoicelines/down.yaml deleted file mode 100644 index 931570651..000000000 --- a/hasura/migrations/1600811831857_rename_table_public_invoicelines/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."billlines" rename to "invoicelines"; - type: run_sql diff --git a/hasura/migrations/1600811831857_rename_table_public_invoicelines/up.yaml b/hasura/migrations/1600811831857_rename_table_public_invoicelines/up.yaml deleted file mode 100644 index 0ec970572..000000000 --- a/hasura/migrations/1600811831857_rename_table_public_invoicelines/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."invoicelines" rename to "billlines"; - type: run_sql diff --git a/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/down.yaml b/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/down.yaml deleted file mode 100644 index ba988be2a..000000000 --- a/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."billlines" rename column "billid" to "invoiceid"; - type: run_sql diff --git a/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/up.yaml b/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/up.yaml deleted file mode 100644 index d30c5b176..000000000 --- a/hasura/migrations/1600811849946_alter_table_public_billlines_alter_column_invoiceid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."billlines" rename column "invoiceid" to "billid"; - type: run_sql diff --git a/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/down.yaml b/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/down.yaml deleted file mode 100644 index bcab8a422..000000000 --- a/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: bill - new_name: invoice - table: - name: billlines - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/up.yaml b/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/up.yaml deleted file mode 100644 index e38c9eaed..000000000 --- a/hasura/migrations/1600811863089_rename_relationship_invoice_to_bill_schema_public_table_billlines/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoice - new_name: bill - table: - name: billlines - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/down.yaml b/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/down.yaml deleted file mode 100644 index 380c6beb8..000000000 --- a/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: bill - new_name: invoice - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/up.yaml b/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/up.yaml deleted file mode 100644 index c4b86b008..000000000 --- a/hasura/migrations/1600811909350_rename_relationship_invoice_to_bill_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoice - new_name: bill - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/down.yaml b/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/down.yaml deleted file mode 100644 index b52fbbc9a..000000000 --- a/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: bills - new_name: invoices - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/up.yaml b/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/up.yaml deleted file mode 100644 index fb9de59c5..000000000 --- a/hasura/migrations/1600811937441_rename_relationship_invoices_to_bills_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoices - new_name: bills - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/down.yaml b/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/down.yaml deleted file mode 100644 index 0f322f8e2..000000000 --- a/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: bill - new_name: invoice - table: - name: documents - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/up.yaml b/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/up.yaml deleted file mode 100644 index 908879fc7..000000000 --- a/hasura/migrations/1600811997732_rename_relationship_invoice_to_bill_schema_public_table_documents/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoice - new_name: bill - table: - name: documents - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/down.yaml b/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/down.yaml deleted file mode 100644 index ea5a7b867..000000000 --- a/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: bill - new_name: invoice - table: - name: parts_orders - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/up.yaml b/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/up.yaml deleted file mode 100644 index 986c4a450..000000000 --- a/hasura/migrations/1600812038329_rename_relationship_invoice_to_bill_schema_public_table_parts_orders/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoice - new_name: bill - table: - name: parts_orders - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600812079500_run_sql_migration/down.yaml b/hasura/migrations/1600812079500_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1600812079500_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1600812079500_run_sql_migration/up.yaml b/hasura/migrations/1600812079500_run_sql_migration/up.yaml deleted file mode 100644 index cb3a18586..000000000 --- a/hasura/migrations/1600812079500_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_bills(search text)\n RETURNS SETOF - bills\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from bills ;\n else \n return query SELECT\n - \ *\nFROM\n bills\nWHERE\n search <% (invoice_number);\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/down.yaml b/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/down.yaml deleted file mode 100644 index 3d57da3c3..000000000 --- a/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: billlines - new_name: invoicelines - table: - name: bills - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/up.yaml b/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/up.yaml deleted file mode 100644 index 0fe85775f..000000000 --- a/hasura/migrations/1600813433790_rename_relationship_invoicelines_to_billlines_schema_public_table_bills/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: invoicelines - new_name: billlines - table: - name: bills - schema: public - type: rename_relationship diff --git a/hasura/migrations/1600814306056_run_sql_migration/down.yaml b/hasura/migrations/1600814306056_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1600814306056_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1600814306056_run_sql_migration/up.yaml b/hasura/migrations/1600814306056_run_sql_migration/up.yaml deleted file mode 100644 index cb3a18586..000000000 --- a/hasura/migrations/1600814306056_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_bills(search text)\n RETURNS SETOF - bills\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from bills ;\n else \n return query SELECT\n - \ *\nFROM\n bills\nWHERE\n search <% (invoice_number);\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1600814334466_run_sql_migration/down.yaml b/hasura/migrations/1600814334466_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1600814334466_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1600814334466_run_sql_migration/up.yaml b/hasura/migrations/1600814334466_run_sql_migration/up.yaml deleted file mode 100644 index 3f9cf967b..000000000 --- a/hasura/migrations/1600814334466_run_sql_migration/up.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_bills(search text)\n RETURNS SETOF - bills\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from bills ;\n else \n return query SELECT\n - \ *\nFROM\n bills\nWHERE\n search <% (invoice_number);\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_bills - schema: public - type: track_function diff --git a/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/down.yaml b/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/down.yaml deleted file mode 100644 index c3f28ea91..000000000 --- a/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" rename column "billid" to "invoiceid"; - type: run_sql diff --git a/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/up.yaml b/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/up.yaml deleted file mode 100644 index 4b3cc9bd6..000000000 --- a/hasura/migrations/1600815693417_alter_table_public_documents_alter_column_invoiceid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" rename column "invoiceid" to "billid"; - type: run_sql diff --git a/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/down.yaml b/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/down.yaml deleted file mode 100644 index f25ed43bb..000000000 --- a/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."bodyshops" rename column "bill_tax_rates" to "invoice_tax_rates"; - type: run_sql diff --git a/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/up.yaml b/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/up.yaml deleted file mode 100644 index 30d8889c3..000000000 --- a/hasura/migrations/1600818909881_alter_table_public_bodyshops_alter_column_invoice_tax_rates/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."bodyshops" rename column "invoice_tax_rates" to "bill_tax_rates"; - type: run_sql diff --git a/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/down.yaml b/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/down.yaml deleted file mode 100644 index 9b542b85b..000000000 --- a/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" DROP COLUMN "color"; - type: run_sql diff --git a/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/up.yaml b/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/up.yaml deleted file mode 100644 index 49c013814..000000000 --- a/hasura/migrations/1600878473457_alter_table_public_appointments_add_column_color/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" ADD COLUMN "color" text NULL; - type: run_sql diff --git a/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 395eb2282..000000000 --- a/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 6ede145d6..000000000 --- a/hasura/migrations/1600878486095_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 493ba4dcc..000000000 --- a/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 049d91b6a..000000000 --- a/hasura/migrations/1600878494450_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index ceb8763aa..000000000 --- a/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 68d734d03..000000000 --- a/hasura/migrations/1600878500075_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/down.yaml b/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/down.yaml deleted file mode 100644 index 8e3e479b3..000000000 --- a/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "appt_colors"; - type: run_sql diff --git a/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/up.yaml b/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/up.yaml deleted file mode 100644 index b652f4729..000000000 --- a/hasura/migrations/1600880138974_alter_table_public_bodyshops_add_column_appt_colors/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "appt_colors" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index a4430067b..000000000 --- a/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,70 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - bill_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 86a8318df..000000000 --- a/hasura/migrations/1600880847605_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index ad8fc3ab8..000000000 --- a/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_length - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - bill_tax_rates - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 7774e363d..000000000 --- a/hasura/migrations/1600880860765_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/down.yaml b/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/down.yaml deleted file mode 100644 index ea47af312..000000000 --- a/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "queued_for_parts"; - type: run_sql diff --git a/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/up.yaml b/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/up.yaml deleted file mode 100644 index 1ae3b3c38..000000000 --- a/hasura/migrations/1600886386385_alter_table_public_jobs_add_column_queued_for_parts/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "queued_for_parts" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 2e778f53c..000000000 --- a/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index cdbd11983..000000000 --- a/hasura/migrations/1600886399615_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f0fa8af7a..000000000 --- a/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 74279b915..000000000 --- a/hasura/migrations/1600886414066_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f12bd10ee..000000000 --- a/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,261 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 8c644d008..000000000 --- a/hasura/migrations/1600886423573_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/down.yaml b/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/down.yaml deleted file mode 100644 index a0c9a715f..000000000 --- a/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ca_gst_registrant"; - type: run_sql diff --git a/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/up.yaml b/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/up.yaml deleted file mode 100644 index fbaf0e519..000000000 --- a/hasura/migrations/1600980645878_alter_table_public_jobs_add_column_ca_gst_registrant/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ca_gst_registrant" bool NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index cdbd11983..000000000 --- a/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4f506a48c..000000000 --- a/hasura/migrations/1600980661887_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 74279b915..000000000 --- a/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 9ddd0ef2c..000000000 --- a/hasura/migrations/1600980673046_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 8c644d008..000000000 --- a/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 4736ad435..000000000 --- a/hasura/migrations/1600980681641_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4f506a48c..000000000 --- a/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index fef841c46..000000000 --- a/hasura/migrations/1600986243351_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index fef841c46..000000000 --- a/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 6aac1b887..000000000 --- a/hasura/migrations/1600986262894_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 9ddd0ef2c..000000000 --- a/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e0264031c..000000000 --- a/hasura/migrations/1600986270946_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 4736ad435..000000000 --- a/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_payable - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 244d65f4a..000000000 --- a/hasura/migrations/1600986285430_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/down.yaml b/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/down.yaml deleted file mode 100644 index f562ab36c..000000000 --- a/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "federal_tax_payable" numeric; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "federal_tax_payable" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/up.yaml b/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/up.yaml deleted file mode 100644 index ffbc0e0bd..000000000 --- a/hasura/migrations/1600986351568_alter_table_public_jobs_drop_column_federal_tax_payable/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "federal_tax_payable" CASCADE; - type: run_sql diff --git a/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/down.yaml b/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/down.yaml deleted file mode 100644 index 68309bfe5..000000000 --- a/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "sublet_ignored"; - type: run_sql diff --git a/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/up.yaml b/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/up.yaml deleted file mode 100644 index e91df7c2e..000000000 --- a/hasura/migrations/1601394864653_alter_table_public_joblines_add_column_sublet_ignored/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "sublet_ignored" bool NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/down.yaml b/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/down.yaml deleted file mode 100644 index facc7bfdb..000000000 --- a/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "sublet_completed"; - type: run_sql diff --git a/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/up.yaml b/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/up.yaml deleted file mode 100644 index fc4fa5250..000000000 --- a/hasura/migrations/1601394877870_alter_table_public_joblines_add_column_sublet_completed/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "sublet_completed" bool NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 7dc50463b..000000000 --- a/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index ff9ac5fde..000000000 --- a/hasura/migrations/1601394888768_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 0a0fcd317..000000000 --- a/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 5c724e8f3..000000000 --- a/hasura/migrations/1601394897792_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 4e8d4b05b..000000000 --- a/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 288f51729..000000000 --- a/hasura/migrations/1601394905183_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/down.yaml b/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/down.yaml deleted file mode 100644 index 03b05d199..000000000 --- a/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" DROP COLUMN "alt_transport"; - type: run_sql diff --git a/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/up.yaml b/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/up.yaml deleted file mode 100644 index d09f0a610..000000000 --- a/hasura/migrations/1601400921029_alter_table_public_appointments_add_column_alt_transport/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" ADD COLUMN "alt_transport" text NULL; - type: run_sql diff --git a/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 6ede145d6..000000000 --- a/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index f3d0a358e..000000000 --- a/hasura/migrations/1601400929812_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 049d91b6a..000000000 --- a/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index e87257348..000000000 --- a/hasura/migrations/1601400937507_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 68d734d03..000000000 --- a/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 0b3797e50..000000000 --- a/hasura/migrations/1601400944178_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/down.yaml b/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/down.yaml deleted file mode 100644 index c67f58702..000000000 --- a/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "appt_alt_transport"; - type: run_sql diff --git a/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/up.yaml b/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/up.yaml deleted file mode 100644 index 7a0696323..000000000 --- a/hasura/migrations/1601401615051_alter_table_public_bodyshops_add_column_appt_alt_transport/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "appt_alt_transport" jsonb NULL - DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 86a8318df..000000000 --- a/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 2b690bd5e..000000000 --- a/hasura/migrations/1601401627582_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 7774e363d..000000000 --- a/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 49004b66e..000000000 --- a/hasura/migrations/1601401633544_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601917532118_run_sql_migration/down.yaml b/hasura/migrations/1601917532118_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1601917532118_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1601917532118_run_sql_migration/up.yaml b/hasura/migrations/1601917532118_run_sql_migration/up.yaml deleted file mode 100644 index 2bc705db9..000000000 --- a/hasura/migrations/1601917532118_run_sql_migration/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - CREATE OR REPLACE FUNCTION public.search_jobs(search text) RETURNS SETOF jobs LANGUAGE plpgsql STABLE AS $function$ BEGIN if search = '' then return query - select * - from jobs j; - else return query - SELECT * - FROM jobs j2 - WHERE ro_number ILIKE '%' || search || '%' - OR (cast(est_number as text)) ILIKE '%' || search || '%' - or ownr_fn ILIKE '%' || search || '%' - or ownr_ln ILIKE '%' || search || '%' - or ownr_co_nm ILIKE '%' || search || '%' - or clm_no ILIKE '%' || search || '%' - or v_make_desc ILIKE '%' || search || '%' - or v_model_desc ILIKE '%' || search || '%' - OR plate_no ILIKE '%' || search || '%' - ORDER BY ro_number ILIKE '%' || search || '%' - OR NULL, - (cast(est_number as text)) ILIKE '%' || search || '%' - OR NULL, - ownr_ln ILIKE '%' || search || '%' - OR null, - ownr_co_nm ILIKE '%' || search || '%' - OR NULL, - ownr_fn ILIKE '%' || search || '%' - OR NULL, - clm_no ILIKE '%' || search || '%' - OR NULL, - v_make_desc ILIKE '%' || search || '%' - OR NULL, - v_model_desc ILIKE '%' || search || '%' - OR NULL, - plate_no ILIKE '%' || search || '%' - OR NULL; - end if; - END $function$; - type: run_sql diff --git a/hasura/migrations/1601918477756_run_sql_migration/down.yaml b/hasura/migrations/1601918477756_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1601918477756_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1601918477756_run_sql_migration/up.yaml b/hasura/migrations/1601918477756_run_sql_migration/up.yaml deleted file mode 100644 index c7e841dff..000000000 --- a/hasura/migrations/1601918477756_run_sql_migration/up.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_vehicles(search text)\n RETURNS - SETOF vehicles\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search - = '' then\n return query select * from vehicles ;\n else \n return query - \n \n \n\n SELECT *\nFROM vehicles\nWHERE v_vin ILIKE '%' || search - || '%'\n or plate_no ILIKE '%' || search || '%'\n or v_make_desc ILIKE - '%' || search || '%'\n or v_model_desc ILIKE '%' || search || '%'\n \n - \ ORDER BY v_vin ILIKE '%' || search || '%'\n OR NULL,\n plate_no ILIKE - '%' || search || '%'\n OR NULL,\n v_model_desc ILIKE '%' || search - || '%'\n OR NULL,\n v_make_desc ILIKE '%' || search || '%'\n OR null;\n\n\n\n\n\n\n\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/down.yaml b/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/down.yaml deleted file mode 100644 index 9ba3b36da..000000000 --- a/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."available_jobs" DROP COLUMN "ins_co_nm"; - type: run_sql diff --git a/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/up.yaml b/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/up.yaml deleted file mode 100644 index 50a3d33c8..000000000 --- a/hasura/migrations/1601928069594_alter_table_public_available_jobs_add_column_ins_co_nm/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."available_jobs" ADD COLUMN "ins_co_nm" text NULL; - type: run_sql diff --git a/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index 7d4619ec6..000000000 --- a/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - uploaded_by - - cieca_id - - bodyshopid - - est_data - - issupplement - - jobid - - supplement_number - - ownr_name - - vehicle_info - - clm_amt - - clm_no - - source_system - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index c9e93cebd..000000000 --- a/hasura/migrations/1601928079284_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - cieca_id - - clm_amt - - clm_no - - created_at - - est_data - - id - - ins_co_nm - - issupplement - - jobid - - ownr_name - - source_system - - supplement_number - - updated_at - - uploaded_by - - vehicle_info - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index e27919805..000000000 --- a/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - issupplement - - supplement_number - - est_data - - clm_amt - - cieca_id - - clm_no - - ownr_name - - source_system - - uploaded_by - - vehicle_info - - created_at - - updated_at - - bodyshopid - - id - - jobid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: available_jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index 19f6031a3..000000000 --- a/hasura/migrations/1601928094828_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - cieca_id - - clm_amt - - clm_no - - created_at - - est_data - - id - - ins_co_nm - - issupplement - - jobid - - ownr_name - - source_system - - supplement_number - - updated_at - - uploaded_by - - vehicle_info - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: available_jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/down.yaml b/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/down.yaml deleted file mode 100644 index ea3838750..000000000 --- a/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - cieca_id - - clm_amt - - est_data - - issupplement - - ownr_name - - source_system - - supplement_number - - uploaded_by - - vehicle_info - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/up.yaml b/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/up.yaml deleted file mode 100644 index d4293e24d..000000000 --- a/hasura/migrations/1601928115551_update_permission_user_public_table_available_jobs/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: available_jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - cieca_id - - clm_amt - - est_data - - ins_co_nm - - issupplement - - ownr_name - - source_system - - supplement_number - - uploaded_by - - vehicle_info - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: available_jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/down.yaml b/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/down.yaml deleted file mode 100644 index 291ea9573..000000000 --- a/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "display_name" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "display_name" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/up.yaml b/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/up.yaml deleted file mode 100644 index a5cdda1f4..000000000 --- a/hasura/migrations/1601941700206_alter_table_public_vendors_drop_column_display_name/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "display_name" CASCADE; - type: run_sql diff --git a/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/down.yaml b/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/down.yaml deleted file mode 100644 index b88e99456..000000000 --- a/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "schedule_start_time"; - type: run_sql diff --git a/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/up.yaml b/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/up.yaml deleted file mode 100644 index 5eaf4970d..000000000 --- a/hasura/migrations/1602196074485_alter_table_public_bodyshops_add_column_schedule_start_time/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "schedule_start_time" timestamptz - NULL; - type: run_sql diff --git a/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/down.yaml b/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/down.yaml deleted file mode 100644 index ae46e6567..000000000 --- a/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "schedule_end_time"; - type: run_sql diff --git a/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/up.yaml b/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/up.yaml deleted file mode 100644 index 3d06fe40f..000000000 --- a/hasura/migrations/1602196087643_alter_table_public_bodyshops_add_column_schedule_end_time/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "schedule_end_time" timestamptz - NULL; - type: run_sql diff --git a/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 2b690bd5e..000000000 --- a/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index b595b5e10..000000000 --- a/hasura/migrations/1602196105066_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 49004b66e..000000000 --- a/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 660df165c..000000000 --- a/hasura/migrations/1602196112070_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/down.yaml b/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/down.yaml deleted file mode 100644 index 676f81302..000000000 --- a/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "phone"; - type: run_sql diff --git a/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/up.yaml b/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/up.yaml deleted file mode 100644 index 98a36109d..000000000 --- a/hasura/migrations/1606890436428_alter_table_public_vendors_add_column_phone/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "phone" text NULL; - type: run_sql diff --git a/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 11e8160ff..000000000 --- a/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - favorite - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 30c7bca5d..000000000 --- a/hasura/migrations/1606890446033_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - email - - name - - phone - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index d9771b352..000000000 --- a/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - favorite - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index b8a37c4c9..000000000 --- a/hasura/migrations/1606890454484_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 99f8aa3ff..000000000 --- a/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - favorite - - id - - name - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 822072290..000000000 --- a/hasura/migrations/1606890462598_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 8b1ee9353..000000000 --- a/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - due_date - - favorite - - discount - - prompt_discount - - city - - cost_center - - country - - display_name - - email - - name - - phone - - state - - street1 - - street2 - - taxid - - terms - - zip - - created_at - - updated_at - - bodyshopid - - id - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 88c33a532..000000000 --- a/hasura/migrations/1606960912111_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 203bf00fb..000000000 --- a/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index b8a37c4c9..000000000 --- a/hasura/migrations/1606960921681_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index b84d17fba..000000000 --- a/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - display_name - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 822072290..000000000 --- a/hasura/migrations/1606960929621_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 13f08fc80..000000000 --- a/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - agreementnumber - - courtesycarid - - jobid - - status - - start - - scheduledreturn - - actualreturn - - kmstart - - kmend - - driver_dlnumber - - driver_dlexpiry - - driver_dlst - - driver_fn - - driver_ln - - driver_addr1 - - driver_addr2 - - driver_city - - driver_state - - driver_zip - - driver_ph1 - - driver_dob - - cc_num - - cc_expiry - - cc_cardholder - - contract_date - - dailyrate - - actax - - dailyfreekm - - refuelcharge - - excesskmrate - - cleanupcharge - - damagewaiver - - federaltax - - statetax - - localtax - - coverage - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 5ee00e237..000000000 --- a/hasura/migrations/1607529216657_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index a75a006db..000000000 --- a/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - contract_date - - driver_dlexpiry - - driver_dob - - agreementnumber - - dailyfreekm - - actax - - cleanupcharge - - coverage - - dailyrate - - damagewaiver - - excesskmrate - - federaltax - - kmend - - kmstart - - localtax - - refuelcharge - - statetax - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - actualreturn - - created_at - - scheduledreturn - - start - - updated_at - - courtesycarid - - id - - jobid - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 9bed1820c..000000000 --- a/hasura/migrations/1607529229183_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 686a39ac4..000000000 --- a/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - contract_date - - driver_dlexpiry - - driver_dob - - agreementnumber - - dailyfreekm - - actax - - cleanupcharge - - coverage - - dailyrate - - damagewaiver - - excesskmrate - - federaltax - - kmend - - kmstart - - localtax - - refuelcharge - - statetax - - cc_cardholder - - cc_expiry - - cc_num - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlnumber - - driver_dlst - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - status - - actualreturn - - created_at - - scheduledreturn - - start - - updated_at - - courtesycarid - - id - - jobid - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index d270cf269..000000000 --- a/hasura/migrations/1607529236512_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/down.yaml b/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/down.yaml deleted file mode 100644 index 309ec5470..000000000 --- a/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "cc_num" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "cc_num" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/up.yaml b/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/up.yaml deleted file mode 100644 index 76ba89d71..000000000 --- a/hasura/migrations/1607529251767_alter_table_public_cccontracts_drop_column_cc_num/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "cc_num" CASCADE; - type: run_sql diff --git a/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/down.yaml b/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/down.yaml deleted file mode 100644 index 9a32a7973..000000000 --- a/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "cc_expiry" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "cc_expiry" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/up.yaml b/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/up.yaml deleted file mode 100644 index 976bd0ced..000000000 --- a/hasura/migrations/1607529263054_alter_table_public_cccontracts_drop_column_cc_expiry/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "cc_expiry" CASCADE; - type: run_sql diff --git a/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/down.yaml b/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/down.yaml deleted file mode 100644 index f99ef97d2..000000000 --- a/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/down.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "cc_cardholder" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "cc_cardholder" DROP NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/up.yaml b/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/up.yaml deleted file mode 100644 index d14e4624e..000000000 --- a/hasura/migrations/1607529272767_alter_table_public_cccontracts_drop_column_cc_cardholder/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "cc_cardholder" CASCADE; - type: run_sql diff --git a/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/down.yaml b/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/down.yaml deleted file mode 100644 index 338a3f9df..000000000 --- a/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."courtesycars" ALTER COLUMN "fuel" SET DEFAULT - 1; - type: run_sql diff --git a/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/up.yaml b/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/up.yaml deleted file mode 100644 index abb1a4773..000000000 --- a/hasura/migrations/1607535095538_alter_table_public_courtesycars_alter_column_fuel/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."courtesycars" ALTER COLUMN "fuel" SET DEFAULT - 100; - type: run_sql diff --git a/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/down.yaml b/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/down.yaml deleted file mode 100644 index 0ed274558..000000000 --- a/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "fuelout"; - type: run_sql diff --git a/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/up.yaml b/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/up.yaml deleted file mode 100644 index 8f6e973f3..000000000 --- a/hasura/migrations/1607535335410_alter_table_public_cccontracts_add_column_fuelout/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "fuelout" numeric NOT NULL - DEFAULT 100; - type: run_sql diff --git a/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/down.yaml b/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/down.yaml deleted file mode 100644 index 5507b7088..000000000 --- a/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "fuelin"; - type: run_sql diff --git a/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/up.yaml b/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/up.yaml deleted file mode 100644 index 9c70869ca..000000000 --- a/hasura/migrations/1607535345739_alter_table_public_cccontracts_add_column_fuelin/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "fuelin" numeric NOT NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 5ee00e237..000000000 --- a/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 17c8bdd8c..000000000 --- a/hasura/migrations/1607535461810_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 9bed1820c..000000000 --- a/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index e82037eb2..000000000 --- a/hasura/migrations/1607535477424_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index d270cf269..000000000 --- a/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 36fe09f7d..000000000 --- a/hasura/migrations/1607535485748_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index f3d0a358e..000000000 --- a/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 6ede145d6..000000000 --- a/hasura/migrations/1608161228998_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - set: {} - role: user - table: - name: appointments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index e87257348..000000000 --- a/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 049d91b6a..000000000 --- a/hasura/migrations/1608161238714_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: appointments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/down.yaml b/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/down.yaml deleted file mode 100644 index 0b3797e50..000000000 --- a/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - alt_transport - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/up.yaml b/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/up.yaml deleted file mode 100644 index 68d734d03..000000000 --- a/hasura/migrations/1608161255330_update_permission_user_public_table_appointments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: appointments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: appointments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/down.yaml b/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/down.yaml deleted file mode 100644 index 6e14563dc..000000000 --- a/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/down.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" ADD COLUMN "alt_transport" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" ALTER COLUMN "alt_transport" DROP NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/up.yaml b/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/up.yaml deleted file mode 100644 index c44cdd3a6..000000000 --- a/hasura/migrations/1608161269241_alter_table_public_appointments_drop_column_alt_transport/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."appointments" DROP COLUMN "alt_transport" CASCADE; - type: run_sql diff --git a/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/down.yaml b/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/down.yaml deleted file mode 100644 index 5e0c12caa..000000000 --- a/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "alt_transport"; - type: run_sql diff --git a/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/up.yaml b/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/up.yaml deleted file mode 100644 index 46aa5f5c9..000000000 --- a/hasura/migrations/1608161391053_alter_table_public_jobs_add_column_alt_transport/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "alt_transport" text NULL; - type: run_sql diff --git a/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 6aac1b887..000000000 --- a/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index bf11fa8b6..000000000 --- a/hasura/migrations/1608161407237_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index e0264031c..000000000 --- a/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index f2e87d5df..000000000 --- a/hasura/migrations/1608161439192_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 244d65f4a..000000000 --- a/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1fece9202..000000000 --- a/hasura/migrations/1608161448390_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608179192407_drop_function_public_search_owners/down.yaml b/hasura/migrations/1608179192407_drop_function_public_search_owners/down.yaml deleted file mode 100644 index aed18c977..000000000 --- a/hasura/migrations/1608179192407_drop_function_public_search_owners/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owners(search text)\n RETURNS SETOF - owners\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from owners ;\n else \n return query SELECT\n - \ *\nFROM\n owners\nWHERE\n search <% (ownr_fn) OR\n search <% (ownr_ln) - OR\n search <% (ownr_co_nm) OR\n search <% (ownr_ph1) OR\n search <% (ownr_addr1);\n - \ end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1608179192407_drop_function_public_search_owners/up.yaml b/hasura/migrations/1608179192407_drop_function_public_search_owners/up.yaml deleted file mode 100644 index 85813ac06..000000000 --- a/hasura/migrations/1608179192407_drop_function_public_search_owners/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP FUNCTION "public"."search_owners"("pg_catalog"."text"); - type: run_sql diff --git a/hasura/migrations/1608179312131_run_sql_migration/down.yaml b/hasura/migrations/1608179312131_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608179312131_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608179312131_run_sql_migration/up.yaml b/hasura/migrations/1608179312131_run_sql_migration/up.yaml deleted file mode 100644 index cddb2e751..000000000 --- a/hasura/migrations/1608179312131_run_sql_migration/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owners (search text)\n\tRETURNS - SETOF owners\n\tLANGUAGE plpgsql\n\tSTABLE\n\tAS $FUNCTION$\nBEGIN\n\tIF search - = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners\n\t\tWHERE\n\t\t\townr_ln - ILIKE '%' || search || '%'\n\t\t\tOR ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR ownr_co_nm ILIKE '%' || search - || '%'\n\t\t\tOR ownr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR ownr_addr1 ILIKE - '%' || search || '%'\n\t\tORDER BY\n\t\t\townr_ln ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_fn ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_co_nm - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_fn ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\townr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND - $FUNCTION$;" - type: run_sql diff --git a/hasura/migrations/1608179336471_run_sql_migration/down.yaml b/hasura/migrations/1608179336471_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608179336471_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608179336471_run_sql_migration/up.yaml b/hasura/migrations/1608179336471_run_sql_migration/up.yaml deleted file mode 100644 index 1d77c7c6d..000000000 --- a/hasura/migrations/1608179336471_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owners (search text)\n\tRETURNS - SETOF owners\n\tLANGUAGE plpgsql\n\tSTABLE\n\tAS $FUNCTION$\nBEGIN\n\tIF search - = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners\n\t\tWHERE\n\t\t\townr_ln - ILIKE '%' || search || '%'\n\t\t\tOR ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR ownr_co_nm ILIKE '%' || search - || '%'\n\t\t\tOR ownr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR ownr_addr1 ILIKE - '%' || search || '%'\n\t\tORDER BY\n\t\t\townr_ln ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_fn ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_co_nm - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_fn ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\townr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND - $FUNCTION$;" - type: run_sql -- args: - name: search_owners - schema: public - type: track_function diff --git a/hasura/migrations/1608179815354_run_sql_migration/down.yaml b/hasura/migrations/1608179815354_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608179815354_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608179815354_run_sql_migration/up.yaml b/hasura/migrations/1608179815354_run_sql_migration/up.yaml deleted file mode 100644 index 8acefe0ed..000000000 --- a/hasura/migrations/1608179815354_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_owners (search text)\n\tRETURNS - SETOF owners\n\tLANGUAGE plpgsql\n\tSTABLE\n\tAS $FUNCTION$\nBEGIN\n\tIF search - = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\towners\n\t\tWHERE (ownr_fn || ' - ' || ownr_ln)\n\t\tILIKE '%' || search || '%'\n\t\t\tOR ownr_ln ILIKE '%' || - search || '%'\n\t\t\tOR ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR ownr_fn - ILIKE '%' || search || '%'\n\t\t\tOR ownr_co_nm ILIKE '%' || search || '%'\n\t\t\tOR - ownr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR ownr_addr1 ILIKE '%' || search - || '%'\n\t\tORDER BY\n\t\t\t(ownr_fn || ' ' || ownr_ln)\n\t\t\tILIKE '%' || - search || '%'\n\t\t\tOR NULL,\n\t\t\townr_ln ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_fn ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_co_nm - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_fn ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\townr_ph1 ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND\n$FUNCTION$;" - type: run_sql diff --git a/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/down.yaml b/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/down.yaml deleted file mode 100644 index fc4449e03..000000000 --- a/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bills" DROP COLUMN "isinhouse"; - type: run_sql diff --git a/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/up.yaml b/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/up.yaml deleted file mode 100644 index ff82fb10e..000000000 --- a/hasura/migrations/1608740311503_alter_table_public_bills_add_column_isinhouse/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bills" ADD COLUMN "isinhouse" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1608740361292_update_permission_user_public_table_bills/down.yaml b/hasura/migrations/1608740361292_update_permission_user_public_table_bills/down.yaml deleted file mode 100644 index c330bf854..000000000 --- a/hasura/migrations/1608740361292_update_permission_user_public_table_bills/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - set: {} - role: user - table: - name: bills - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608740361292_update_permission_user_public_table_bills/up.yaml b/hasura/migrations/1608740361292_update_permission_user_public_table_bills/up.yaml deleted file mode 100644 index 4ae0f86f9..000000000 --- a/hasura/migrations/1608740361292_update_permission_user_public_table_bills/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - set: {} - role: user - table: - name: bills - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1608740373347_update_permission_user_public_table_bills/down.yaml b/hasura/migrations/1608740373347_update_permission_user_public_table_bills/down.yaml deleted file mode 100644 index c47a3967d..000000000 --- a/hasura/migrations/1608740373347_update_permission_user_public_table_bills/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bills - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608740373347_update_permission_user_public_table_bills/up.yaml b/hasura/migrations/1608740373347_update_permission_user_public_table_bills/up.yaml deleted file mode 100644 index ebc89d0e3..000000000 --- a/hasura/migrations/1608740373347_update_permission_user_public_table_bills/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: bills - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608740385538_update_permission_user_public_table_bills/down.yaml b/hasura/migrations/1608740385538_update_permission_user_public_table_bills/down.yaml deleted file mode 100644 index 432c2aa01..000000000 --- a/hasura/migrations/1608740385538_update_permission_user_public_table_bills/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bills - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608740385538_update_permission_user_public_table_bills/up.yaml b/hasura/migrations/1608740385538_update_permission_user_public_table_bills/up.yaml deleted file mode 100644 index ca0eb70d4..000000000 --- a/hasura/migrations/1608740385538_update_permission_user_public_table_bills/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_update_permission -- args: - permission: - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bills - schema: public - type: create_update_permission diff --git a/hasura/migrations/1608740480171_run_sql_migration/down.yaml b/hasura/migrations/1608740480171_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608740480171_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608740480171_run_sql_migration/up.yaml b/hasura/migrations/1608740480171_run_sql_migration/up.yaml deleted file mode 100644 index 7e89bac75..000000000 --- a/hasura/migrations/1608740480171_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.isinhouse - = true and (new.invoice_number is null or new.invoice_number = '') THEN\r\n - \ UPDATE counters\r\n\tSET count = count + 1 where shopid=new.shopid - AND countertype = 'ihbnum'\r\n\tRETURNING concat(prefix,count) into new.invoice_number;\r\n\r\n - \ END IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;" - type: run_sql diff --git a/hasura/migrations/1608740577735_run_sql_migration/down.yaml b/hasura/migrations/1608740577735_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608740577735_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608740577735_run_sql_migration/up.yaml b/hasura/migrations/1608740577735_run_sql_migration/up.yaml deleted file mode 100644 index 310e90b0f..000000000 --- a/hasura/migrations/1608740577735_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "create trigger bills_assign_ihb_num before\r\nupdate\r\n on\r\n public.bills - for each row execute procedure assign_ibh_number();" - type: run_sql diff --git a/hasura/migrations/1608740773551_run_sql_migration/down.yaml b/hasura/migrations/1608740773551_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608740773551_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608740773551_run_sql_migration/up.yaml b/hasura/migrations/1608740773551_run_sql_migration/up.yaml deleted file mode 100644 index 8e9e00f8c..000000000 --- a/hasura/migrations/1608740773551_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.isinhouse - = true and (new.invoice_number is null or new.invoice_number = 'ih') THEN\r\n - \ UPDATE counters\r\n\tSET count = count + 1 where shopid=new.shopid - AND countertype = 'ihbnum'\r\n\tRETURNING concat(prefix,count) into new.invoice_number;\r\n\r\n - \ END IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;" - type: run_sql diff --git a/hasura/migrations/1608741009417_run_sql_migration/down.yaml b/hasura/migrations/1608741009417_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741009417_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741009417_run_sql_migration/up.yaml b/hasura/migrations/1608741009417_run_sql_migration/up.yaml deleted file mode 100644 index 79fb86b36..000000000 --- a/hasura/migrations/1608741009417_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: drop trigger if exists bills_assign_ihb_num on bills; - type: run_sql diff --git a/hasura/migrations/1608741053957_run_sql_migration/down.yaml b/hasura/migrations/1608741053957_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741053957_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741053957_run_sql_migration/up.yaml b/hasura/migrations/1608741053957_run_sql_migration/up.yaml deleted file mode 100644 index 8af751e35..000000000 --- a/hasura/migrations/1608741053957_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "create trigger bills_assign_ihbnum before\r\ninsert\r\n on\r\n public.jobs - for each row execute procedure assign_ibh_number();" - type: run_sql diff --git a/hasura/migrations/1608741063718_run_sql_migration/down.yaml b/hasura/migrations/1608741063718_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741063718_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741063718_run_sql_migration/up.yaml b/hasura/migrations/1608741063718_run_sql_migration/up.yaml deleted file mode 100644 index 6351a66ea..000000000 --- a/hasura/migrations/1608741063718_run_sql_migration/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "create trigger bills_assign_ihbnum before\r\ninsert\r\n on\r\n public.bills - for each row execute procedure assign_ibh_number();" - type: run_sql diff --git a/hasura/migrations/1608741100308_run_sql_migration/down.yaml b/hasura/migrations/1608741100308_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741100308_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741100308_run_sql_migration/up.yaml b/hasura/migrations/1608741100308_run_sql_migration/up.yaml deleted file mode 100644 index 0e54aaa9e..000000000 --- a/hasura/migrations/1608741100308_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: drop trigger if exists bills_assign_ihbnum on jobs; - type: run_sql diff --git a/hasura/migrations/1608741387779_run_sql_migration/down.yaml b/hasura/migrations/1608741387779_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741387779_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741387779_run_sql_migration/up.yaml b/hasura/migrations/1608741387779_run_sql_migration/up.yaml deleted file mode 100644 index e529f741c..000000000 --- a/hasura/migrations/1608741387779_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.isinhouse - = true and (new.invoice_number is null or new.invoice_number = '') THEN\r\n - \ UPDATE counters\r\n\tSET count = count + 1\r\n\tfrom jobs\r\n\twhere - jobs.id=new.jobid and counters.shopid = jobs.shopid AND countertype = 'ihbnum'\r\n\tRETURNING - concat(prefix,count) into new.invoice_number;\r\n\r\n END IF;\r\n RETURN - NEW;\r\n END;\r\n $function$\r\n;" - type: run_sql diff --git a/hasura/migrations/1608741701614_run_sql_migration/down.yaml b/hasura/migrations/1608741701614_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741701614_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741701614_run_sql_migration/up.yaml b/hasura/migrations/1608741701614_run_sql_migration/up.yaml deleted file mode 100644 index 699edcff7..000000000 --- a/hasura/migrations/1608741701614_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.isinhouse - = true and (new.invoice_number is null or new.invoice_number = '') THEN\r\n - \ UPDATE counters\r\n\tSET count = count + 1\r\n\tfrom bodyshops \r\n\twhere - bodyshops.id = (select shopid from jobs where jobs.id = new.jobid)\r\n\tAND - countertype = 'ihbnum'\r\n\tRETURNING concat(prefix,count) into new.invoice_number;\r\n\r\n - \ END IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;" - type: run_sql diff --git a/hasura/migrations/1608741738380_run_sql_migration/down.yaml b/hasura/migrations/1608741738380_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1608741738380_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1608741738380_run_sql_migration/up.yaml b/hasura/migrations/1608741738380_run_sql_migration/up.yaml deleted file mode 100644 index 9456d1abc..000000000 --- a/hasura/migrations/1608741738380_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\r\n RETURNS trigger\r\n - LANGUAGE plpgsql\r\nAS $function$\r\n begin\r\n IF NEW.isinhouse - = true and (new.invoice_number is null or new.invoice_number = 'ih') THEN\r\n - \ UPDATE counters\r\n\tSET count = count + 1\r\n\tfrom bodyshops \r\n\twhere - bodyshops.id = (select shopid from jobs where jobs.id = new.jobid)\r\n\tAND - countertype = 'ihbnum'\r\n\tRETURNING concat(prefix,count) into new.invoice_number;\r\n\r\n - \ END IF;\r\n RETURN NEW;\r\n END;\r\n $function$\r\n;" - type: run_sql diff --git a/hasura/migrations/1608765772036_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1608765772036_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 3822a6184..000000000 --- a/hasura/migrations/1608765772036_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1608765772036_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1608765772036_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 6fdc8d980..000000000 --- a/hasura/migrations/1608765772036_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - associations: - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/down.yaml b/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/down.yaml deleted file mode 100644 index e0d91252c..000000000 --- a/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "imexshopid"; - type: run_sql diff --git a/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/up.yaml b/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/up.yaml deleted file mode 100644 index cf4791447..000000000 --- a/hasura/migrations/1609980609388_alter_table_public_bodyshops_add_column_imexshopid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "imexshopid" text NULL UNIQUE; - type: run_sql diff --git a/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index b595b5e10..000000000 --- a/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 0acc18430..000000000 --- a/hasura/migrations/1609980625366_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index bf11fa8b6..000000000 --- a/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 46b1a447a..000000000 --- a/hasura/migrations/1610046845471_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index f2e87d5df..000000000 --- a/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 159015d7a..000000000 --- a/hasura/migrations/1610046883329_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1fece9202..000000000 --- a/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_number - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index c396ebece..000000000 --- a/hasura/migrations/1610046900101_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/down.yaml b/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/down.yaml deleted file mode 100644 index a8f0f442b..000000000 --- a/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/down.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "est_number" int8; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "est_number" DROP NOT NULL; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "est_number" SET DEFAULT nextval('jobs_est_number_seq'::regclass); - type: run_sql diff --git a/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/up.yaml b/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/up.yaml deleted file mode 100644 index f04ffde2a..000000000 --- a/hasura/migrations/1610046982374_alter_table_public_jobs_drop_column_est_number/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "est_number" CASCADE; - type: run_sql diff --git a/hasura/migrations/1610061773237_run_sql_migration/down.yaml b/hasura/migrations/1610061773237_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1610061773237_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1610061773237_run_sql_migration/up.yaml b/hasura/migrations/1610061773237_run_sql_migration/up.yaml deleted file mode 100644 index 24364aad9..000000000 --- a/hasura/migrations/1610061773237_run_sql_migration/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - CREATE OR REPLACE FUNCTION public.search_jobs(search text) - RETURNS SETOF jobs - LANGUAGE plpgsql - STABLE - AS $function$ BEGIN if search = '' then return query - select * - from jobs j; - else return query - SELECT * - FROM jobs j2 - WHERE ro_number ILIKE '%' || search || '%' - or ownr_fn ILIKE '%' || search || '%' - or ownr_ln ILIKE '%' || search || '%' - or ownr_co_nm ILIKE '%' || search || '%' - or clm_no ILIKE '%' || search || '%' - or v_make_desc ILIKE '%' || search || '%' - or v_model_desc ILIKE '%' || search || '%' - OR plate_no ILIKE '%' || search || '%' - ORDER BY ro_number ILIKE '%' || search || '%' - OR NULL, - ownr_ln ILIKE '%' || search || '%' - OR null, - ownr_co_nm ILIKE '%' || search || '%' - OR NULL, - ownr_fn ILIKE '%' || search || '%' - OR NULL, - clm_no ILIKE '%' || search || '%' - OR NULL, - v_make_desc ILIKE '%' || search || '%' - OR NULL, - v_model_desc ILIKE '%' || search || '%' - OR NULL, - plate_no ILIKE '%' || search || '%' - OR NULL; - end if; - END $function$; - type: run_sql diff --git a/hasura/migrations/1610062707742_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1610062707742_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 015c4e179..000000000 --- a/hasura/migrations/1610062707742_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610062707742_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1610062707742_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index fcae8dd99..000000000 --- a/hasura/migrations/1610062707742_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610065492233_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1610065492233_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 9c02886e0..000000000 --- a/hasura/migrations/1610065492233_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - filter: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610065492233_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1610065492233_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 0175b1813..000000000 --- a/hasura/migrations/1610065492233_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - authlevel - filter: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610126817563_drop_table_public_templates/down.yaml b/hasura/migrations/1610126817563_drop_table_public_templates/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1610126817563_drop_table_public_templates/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1610126817563_drop_table_public_templates/up.yaml b/hasura/migrations/1610126817563_drop_table_public_templates/up.yaml deleted file mode 100644 index 0b0c18598..000000000 --- a/hasura/migrations/1610126817563_drop_table_public_templates/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: DROP TABLE "public"."templates"; - type: run_sql diff --git a/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/down.yaml b/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/down.yaml deleted file mode 100644 index 9e28cd02e..000000000 --- a/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" DROP COLUMN "part_type"; - type: run_sql diff --git a/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/up.yaml b/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/up.yaml deleted file mode 100644 index 0f41a529c..000000000 --- a/hasura/migrations/1610131746926_alter_table_public_parts_order_lines_add_column_part_type/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" ADD COLUMN "part_type" text NULL; - type: run_sql diff --git a/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index f30db5ad8..000000000 --- a/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 03a2bc485..000000000 --- a/hasura/migrations/1610131757812_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 609697074..000000000 --- a/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 9d5d7c6a7..000000000 --- a/hasura/migrations/1610131767244_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 09f99df03..000000000 --- a/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 1277d7f95..000000000 --- a/hasura/migrations/1610131775615_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/down.yaml b/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/down.yaml deleted file mode 100644 index 9f0131638..000000000 --- a/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "lbr_adjustments"; - type: run_sql diff --git a/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/up.yaml b/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/up.yaml deleted file mode 100644 index c075283eb..000000000 --- a/hasura/migrations/1610135319762_alter_table_public_jobs_add_column_lbr_adjustments/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "lbr_adjustments" jsonb NOT NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 46b1a447a..000000000 --- a/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1446f80b1..000000000 --- a/hasura/migrations/1610135335076_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 159015d7a..000000000 --- a/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index eac2bb100..000000000 --- a/hasura/migrations/1610135347875_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index c396ebece..000000000 --- a/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5dbd57336..000000000 --- a/hasura/migrations/1610135386514_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/down.yaml b/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/down.yaml deleted file mode 100644 index 5573d6d5a..000000000 --- a/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "default_adjustment_rate"; - type: run_sql diff --git a/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/up.yaml b/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/up.yaml deleted file mode 100644 index 088ae9774..000000000 --- a/hasura/migrations/1610151515378_alter_table_public_bodyshops_add_column_default_adjustment_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "default_adjustment_rate" numeric - NULL; - type: run_sql diff --git a/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/down.yaml b/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/down.yaml deleted file mode 100644 index 5d447309b..000000000 --- a/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "default_adjustment_rate" - DROP DEFAULT; - type: run_sql diff --git a/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/up.yaml b/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/up.yaml deleted file mode 100644 index a96099d7b..000000000 --- a/hasura/migrations/1610151541751_alter_table_public_bodyshops_alter_column_default_adjustment_rate/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."bodyshops" ALTER COLUMN "default_adjustment_rate" - SET DEFAULT 0; - type: run_sql diff --git a/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 0acc18430..000000000 --- a/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c49b55fed..000000000 --- a/hasura/migrations/1610151569143_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 660df165c..000000000 --- a/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index ef19e6f61..000000000 --- a/hasura/migrations/1610151590206_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/down.yaml b/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/down.yaml deleted file mode 100644 index 9c0fd5472..000000000 --- a/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "lbr_adjustments" SET DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/up.yaml b/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/up.yaml deleted file mode 100644 index baa82ffbd..000000000 --- a/hasura/migrations/1610154781199_alter_table_public_jobs_alter_column_lbr_adjustments/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE ONLY "public"."jobs" ALTER COLUMN "lbr_adjustments" SET DEFAULT - jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/down.yaml b/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/down.yaml deleted file mode 100644 index c85404ff9..000000000 --- a/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" DROP COLUMN "manual_line"; - type: run_sql diff --git a/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/up.yaml b/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/up.yaml deleted file mode 100644 index 32d081b42..000000000 --- a/hasura/migrations/1611165627078_alter_table_public_joblines_add_column_manual_line/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."joblines" ADD COLUMN "manual_line" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index ff9ac5fde..000000000 --- a/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index abd20d1ed..000000000 --- a/hasura/migrations/1611165639521_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - set: {} - role: user - table: - name: joblines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 5c724e8f3..000000000 --- a/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 8bca3a998..000000000 --- a/hasura/migrations/1611165651041_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,83 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: joblines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/down.yaml b/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/down.yaml deleted file mode 100644 index 288f51729..000000000 --- a/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/down.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/up.yaml b/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/up.yaml deleted file mode 100644 index 3dd70cec3..000000000 --- a/hasura/migrations/1611165680112_update_permission_user_public_table_joblines/up.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: joblines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: joblines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/down.yaml b/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/down.yaml deleted file mode 100644 index 03d974c9e..000000000 --- a/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."billlines" DROP COLUMN "deductedfromlbr"; - type: run_sql diff --git a/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/up.yaml b/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/up.yaml deleted file mode 100644 index febcecd76..000000000 --- a/hasura/migrations/1611175609588_alter_table_public_billlines_add_column_deductedfromlbr/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."billlines" ADD COLUMN "deductedfromlbr" boolean NOT - NULL DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index b8f6ce79a..000000000 --- a/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_insert_permission -- args: - permission: - check: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - billid - - joblineid - - line_desc - - quantity - - updated_at - set: {} - role: user - table: - name: billlines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 283c766e9..000000000 --- a/hasura/migrations/1611175625070_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_insert_permission -- args: - permission: - check: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - set: {} - role: user - table: - name: billlines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index 07d0a8f77..000000000 --- a/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - billid - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 4404c8657..000000000 --- a/hasura/migrations/1611175633677_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index ed7ecc9b1..000000000 --- a/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - cost_center - - created_at - - id - - billid - - joblineid - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: billlines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index a3942892a..000000000 --- a/hasura/migrations/1611175641709_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: billlines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/down.yaml b/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/down.yaml deleted file mode 100644 index f0673aa76..000000000 --- a/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" DROP COLUMN "rates"; - type: run_sql diff --git a/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/up.yaml b/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/up.yaml deleted file mode 100644 index 8e95f1982..000000000 --- a/hasura/migrations/1611248235643_alter_table_public_employees_add_column_rates/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" ADD COLUMN "rates" jsonb NOT NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1611248259535_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1611248259535_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 71581edc3..000000000 --- a/hasura/migrations/1611248259535_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611248259535_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1611248259535_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 0de1d741b..000000000 --- a/hasura/migrations/1611248259535_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - set: {} - role: user - table: - name: employees - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1611248275728_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1611248275728_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index 8655d5eaf..000000000 --- a/hasura/migrations/1611248275728_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611248275728_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1611248275728_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index dabd89bba..000000000 --- a/hasura/migrations/1611248275728_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611248283963_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1611248283963_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index e0859b31d..000000000 --- a/hasura/migrations/1611248283963_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - base_rate - - cost_center - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - shopid - - termination_date - - updated_at - - user_email - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611248283963_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1611248283963_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 5c10dd4b7..000000000 --- a/hasura/migrations/1611248283963_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: employees - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611272576261_update_permission_user_public_table_bills/down.yaml b/hasura/migrations/1611272576261_update_permission_user_public_table_bills/down.yaml deleted file mode 100644 index e6a9c5c2a..000000000 --- a/hasura/migrations/1611272576261_update_permission_user_public_table_bills/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: bills - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1611272576261_update_permission_user_public_table_bills/up.yaml b/hasura/migrations/1611272576261_update_permission_user_public_table_bills/up.yaml deleted file mode 100644 index 858e53df4..000000000 --- a/hasura/migrations/1611272576261_update_permission_user_public_table_bills/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - permission: - backend_only: false - filter: - _and: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - exported: - _eq: false - role: user - table: - name: bills - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1611272645898_set_fk_public_documents_billid/down.yaml b/hasura/migrations/1611272645898_set_fk_public_documents_billid/down.yaml deleted file mode 100644 index bd8a427a6..000000000 --- a/hasura/migrations/1611272645898_set_fk_public_documents_billid/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" drop constraint "documents_billid_fkey", - add constraint "documents_invoiceid_fkey" - foreign key ("billid") - references "public"."bills" - ("id") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1611272645898_set_fk_public_documents_billid/up.yaml b/hasura/migrations/1611272645898_set_fk_public_documents_billid/up.yaml deleted file mode 100644 index 478200f55..000000000 --- a/hasura/migrations/1611272645898_set_fk_public_documents_billid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" drop constraint "documents_invoiceid_fkey", - add constraint "documents_billid_fkey" - foreign key ("billid") - references "public"."bills" - ("id") on update restrict on delete set null; - type: run_sql diff --git a/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/down.yaml b/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/down.yaml deleted file mode 100644 index fe9cc76ca..000000000 --- a/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "workingdays"; - type: run_sql diff --git a/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/up.yaml b/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/up.yaml deleted file mode 100644 index 8e2eb5a32..000000000 --- a/hasura/migrations/1611941041657_alter_table_public_bodyshops_add_column_workingdays/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "workingdays" jsonb NOT NULL - DEFAULT jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c49b55fed..000000000 --- a/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c80b7fd81..000000000 --- a/hasura/migrations/1611941052239_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index ef19e6f61..000000000 --- a/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f8bd313df..000000000 --- a/hasura/migrations/1611941063164_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,70 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/down.yaml b/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/down.yaml deleted file mode 100644 index 73e755a11..000000000 --- a/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "use_fippa"; - type: run_sql diff --git a/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/up.yaml b/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/up.yaml deleted file mode 100644 index 164facaaf..000000000 --- a/hasura/migrations/1612200357139_alter_table_public_bodyshops_add_column_use_fippa/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "use_fippa" boolean NOT NULL - DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c80b7fd81..000000000 --- a/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 8ec0d692f..000000000 --- a/hasura/migrations/1612200364598_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f8bd313df..000000000 --- a/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,70 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 69cb0c83d..000000000 --- a/hasura/migrations/1612200375540_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/down.yaml b/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/down.yaml deleted file mode 100644 index 35c68f05c..000000000 --- a/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "date_estimated" TYPE timestamp - with time zone; - type: run_sql diff --git a/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/up.yaml b/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/up.yaml deleted file mode 100644 index 2b2679c86..000000000 --- a/hasura/migrations/1612219431186_alter_table_public_jobs_alter_column_date_estimated/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "date_estimated" TYPE date; - type: run_sql diff --git a/hasura/migrations/1612286825846_run_sql_migration/down.yaml b/hasura/migrations/1612286825846_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1612286825846_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1612286825846_run_sql_migration/up.yaml b/hasura/migrations/1612286825846_run_sql_migration/up.yaml deleted file mode 100644 index 5ca74c861..000000000 --- a/hasura/migrations/1612286825846_run_sql_migration/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - create trigger jobs_assign_RO_insert before insert on jobs for - each row execute function assign_ro_number(); - type: run_sql diff --git a/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/down.yaml b/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/down.yaml deleted file mode 100644 index e1f4dfe22..000000000 --- a/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" DROP COLUMN "extension"; - type: run_sql diff --git a/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/up.yaml b/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/up.yaml deleted file mode 100644 index 9951035eb..000000000 --- a/hasura/migrations/1612478848106_alter_table_public_documents_add_column_extension/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ADD COLUMN "extension" text NULL; - type: run_sql diff --git a/hasura/migrations/1612478855295_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1612478855295_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index af08a0df6..000000000 --- a/hasura/migrations/1612478855295_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - uploaded_by - - jobid - - name - - key - - billid - - type - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612478855295_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1612478855295_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index e7f9555ab..000000000 --- a/hasura/migrations/1612478855295_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612478861357_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1612478861357_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index bfe07f671..000000000 --- a/hasura/migrations/1612478861357_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - key - - name - - type - - uploaded_by - - created_at - - updated_at - - id - - billid - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612478861357_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1612478861357_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 791d121c3..000000000 --- a/hasura/migrations/1612478861357_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/down.yaml b/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/down.yaml deleted file mode 100644 index e9b20c89e..000000000 --- a/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "paymentnum"; - type: run_sql diff --git a/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/up.yaml b/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/up.yaml deleted file mode 100644 index bc705009e..000000000 --- a/hasura/migrations/1612809714719_alter_table_public_payments_add_column_paymentnum/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "paymentnum" text NULL; - type: run_sql diff --git a/hasura/migrations/1612809727981_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612809727981_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index d3263f3f0..000000000 --- a/hasura/migrations/1612809727981_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612809727981_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612809727981_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 6635ad75a..000000000 --- a/hasura/migrations/1612809727981_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612809735669_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612809735669_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index d048afd30..000000000 --- a/hasura/migrations/1612809735669_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612809735669_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612809735669_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index b1dc6deff..000000000 --- a/hasura/migrations/1612809735669_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612809739863_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612809739863_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index ffba0de91..000000000 --- a/hasura/migrations/1612809739863_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612809739863_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612809739863_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 4b6a2bb0b..000000000 --- a/hasura/migrations/1612809739863_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612809744309_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612809744309_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index ffba0de91..000000000 --- a/hasura/migrations/1612809744309_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612809744309_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612809744309_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 4b6a2bb0b..000000000 --- a/hasura/migrations/1612809744309_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612809975689_run_sql_migration/down.yaml b/hasura/migrations/1612809975689_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1612809975689_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1612809975689_run_sql_migration/up.yaml b/hasura/migrations/1612809975689_run_sql_migration/up.yaml deleted file mode 100644 index 62df62d11..000000000 --- a/hasura/migrations/1612809975689_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_payment_number ()\n\tRETURNS TRIGGER\n\tLANGUAGE - plpgsql\n\tAS $function$\nBEGIN\n\tIF (new.paymentnum IS NULL\n\t\tOR new.paymentnum - = 'pnew') THEN\n\tUPDATE\n\t\tcounters\n\tSET\n\t\tcount = count + 1\n\tFROM\n\t\tbodyshops\n\tWHERE\n\t\tbodyshops.id - = (\n\t\t\tSELECT\n\t\t\t\tshopid\n\t\t\tFROM\n\t\t\t\tjobs\n\t\t\tWHERE\n\t\t\t\tjobs.id - = new.jobid)\n\t\t\tAND countertype = 'paymentnum'\n\t\tRETURNING\n\t\t\tconcat(prefix, - count) INTO new.paymentnum;\nEND IF;\n\tRETURN NEW;\nEND;\n$function$;" - type: run_sql diff --git a/hasura/migrations/1612810025041_run_sql_migration/down.yaml b/hasura/migrations/1612810025041_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1612810025041_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1612810025041_run_sql_migration/up.yaml b/hasura/migrations/1612810025041_run_sql_migration/up.yaml deleted file mode 100644 index 096f1b44c..000000000 --- a/hasura/migrations/1612810025041_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: true - read_only: false - sql: |- - create trigger payments_assign_paymentnum before - insert - on - public.payments - for each row execute procedure assign_payment_number(); - type: run_sql diff --git a/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/down.yaml b/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/down.yaml deleted file mode 100644 index e475df732..000000000 --- a/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" DROP COLUMN "date"; - type: run_sql diff --git a/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/up.yaml b/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/up.yaml deleted file mode 100644 index 21103bf27..000000000 --- a/hasura/migrations/1612810428150_alter_table_public_payments_add_column_date/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."payments" ADD COLUMN "date" date NULL; - type: run_sql diff --git a/hasura/migrations/1612810438043_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612810438043_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index b1dc6deff..000000000 --- a/hasura/migrations/1612810438043_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612810438043_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612810438043_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 19c9c80bf..000000000 --- a/hasura/migrations/1612810438043_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - set: {} - role: user - table: - name: payments - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612810444714_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612810444714_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 6635ad75a..000000000 --- a/hasura/migrations/1612810444714_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612810444714_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612810444714_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index eda8df053..000000000 --- a/hasura/migrations/1612810444714_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: payments - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612810451283_update_permission_user_public_table_payments/down.yaml b/hasura/migrations/1612810451283_update_permission_user_public_table_payments/down.yaml deleted file mode 100644 index 4b6a2bb0b..000000000 --- a/hasura/migrations/1612810451283_update_permission_user_public_table_payments/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612810451283_update_permission_user_public_table_payments/up.yaml b/hasura/migrations/1612810451283_update_permission_user_public_table_payments/up.yaml deleted file mode 100644 index 6d40dd054..000000000 --- a/hasura/migrations/1612810451283_update_permission_user_public_table_payments/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: payments - schema: public - type: drop_update_permission -- args: - permission: - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: payments - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1446f80b1..000000000 --- a/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index a1edd15a6..000000000 --- a/hasura/migrations/1612812065763_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index eac2bb100..000000000 --- a/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index ba019ac4c..000000000 --- a/hasura/migrations/1612812077482_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5dbd57336..000000000 --- a/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_closed - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 470a9347b..000000000 --- a/hasura/migrations/1612812086661_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/down.yaml b/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/down.yaml deleted file mode 100644 index b5b754f16..000000000 --- a/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ALTER COLUMN "jobid" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/up.yaml b/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/up.yaml deleted file mode 100644 index 28d5c26bb..000000000 --- a/hasura/migrations/1613085619978_alter_table_public_documents_alter_column_jobid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ALTER COLUMN "jobid" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/down.yaml b/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/down.yaml deleted file mode 100644 index b09719e64..000000000 --- a/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" DROP COLUMN "bodyshopid"; - type: run_sql diff --git a/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/up.yaml b/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/up.yaml deleted file mode 100644 index 85152341e..000000000 --- a/hasura/migrations/1613150010189_alter_table_public_documents_add_column_bodyshopid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ADD COLUMN "bodyshopid" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/down.yaml b/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/down.yaml deleted file mode 100644 index 07341d74f..000000000 --- a/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."documents" drop constraint "documents_bodyshopid_fkey"; - type: run_sql diff --git a/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/up.yaml b/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/up.yaml deleted file mode 100644 index 91df0ee79..000000000 --- a/hasura/migrations/1613150047199_set_fk_public_documents_bodyshopid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."documents" - add constraint "documents_bodyshopid_fkey" - foreign key ("bodyshopid") - references "public"."bodyshops" - ("id") on update cascade on delete cascade; - type: run_sql diff --git a/hasura/migrations/1613150060719_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150060719_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index e7f9555ab..000000000 --- a/hasura/migrations/1613150060719_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613150060719_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150060719_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 0447a1df0..000000000 --- a/hasura/migrations/1613150060719_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613150071924_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150071924_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 791d121c3..000000000 --- a/hasura/migrations/1613150071924_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613150071924_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150071924_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 0853c4b4c..000000000 --- a/hasura/migrations/1613150071924_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613150092386_track_all_relationships/down.yaml b/hasura/migrations/1613150092386_track_all_relationships/down.yaml deleted file mode 100644 index 9c4f51171..000000000 --- a/hasura/migrations/1613150092386_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: documents - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: documents - schema: public - type: drop_relationship diff --git a/hasura/migrations/1613150092386_track_all_relationships/up.yaml b/hasura/migrations/1613150092386_track_all_relationships/up.yaml deleted file mode 100644 index cac5c0502..000000000 --- a/hasura/migrations/1613150092386_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: documents - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: documents - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: documents - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1613150538264_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150538264_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 0447a1df0..000000000 --- a/hasura/migrations/1613150538264_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613150538264_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150538264_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 962ce61af..000000000 --- a/hasura/migrations/1613150538264_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613150584040_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150584040_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 0853c4b4c..000000000 --- a/hasura/migrations/1613150584040_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613150584040_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150584040_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index cb62a4488..000000000 --- a/hasura/migrations/1613150584040_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613150597122_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150597122_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 1d7033e1d..000000000 --- a/hasura/migrations/1613150597122_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_delete_permission -- args: - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1613150597122_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150597122_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 089fb717d..000000000 --- a/hasura/migrations/1613150597122_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_delete_permission -- args: - permission: - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1613150614467_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1613150614467_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index a630e7db8..000000000 --- a/hasura/migrations/1613150614467_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613150614467_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1613150614467_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 1491172bd..000000000 --- a/hasura/migrations/1613150614467_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_update_permission -- args: - permission: - columns: - - extension - - key - - name - - type - - uploaded_by - - created_at - - updated_at - - billid - - bodyshopid - - id - - jobid - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: documents - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/down.yaml b/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/down.yaml deleted file mode 100644 index 2f2ef1652..000000000 --- a/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."parts_orders" rename column "returnfrombill" to "returnfrominvoice"; - type: run_sql diff --git a/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/up.yaml b/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/up.yaml deleted file mode 100644 index 6c46bf94a..000000000 --- a/hasura/migrations/1613443596028_alter_table_public_parts_orders_alter_column_returnfrominvoice/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."parts_orders" rename column "returnfrominvoice" to - "returnfrombill"; - type: run_sql diff --git a/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 88c33a532..000000000 --- a/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 069eb786a..000000000 --- a/hasura/migrations/1613500513684_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index b8a37c4c9..000000000 --- a/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index fcd8afa18..000000000 --- a/hasura/migrations/1613500523633_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 822072290..000000000 --- a/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,44 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - prompt_discount - - state - - street1 - - street2 - - taxid - - terms - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index e94d250ff..000000000 --- a/hasura/migrations/1613500538231_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/down.yaml b/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/down.yaml deleted file mode 100644 index 87abc828f..000000000 --- a/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "terms" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "terms" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/up.yaml b/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/up.yaml deleted file mode 100644 index 9cbf56fa7..000000000 --- a/hasura/migrations/1613500621572_alter_table_public_vendors_drop_column_terms/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "terms" CASCADE; - type: run_sql diff --git a/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/down.yaml b/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/down.yaml deleted file mode 100644 index 74ea86d92..000000000 --- a/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/down.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "prompt_discount" numeric; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "prompt_discount" DROP NOT NULL; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "prompt_discount" SET DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/up.yaml b/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/up.yaml deleted file mode 100644 index 8c5be00ca..000000000 --- a/hasura/migrations/1613500633493_alter_table_public_vendors_drop_column_prompt_discount/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "prompt_discount" CASCADE; - type: run_sql diff --git a/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/down.yaml b/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/down.yaml deleted file mode 100644 index 8154a0719..000000000 --- a/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "taxid" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "taxid" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/up.yaml b/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/up.yaml deleted file mode 100644 index 2b8722c09..000000000 --- a/hasura/migrations/1613500643470_alter_table_public_vendors_drop_column_taxid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "taxid" CASCADE; - type: run_sql diff --git a/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/down.yaml b/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/down.yaml deleted file mode 100644 index 1b64a574a..000000000 --- a/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."billlines" drop constraint "billlines_joblineid_fkey"; - type: run_sql diff --git a/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/up.yaml b/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/up.yaml deleted file mode 100644 index db6cd3d58..000000000 --- a/hasura/migrations/1613512698224_set_fk_public_billlines_joblineid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."billlines" - add constraint "billlines_joblineid_fkey" - foreign key ("joblineid") - references "public"."joblines" - ("id") on update restrict on delete set null; - type: run_sql diff --git a/hasura/migrations/1613512720454_track_all_relationships/down.yaml b/hasura/migrations/1613512720454_track_all_relationships/down.yaml deleted file mode 100644 index 781f757d6..000000000 --- a/hasura/migrations/1613512720454_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: billlines - table: - name: joblines - schema: public - type: drop_relationship -- args: - relationship: jobline - table: - name: billlines - schema: public - type: drop_relationship diff --git a/hasura/migrations/1613512720454_track_all_relationships/up.yaml b/hasura/migrations/1613512720454_track_all_relationships/up.yaml deleted file mode 100644 index 11235a313..000000000 --- a/hasura/migrations/1613512720454_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: billlines - table: - name: joblines - schema: public - using: - foreign_key_constraint_on: - column: joblineid - table: - name: billlines - schema: public - type: create_array_relationship -- args: - name: jobline - table: - name: billlines - schema: public - using: - foreign_key_constraint_on: joblineid - type: create_object_relationship diff --git a/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/down.yaml b/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/down.yaml deleted file mode 100644 index 1c80eb003..000000000 --- a/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_payment_types"; - type: run_sql diff --git a/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/up.yaml b/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/up.yaml deleted file mode 100644 index 08be5ef20..000000000 --- a/hasura/migrations/1613528228078_alter_table_public_bodyshops_add_column_md_payment_types/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_payment_types" jsonb NOT - NULL DEFAULT jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 8ec0d692f..000000000 --- a/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 59496b04f..000000000 --- a/hasura/migrations/1613528238258_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 69cb0c83d..000000000 --- a/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index dfd06b55c..000000000 --- a/hasura/migrations/1613528247057_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613752488707_run_sql_migration/down.yaml b/hasura/migrations/1613752488707_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1613752488707_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1613752488707_run_sql_migration/up.yaml b/hasura/migrations/1613752488707_run_sql_migration/up.yaml deleted file mode 100644 index 7d5a7c5c9..000000000 --- a/hasura/migrations/1613752488707_run_sql_migration/up.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_bills(search text)\n RETURNS SETOF - bills\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from bills ;\n else \n return query SELECT\n - \ *\nFROM\n bills, vendors\nWHERE\nbills.vendorid= vendors.id and \n (search - <% (invoice_number)\n OR\n search <% (name)\n )\n \n ;\n end if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1613752680367_run_sql_migration/down.yaml b/hasura/migrations/1613752680367_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1613752680367_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1613752680367_run_sql_migration/up.yaml b/hasura/migrations/1613752680367_run_sql_migration/up.yaml deleted file mode 100644 index d550d7249..000000000 --- a/hasura/migrations/1613752680367_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_bills(search text)\n RETURNS SETOF - bills\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n if search = '' - then\n return query select * from bills ;\n else \n return query SELECT\n - \ bills.*\nFROM\n bills, vendors\nWHERE\nbills.vendorid= vendors.id and \n - \ (search <% (invoice_number)\n OR\n search <% (name)\n )\n \n ;\n end - if;\n\n\tEND\n$function$;" - type: run_sql diff --git a/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/down.yaml b/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/down.yaml deleted file mode 100644 index 064eeee63..000000000 --- a/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "voided"; - type: run_sql diff --git a/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/up.yaml b/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/up.yaml deleted file mode 100644 index 311db9a1a..000000000 --- a/hasura/migrations/1613753847629_alter_table_public_jobs_add_column_voided/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "voided" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index a1edd15a6..000000000 --- a/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 0745cc906..000000000 --- a/hasura/migrations/1613754454833_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index ba019ac4c..000000000 --- a/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 7f9701478..000000000 --- a/hasura/migrations/1613754473488_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 470a9347b..000000000 --- a/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,262 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 48d3bf179..000000000 --- a/hasura/migrations/1613754485354_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/down.yaml b/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/down.yaml deleted file mode 100644 index d5200e245..000000000 --- a/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_hour_split"; - type: run_sql diff --git a/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/up.yaml b/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/up.yaml deleted file mode 100644 index a59d85f65..000000000 --- a/hasura/migrations/1613759886229_alter_table_public_bodyshops_add_column_md_hour_split/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_hour_split" jsonb NOT NULL - DEFAULT jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 59496b04f..000000000 --- a/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 86c38d7d9..000000000 --- a/hasura/migrations/1613759910351_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index dfd06b55c..000000000 --- a/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c2b92e402..000000000 --- a/hasura/migrations/1613759921843_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/down.yaml b/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/down.yaml deleted file mode 100644 index dc79d867f..000000000 --- a/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "user"; - type: run_sql diff --git a/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/up.yaml b/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/up.yaml deleted file mode 100644 index 8239c0524..000000000 --- a/hasura/migrations/1613762281912_alter_table_public_messages_add_column_user/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "user" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/down.yaml b/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/down.yaml deleted file mode 100644 index 0e628401b..000000000 --- a/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."messages" rename column "userid" to "user"; - type: run_sql diff --git a/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/up.yaml b/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/up.yaml deleted file mode 100644 index a3989707e..000000000 --- a/hasura/migrations/1613762305531_alter_table_public_messages_alter_column_user/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."messages" rename column "user" to "userid"; - type: run_sql diff --git a/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/down.yaml b/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/down.yaml deleted file mode 100644 index 6b5c1117b..000000000 --- a/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "userid" TYPE uuid; - type: run_sql diff --git a/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/up.yaml b/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/up.yaml deleted file mode 100644 index c9aaedc3a..000000000 --- a/hasura/migrations/1613762357382_alter_table_public_messages_alter_column_userid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "userid" TYPE text; - type: run_sql diff --git a/hasura/migrations/1613762365032_set_fk_public_messages_userid/down.yaml b/hasura/migrations/1613762365032_set_fk_public_messages_userid/down.yaml deleted file mode 100644 index 95736bac0..000000000 --- a/hasura/migrations/1613762365032_set_fk_public_messages_userid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."messages" drop constraint "messages_userid_fkey"; - type: run_sql diff --git a/hasura/migrations/1613762365032_set_fk_public_messages_userid/up.yaml b/hasura/migrations/1613762365032_set_fk_public_messages_userid/up.yaml deleted file mode 100644 index e1310ad73..000000000 --- a/hasura/migrations/1613762365032_set_fk_public_messages_userid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."messages" - add constraint "messages_userid_fkey" - foreign key ("userid") - references "public"."users" - ("email") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1613762380479_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613762380479_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index d6c6a706f..000000000 --- a/hasura/migrations/1613762380479_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - msid - - conversationid - - text - - image - - image_path - - isoutbound - - status - - read - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613762380479_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613762380479_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 81a526283..000000000 --- a/hasura/migrations/1613762380479_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613762388836_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613762388836_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 779d52c21..000000000 --- a/hasura/migrations/1613762388836_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613762388836_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613762388836_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index e0238e6f8..000000000 --- a/hasura/migrations/1613762388836_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613767928898_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613767928898_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 81a526283..000000000 --- a/hasura/migrations/1613767928898_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613767928898_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613767928898_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 043c11b36..000000000 --- a/hasura/migrations/1613767928898_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613767944643_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613767944643_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index e0238e6f8..000000000 --- a/hasura/migrations/1613767944643_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613767944643_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613767944643_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index ae24478b6..000000000 --- a/hasura/migrations/1613767944643_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613767953059_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613767953059_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 35bc9ab52..000000000 --- a/hasura/migrations/1613767953059_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - image - - isoutbound - - read - - image_path - - msid - - status - - text - - created_at - - updated_at - - conversationid - - id - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613767953059_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613767953059_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 2cde6b1c2..000000000 --- a/hasura/migrations/1613767953059_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/down.yaml b/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/down.yaml deleted file mode 100644 index 155db26b8..000000000 --- a/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "image_path" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ALTER COLUMN "image_path" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/up.yaml b/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/up.yaml deleted file mode 100644 index 67f6e217d..000000000 --- a/hasura/migrations/1613767963376_alter_table_public_messages_drop_column_image_path/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "image_path" CASCADE; - type: run_sql diff --git a/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/down.yaml b/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/down.yaml deleted file mode 100644 index 35e0068af..000000000 --- a/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" DROP COLUMN "image_path"; - type: run_sql diff --git a/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/up.yaml b/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/up.yaml deleted file mode 100644 index 335dd8063..000000000 --- a/hasura/migrations/1613767994173_alter_table_public_messages_add_column_image_path/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."messages" ADD COLUMN "image_path" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1613768005234_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613768005234_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 043c11b36..000000000 --- a/hasura/migrations/1613768005234_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613768005234_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613768005234_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 81a526283..000000000 --- a/hasura/migrations/1613768005234_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_insert_permission -- args: - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - set: {} - role: user - table: - name: messages - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1613768012873_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613768012873_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index ae24478b6..000000000 --- a/hasura/migrations/1613768012873_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613768012873_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613768012873_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index e0238e6f8..000000000 --- a/hasura/migrations/1613768012873_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - computed_fields: [] - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: messages - schema: public - type: create_select_permission diff --git a/hasura/migrations/1613768023989_update_permission_user_public_table_messages/down.yaml b/hasura/migrations/1613768023989_update_permission_user_public_table_messages/down.yaml deleted file mode 100644 index 2cde6b1c2..000000000 --- a/hasura/migrations/1613768023989_update_permission_user_public_table_messages/down.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - conversationid - - created_at - - id - - image - - isoutbound - - msid - - read - - status - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613768023989_update_permission_user_public_table_messages/up.yaml b/hasura/migrations/1613768023989_update_permission_user_public_table_messages/up.yaml deleted file mode 100644 index 229ae219a..000000000 --- a/hasura/migrations/1613768023989_update_permission_user_public_table_messages/up.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- args: - role: user - table: - name: messages - schema: public - type: drop_update_permission -- args: - permission: - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: messages - schema: public - type: create_update_permission diff --git a/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/down.yaml b/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/down.yaml deleted file mode 100644 index 7e2c379bf..000000000 --- a/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "autohouseid"; - type: run_sql diff --git a/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/up.yaml b/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/up.yaml deleted file mode 100644 index b710cc316..000000000 --- a/hasura/migrations/1613772179401_alter_table_public_bodyshops_add_column_autohouseid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "autohouseid" text NULL UNIQUE; - type: run_sql diff --git a/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index 4404c8657..000000000 --- a/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 7e1690469..000000000 --- a/hasura/migrations/1614016458508_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614050626219_track_all_relationships/down.yaml b/hasura/migrations/1614050626219_track_all_relationships/down.yaml deleted file mode 100644 index ab2833ddb..000000000 --- a/hasura/migrations/1614050626219_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: messages - table: - name: users - schema: public - type: drop_relationship -- args: - relationship: user - table: - name: messages - schema: public - type: drop_relationship diff --git a/hasura/migrations/1614050626219_track_all_relationships/up.yaml b/hasura/migrations/1614050626219_track_all_relationships/up.yaml deleted file mode 100644 index f8bb9712b..000000000 --- a/hasura/migrations/1614050626219_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: messages - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: userid - table: - name: messages - schema: public - type: create_array_relationship -- args: - name: user - table: - name: messages - schema: public - using: - foreign_key_constraint_on: userid - type: create_object_relationship diff --git a/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/down.yaml b/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/down.yaml deleted file mode 100644 index c57bd1fb0..000000000 --- a/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_order_lines" drop constraint "parts_order_lines_job_line_id_fkey", - add constraint "parts_order_lines_job_line_id_fkey" - foreign key ("job_line_id") - references "public"."joblines" - ("id") - on update restrict - on delete set null; - type: run_sql diff --git a/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/up.yaml b/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/up.yaml deleted file mode 100644 index f7f60ce95..000000000 --- a/hasura/migrations/1614050650688_set_fk_public_parts_order_lines_job_line_id/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_order_lines" drop constraint "parts_order_lines_job_line_id_fkey", - add constraint "parts_order_lines_job_line_id_fkey" - foreign key ("job_line_id") - references "public"."joblines" - ("id") on update cascade on delete cascade; - type: run_sql diff --git a/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/down.yaml b/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/down.yaml deleted file mode 100644 index 6cb4be174..000000000 --- a/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_orders" drop constraint "parts_orders_vendorid_fkey", - add constraint "parts_order_vendorid_fkey" - foreign key ("vendorid") - references "public"."vendors" - ("id") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/up.yaml b/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/up.yaml deleted file mode 100644 index 98753bbf6..000000000 --- a/hasura/migrations/1614050682025_set_fk_public_parts_orders_vendorid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_orders" drop constraint "parts_order_vendorid_fkey", - add constraint "parts_orders_vendorid_fkey" - foreign key ("vendorid") - references "public"."vendors" - ("id") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/down.yaml b/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/down.yaml deleted file mode 100644 index e0ab89739..000000000 --- a/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_orders" drop constraint "parts_orders_returnfrombill_fkey", - add constraint "parts_orders_returnfrominvoice_fkey" - foreign key ("returnfrombill") - references "public"."bills" - ("id") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/up.yaml b/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/up.yaml deleted file mode 100644 index 1f662fe6a..000000000 --- a/hasura/migrations/1614050692948_set_fk_public_parts_orders_returnfrombill/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."parts_orders" drop constraint "parts_orders_returnfrominvoice_fkey", - add constraint "parts_orders_returnfrombill_fkey" - foreign key ("returnfrombill") - references "public"."bills" - ("id") on update set null on delete set null; - type: run_sql diff --git a/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/down.yaml b/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/down.yaml deleted file mode 100644 index 49ecde702..000000000 --- a/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD CONSTRAINT "bodyshops_messagingservicesid_key" - UNIQUE ("messagingservicesid"); - type: run_sql diff --git a/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/up.yaml b/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/up.yaml deleted file mode 100644 index fc7304595..000000000 --- a/hasura/migrations/1614051586531_alter_table_public_bodyshops_alter_column_messagingservicesid/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP CONSTRAINT "bodyshops_messagingservicesid_key"; - type: run_sql diff --git a/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 86c38d7d9..000000000 --- a/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f66bbb1e0..000000000 --- a/hasura/migrations/1614116269234_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c2b92e402..000000000 --- a/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f447c3b3e..000000000 --- a/hasura/migrations/1614116293965_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/down.yaml b/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/down.yaml deleted file mode 100644 index a73103eef..000000000 --- a/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "logo_img_path" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ALTER COLUMN "logo_img_path" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/up.yaml b/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/up.yaml deleted file mode 100644 index fc0535574..000000000 --- a/hasura/migrations/1614116312792_alter_table_public_bodyshops_drop_column_logo_img_path/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "logo_img_path" CASCADE; - type: run_sql diff --git a/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml b/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml deleted file mode 100644 index 732d3807f..000000000 --- a/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "logo_img_path"; - type: run_sql diff --git a/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml b/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml deleted file mode 100644 index 5e0df8c32..000000000 --- a/hasura/migrations/1614116330002_alter_table_public_bodyshops_add_column_logo_img_path/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "logo_img_path" jsonb NULL DEFAULT - jsonb_build_object(); - type: run_sql diff --git a/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f66bbb1e0..000000000 --- a/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 86c38d7d9..000000000 --- a/hasura/migrations/1614116341104_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f447c3b3e..000000000 --- a/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index c2b92e402..000000000 --- a/hasura/migrations/1614116352720_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/down.yaml b/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/down.yaml deleted file mode 100644 index 871fce3cb..000000000 --- a/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlexpiry" SET NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/up.yaml b/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/up.yaml deleted file mode 100644 index ffb9a1b6d..000000000 --- a/hasura/migrations/1614119149733_alter_table_public_cccontracts_alter_column_driver_dlexpiry/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlexpiry" DROP NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/down.yaml b/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/down.yaml deleted file mode 100644 index 99d2ab737..000000000 --- a/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlnumber" SET NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/up.yaml b/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/up.yaml deleted file mode 100644 index 215836772..000000000 --- a/hasura/migrations/1614119154603_alter_table_public_cccontracts_alter_column_driver_dlnumber/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlnumber" DROP NOT - NULL; - type: run_sql diff --git a/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/down.yaml b/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/down.yaml deleted file mode 100644 index ffa45a40b..000000000 --- a/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_addr1" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/up.yaml b/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/up.yaml deleted file mode 100644 index 5858ac217..000000000 --- a/hasura/migrations/1614119265336_alter_table_public_cccontracts_alter_column_driver_addr1/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_addr1" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/down.yaml b/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/down.yaml deleted file mode 100644 index 4557f1288..000000000 --- a/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_city" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/up.yaml b/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/up.yaml deleted file mode 100644 index ead788dc6..000000000 --- a/hasura/migrations/1614119270671_alter_table_public_cccontracts_alter_column_driver_city/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_city" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/down.yaml b/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/down.yaml deleted file mode 100644 index a9cadf9b0..000000000 --- a/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_state" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/up.yaml b/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/up.yaml deleted file mode 100644 index 844d7d105..000000000 --- a/hasura/migrations/1614119273681_alter_table_public_cccontracts_alter_column_driver_state/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_state" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/down.yaml b/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/down.yaml deleted file mode 100644 index 6c5534b0a..000000000 --- a/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_zip" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/up.yaml b/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/up.yaml deleted file mode 100644 index 82fe7fe99..000000000 --- a/hasura/migrations/1614119277215_alter_table_public_cccontracts_alter_column_driver_zip/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_zip" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/down.yaml b/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/down.yaml deleted file mode 100644 index ac2562ca4..000000000 --- a/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_ph1" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/up.yaml b/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/up.yaml deleted file mode 100644 index 424f45250..000000000 --- a/hasura/migrations/1614119281754_alter_table_public_cccontracts_alter_column_driver_ph1/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_ph1" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/down.yaml b/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/down.yaml deleted file mode 100644 index 3985cfd5a..000000000 --- a/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dob" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/up.yaml b/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/up.yaml deleted file mode 100644 index 9f8ae5e3d..000000000 --- a/hasura/migrations/1614119286706_alter_table_public_cccontracts_alter_column_driver_dob/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dob" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614196246406_run_sql_migration/down.yaml b/hasura/migrations/1614196246406_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1614196246406_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1614196246406_run_sql_migration/up.yaml b/hasura/migrations/1614196246406_run_sql_migration/up.yaml deleted file mode 100644 index a13e54fda..000000000 --- a/hasura/migrations/1614196246406_run_sql_migration/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_payment_number()\n RETURNS trigger\n - LANGUAGE plpgsql\nAS $function$\nBEGIN\n\tIF (new.paymentnum IS NULL\n\t\tOR - new.paymentnum = 'pnew') THEN\n\tUPDATE\n\t\tcounters\n\tSET\n\t\tcount = count - + 1\n\tWHERE\n\t\tshopid = (\n\t\t\tSELECT\n\t\t\t\tshopid\n\t\t\tFROM\n\t\t\t\tjobs\n\t\t\tWHERE\n\t\t\t\tjobs.id - = new.jobid)\n\t\t\tAND countertype = 'paymentnum'\n\t\tRETURNING\n\t\t\tconcat(prefix, - count) INTO new.paymentnum;\nEND IF;\n\tRETURN NEW;\nEND;\n$function$;" - type: run_sql diff --git a/hasura/migrations/1614196402453_run_sql_migration/down.yaml b/hasura/migrations/1614196402453_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1614196402453_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1614196402453_run_sql_migration/up.yaml b/hasura/migrations/1614196402453_run_sql_migration/up.yaml deleted file mode 100644 index 2c935c657..000000000 --- a/hasura/migrations/1614196402453_run_sql_migration/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.assign_ibh_number()\n RETURNS trigger\n - LANGUAGE plpgsql\nAS $function$\n begin\n IF NEW.isinhouse = true - and (new.invoice_number is null or new.invoice_number = 'ih') THEN\n UPDATE - counters\n\tSET count = count + 1\n\twhere shopid = (select shopid from jobs - where jobs.id = new.jobid)\n\tAND countertype = 'ihbnum'\n\tRETURNING concat(prefix,count) - into new.invoice_number;\n\n END IF;\n RETURN NEW;\n END;\n - \ $function$;" - type: run_sql diff --git a/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/down.yaml b/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/down.yaml deleted file mode 100644 index a31bf8b01..000000000 --- a/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" ADD COLUMN "cost_center" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" ALTER COLUMN "cost_center" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/up.yaml b/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/up.yaml deleted file mode 100644 index f130d21e1..000000000 --- a/hasura/migrations/1614210624328_alter_table_public_employees_drop_column_cost_center/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."employees" DROP COLUMN "cost_center" CASCADE; - type: run_sql diff --git a/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/down.yaml b/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/down.yaml deleted file mode 100644 index 0235162e4..000000000 --- a/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."job_conversations" drop constraint "job_conversations_jobid_fkey", - add constraint "job_conversations_jobid_fkey" - foreign key ("jobid") - references "public"."jobs" - ("id") - on update restrict - on delete restrict; - type: run_sql diff --git a/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/up.yaml b/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/up.yaml deleted file mode 100644 index 19d5756a9..000000000 --- a/hasura/migrations/1614214431477_set_fk_public_job_conversations_jobid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."job_conversations" drop constraint "job_conversations_jobid_fkey", - add constraint "job_conversations_jobid_fkey" - foreign key ("jobid") - references "public"."jobs" - ("id") on update cascade on delete cascade; - type: run_sql diff --git a/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/down.yaml b/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/down.yaml deleted file mode 100644 index 134ea38a4..000000000 --- a/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "date_closed" timestamptz; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "date_closed" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/up.yaml b/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/up.yaml deleted file mode 100644 index 689cdc6d8..000000000 --- a/hasura/migrations/1614621241242_alter_table_public_jobs_drop_column_date_closed/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "date_closed" CASCADE; - type: run_sql diff --git a/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/down.yaml b/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/down.yaml deleted file mode 100644 index 18e5a5b10..000000000 --- a/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "towin"; - type: run_sql diff --git a/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/up.yaml b/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/up.yaml deleted file mode 100644 index 1e025e9c0..000000000 --- a/hasura/migrations/1614714003541_alter_table_public_jobs_add_column_towin/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "towin" boolean NOT NULL DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/down.yaml b/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/down.yaml deleted file mode 100644 index f7bb965d0..000000000 --- a/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "driveable"; - type: run_sql diff --git a/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/up.yaml b/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/up.yaml deleted file mode 100644 index 9177eab54..000000000 --- a/hasura/migrations/1614714082560_alter_table_public_jobs_add_column_driveable/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "driveable" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 0745cc906..000000000 --- a/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2dd146684..000000000 --- a/hasura/migrations/1614714096099_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,265 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 7f9701478..000000000 --- a/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,264 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1c22fc08b..000000000 --- a/hasura/migrations/1614714109455_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 48d3bf179..000000000 --- a/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,263 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 47824ffa0..000000000 --- a/hasura/migrations/1614714121199_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,265 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/down.yaml b/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/down.yaml deleted file mode 100644 index 8d45f0f9f..000000000 --- a/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ca_bc_pvrt"; - type: run_sql diff --git a/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/up.yaml b/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/up.yaml deleted file mode 100644 index d6f8590ed..000000000 --- a/hasura/migrations/1614809695685_alter_table_public_jobs_add_column_ca_bc_pvrt/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ca_bc_pvrt" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 2dd146684..000000000 --- a/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,265 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 5b060e4ad..000000000 --- a/hasura/migrations/1614809720949_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1c22fc08b..000000000 --- a/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 787406311..000000000 --- a/hasura/migrations/1614809744257_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 47824ffa0..000000000 --- a/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,265 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 967533024..000000000 --- a/hasura/migrations/1614809755471_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/down.yaml b/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/down.yaml deleted file mode 100644 index 8e6d40455..000000000 --- a/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."notes" DROP COLUMN "audit"; - type: run_sql diff --git a/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/up.yaml b/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/up.yaml deleted file mode 100644 index 8aee68fa5..000000000 --- a/hasura/migrations/1615242738164_alter_table_public_notes_add_column_audit/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."notes" ADD COLUMN "audit" boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1615242747543_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1615242747543_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index eb820b0cb..000000000 --- a/hasura/migrations/1615242747543_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - text - - created_by - - critical - - private - set: {} - role: user - table: - name: notes - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1615242747543_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1615242747543_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index 8189991c4..000000000 --- a/hasura/migrations/1615242747543_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_insert_permission -- args: - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - set: {} - role: user - table: - name: notes - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1615242754507_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1615242754507_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index 172fe5e95..000000000 --- a/hasura/migrations/1615242754507_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - critical - - private - - created_by - - text - - created_at - - updated_at - - id - - jobid - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: notes - schema: public - type: create_select_permission diff --git a/hasura/migrations/1615242754507_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1615242754507_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index ad9c74976..000000000 --- a/hasura/migrations/1615242754507_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,35 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - computed_fields: [] - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: notes - schema: public - type: create_select_permission diff --git a/hasura/migrations/1615242757671_update_permission_user_public_table_notes/down.yaml b/hasura/migrations/1615242757671_update_permission_user_public_table_notes/down.yaml deleted file mode 100644 index 8409a99bc..000000000 --- a/hasura/migrations/1615242757671_update_permission_user_public_table_notes/down.yaml +++ /dev/null @@ -1,33 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_update_permission -- args: - permission: - columns: - - critical - - private - - created_by - - text - - created_at - - updated_at - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: notes - schema: public - type: create_update_permission diff --git a/hasura/migrations/1615242757671_update_permission_user_public_table_notes/up.yaml b/hasura/migrations/1615242757671_update_permission_user_public_table_notes/up.yaml deleted file mode 100644 index dbf0e90b1..000000000 --- a/hasura/migrations/1615242757671_update_permission_user_public_table_notes/up.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- args: - role: user - table: - name: notes - schema: public - type: drop_update_permission -- args: - permission: - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: notes - schema: public - type: create_update_permission diff --git a/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index c2b92e402..000000000 --- a/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f128e0ddf..000000000 --- a/hasura/migrations/1615315332482_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 86c38d7d9..000000000 --- a/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5a5ac5eec..000000000 --- a/hasura/migrations/1615315785216_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/down.yaml b/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/down.yaml deleted file mode 100644 index caca3a404..000000000 --- a/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "sub_status"; - type: run_sql diff --git a/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/up.yaml b/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/up.yaml deleted file mode 100644 index 7dd40c290..000000000 --- a/hasura/migrations/1615929091635_alter_table_public_bodyshops_add_column_sub_status/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "sub_status" text NOT NULL DEFAULT - 'active'; - type: run_sql diff --git a/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 5a5ac5eec..000000000 --- a/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,78 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 7541894cb..000000000 --- a/hasura/migrations/1615929109833_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/down.yaml b/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/down.yaml deleted file mode 100644 index 4846b0d67..000000000 --- a/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" DROP COLUMN "cost"; - type: run_sql diff --git a/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/up.yaml b/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/up.yaml deleted file mode 100644 index b6c03a222..000000000 --- a/hasura/migrations/1616085067839_alter_table_public_parts_order_lines_add_column_cost/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."parts_order_lines" ADD COLUMN "cost" numeric NULL; - type: run_sql diff --git a/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 03a2bc485..000000000 --- a/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 84d338991..000000000 --- a/hasura/migrations/1616085078098_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_insert_permission -- args: - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 9d5d7c6a7..000000000 --- a/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 1561ce9e7..000000000 --- a/hasura/migrations/1616085088148_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - computed_fields: [] - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: parts_order_lines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/down.yaml b/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/down.yaml deleted file mode 100644 index 1277d7f95..000000000 --- a/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/up.yaml b/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/up.yaml deleted file mode 100644 index 16b49ed8b..000000000 --- a/hasura/migrations/1616085543945_update_permission_user_public_table_parts_order_lines/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: parts_order_lines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: parts_order_lines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/down.yaml b/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/down.yaml deleted file mode 100644 index 985c6b070..000000000 --- a/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" DROP COLUMN "active"; - type: run_sql diff --git a/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/up.yaml b/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/up.yaml deleted file mode 100644 index d42900f0e..000000000 --- a/hasura/migrations/1616459494455_alter_table_public_vendors_add_column_active/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ADD COLUMN "active" boolean NOT NULL DEFAULT - true; - type: run_sql diff --git a/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 069eb786a..000000000 --- a/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 07671753b..000000000 --- a/hasura/migrations/1616459505404_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - set: {} - role: user - table: - name: vendors - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index fcd8afa18..000000000 --- a/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 944fccf8b..000000000 --- a/hasura/migrations/1616459520408_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index e94d250ff..000000000 --- a/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,41 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index a586fd5b7..000000000 --- a/hasura/migrations/1616459530975_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: vendors - schema: public - type: create_update_permission diff --git a/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/down.yaml b/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/down.yaml deleted file mode 100644 index c5d2f8246..000000000 --- a/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."billlines" DROP COLUMN "lbr_adjustment"; - type: run_sql diff --git a/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/up.yaml b/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/up.yaml deleted file mode 100644 index ebe3a00bd..000000000 --- a/hasura/migrations/1616690848634_alter_table_public_billlines_add_column_lbr_adjustment/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."billlines" ADD COLUMN "lbr_adjustment" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index 283c766e9..000000000 --- a/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_insert_permission -- args: - permission: - check: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - set: {} - role: user - table: - name: billlines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 507c967e2..000000000 --- a/hasura/migrations/1616690903375_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_insert_permission -- args: - permission: - check: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - set: {} - role: user - table: - name: billlines - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index 7e1690469..000000000 --- a/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 0d2daa4d5..000000000 --- a/hasura/migrations/1616690912315_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - computed_fields: [] - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: billlines - schema: public - type: create_select_permission diff --git a/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/down.yaml b/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/down.yaml deleted file mode 100644 index a3942892a..000000000 --- a/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/down.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: billlines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/up.yaml b/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/up.yaml deleted file mode 100644 index 95a79d99a..000000000 --- a/hasura/migrations/1616690919696_update_permission_user_public_table_billlines/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: billlines - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: billlines - schema: public - type: create_update_permission diff --git a/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/down.yaml b/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/down.yaml deleted file mode 100644 index 8e3cf3d99..000000000 --- a/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" DROP COLUMN "size"; - type: run_sql diff --git a/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/up.yaml b/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/up.yaml deleted file mode 100644 index 063c6501f..000000000 --- a/hasura/migrations/1617658602531_alter_table_public_documents_add_column_size/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."documents" ADD COLUMN "size" integer NOT NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1617658618070_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1617658618070_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 962ce61af..000000000 --- a/hasura/migrations/1617658618070_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1617658618070_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1617658618070_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 0754a089a..000000000 --- a/hasura/migrations/1617658618070_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_insert_permission -- args: - permission: - check: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - set: {} - role: user - table: - name: documents - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1617658628914_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1617658628914_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index cb62a4488..000000000 --- a/hasura/migrations/1617658628914_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617658628914_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1617658628914_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 9c91df702..000000000 --- a/hasura/migrations/1617658628914_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617659090899_update_permission_user_public_table_documents/down.yaml b/hasura/migrations/1617659090899_update_permission_user_public_table_documents/down.yaml deleted file mode 100644 index 9c91df702..000000000 --- a/hasura/migrations/1617659090899_update_permission_user_public_table_documents/down.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617659090899_update_permission_user_public_table_documents/up.yaml b/hasura/migrations/1617659090899_update_permission_user_public_table_documents/up.yaml deleted file mode 100644 index 2f87c23b2..000000000 --- a/hasura/migrations/1617659090899_update_permission_user_public_table_documents/up.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- args: - role: user - table: - name: documents - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - computed_fields: [] - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: documents - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/down.yaml b/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/down.yaml deleted file mode 100644 index 5be09670f..000000000 --- a/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "jobsizelimit"; - type: run_sql diff --git a/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/up.yaml b/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/up.yaml deleted file mode 100644 index 2447cc1b7..000000000 --- a/hasura/migrations/1617659647022_alter_table_public_bodyshops_add_column_jobsizelimit/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "jobsizelimit" integer NOT NULL - DEFAULT 26214400; - type: run_sql diff --git a/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 7541894cb..000000000 --- a/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,79 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 5a55ed627..000000000 --- a/hasura/migrations/1617659660451_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617990757965_update_permission_user_public_table_employees/down.yaml b/hasura/migrations/1617990757965_update_permission_user_public_table_employees/down.yaml deleted file mode 100644 index dabd89bba..000000000 --- a/hasura/migrations/1617990757965_update_permission_user_public_table_employees/down.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617990757965_update_permission_user_public_table_employees/up.yaml b/hasura/migrations/1617990757965_update_permission_user_public_table_employees/up.yaml deleted file mode 100644 index 9576da9bf..000000000 --- a/hasura/migrations/1617990757965_update_permission_user_public_table_employees/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - role: user - table: - name: employees - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: employees - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/down.yaml b/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/down.yaml deleted file mode 100644 index 944fccf8b..000000000 --- a/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/up.yaml b/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/up.yaml deleted file mode 100644 index 98b1676d8..000000000 --- a/hasura/migrations/1617990875647_update_permission_user_public_table_vendors/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: vendors - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: vendors - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/down.yaml b/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/down.yaml deleted file mode 100644 index b0294a184..000000000 --- a/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/down.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: courtesycars - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/up.yaml b/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/up.yaml deleted file mode 100644 index 53d407cf1..000000000 --- a/hasura/migrations/1618348212289_update_permission_user_public_table_courtesycars/up.yaml +++ /dev/null @@ -1,50 +0,0 @@ -- args: - role: user - table: - name: courtesycars - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: courtesycars - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/down.yaml b/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/down.yaml deleted file mode 100644 index 619ae9c28..000000000 --- a/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" DROP COLUMN "damage"; - type: run_sql diff --git a/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/up.yaml b/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/up.yaml deleted file mode 100644 index b1fe28b48..000000000 --- a/hasura/migrations/1618352856487_alter_table_public_cccontracts_add_column_damage/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ADD COLUMN "damage" text NULL; - type: run_sql diff --git a/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 17c8bdd8c..000000000 --- a/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 4b02d601b..000000000 --- a/hasura/migrations/1618352867949_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_insert_permission -- args: - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index e82037eb2..000000000 --- a/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index 4740cae6d..000000000 --- a/hasura/migrations/1618352878048_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - computed_fields: [] - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: cccontracts - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/down.yaml b/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/down.yaml deleted file mode 100644 index 36fe09f7d..000000000 --- a/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/down.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/up.yaml b/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/up.yaml deleted file mode 100644 index b6334b94b..000000000 --- a/hasura/migrations/1618352885270_update_permission_user_public_table_cccontracts/up.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- args: - role: user - table: - name: cccontracts - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: cccontracts - schema: public - type: create_update_permission diff --git a/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/down.yaml b/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/down.yaml deleted file mode 100644 index 9f5666fec..000000000 --- a/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlst" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/up.yaml b/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/up.yaml deleted file mode 100644 index f04f0dbcb..000000000 --- a/hasura/migrations/1618353607686_alter_table_public_cccontracts_alter_column_driver_dlst/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."cccontracts" ALTER COLUMN "driver_dlst" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1618357029467_run_sql_migration/down.yaml b/hasura/migrations/1618357029467_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618357029467_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618357029467_run_sql_migration/up.yaml b/hasura/migrations/1618357029467_run_sql_migration/up.yaml deleted file mode 100644 index 96908682e..000000000 --- a/hasura/migrations/1618357029467_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_cccontracts (search text)\n\tRETURNS - SETOF jobs\n\tLANGUAGE plpgsql\n\tSTABLE\n\tAS $function$\nBEGIN\n\tIF search - = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - c;\n\tELSE\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - contracts,\n\t\t\tcourtesycars cars,\n\t\t\tjobs jobs\n\t\tWHERE (jobs.ro_number - ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - jobs.ownr_ln ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_co_nm ILIKE '%' - || search || '%'\n\t\t\tOR contracts.agreementnumber ILIKE '%' || search || - '%'\n\t\t\tOR contracts.driver_fn ILIKE '%' || search || '%'\n\t\t\tOR contracts.driver_ln - ILIKE '%' || search || '%'\n\t\t\tOR cars.fleetnumber ILIKE '%' || search || - '%'\n\t\t\tOR cars.make ILIKE '%' || search || '%'\n\t\t\tOR cars.model ILIKE - '%' || search || '%')\n\t\t\tAND contracts.jobid = jobs.id\n\t\t\tAND contracts.courtesycarid - = cars.id;\n\t\t\t\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_cccontracts - schema: public - type: track_function diff --git a/hasura/migrations/1618357258765_run_sql_migration/down.yaml b/hasura/migrations/1618357258765_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618357258765_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618357258765_run_sql_migration/up.yaml b/hasura/migrations/1618357258765_run_sql_migration/up.yaml deleted file mode 100644 index 98030d938..000000000 --- a/hasura/migrations/1618357258765_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: drop function public.search_cccontracts; - type: run_sql diff --git a/hasura/migrations/1618357269948_run_sql_migration/down.yaml b/hasura/migrations/1618357269948_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618357269948_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618357269948_run_sql_migration/up.yaml b/hasura/migrations/1618357269948_run_sql_migration/up.yaml deleted file mode 100644 index b9a342519..000000000 --- a/hasura/migrations/1618357269948_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_cccontracts(search text)\n RETURNS - SETOF jobs\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF search = - '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - c;\n\tELSE\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\tcourtesycars - cars,\n\t\t\tjobs jobs,\n\t\t\tcccontracts contracts\n\t\t\t\n\t\tWHERE (jobs.ro_number - ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - jobs.ownr_ln ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_co_nm ILIKE '%' - || search || '%'\n\t\t\tOR contracts.agreementnumber ILIKE '%' || search || - '%'\n\t\t\tOR contracts.driver_fn ILIKE '%' || search || '%'\n\t\t\tOR contracts.driver_ln - ILIKE '%' || search || '%'\n\t\t\tOR cars.fleetnumber ILIKE '%' || search || - '%'\n\t\t\tOR cars.make ILIKE '%' || search || '%'\n\t\t\tOR cars.model ILIKE - '%' || search || '%')\n\t\t\tAND contracts.jobid = jobs.id\n\t\t\tAND contracts.courtesycarid - = cars.id;\n\t\t\t\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_cccontracts - schema: public - type: track_function diff --git a/hasura/migrations/1618357338608_run_sql_migration/down.yaml b/hasura/migrations/1618357338608_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618357338608_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618357338608_run_sql_migration/up.yaml b/hasura/migrations/1618357338608_run_sql_migration/up.yaml deleted file mode 100644 index 573cf9bf4..000000000 --- a/hasura/migrations/1618357338608_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_cccontracts;\nCREATE OR REPLACE FUNCTION public.search_cccontracts(search - text)\n RETURNS SETOF cccontracts\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF - search = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - c;\n\tELSE\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\tcourtesycars - cars,\n\t\t\tjobs jobs,\n\t\t\tcccontracts contracts\n\t\t\t\n\t\tWHERE (jobs.ro_number - ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - jobs.ownr_ln ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_co_nm ILIKE '%' - || search || '%'\n\t\t\tOR contracts.agreementnumber ILIKE '%' || search || - '%'\n\t\t\tOR contracts.driver_fn ILIKE '%' || search || '%'\n\t\t\tOR contracts.driver_ln - ILIKE '%' || search || '%'\n\t\t\tOR cars.fleetnumber ILIKE '%' || search || - '%'\n\t\t\tOR cars.make ILIKE '%' || search || '%'\n\t\t\tOR cars.model ILIKE - '%' || search || '%')\n\t\t\tAND contracts.jobid = jobs.id\n\t\t\tAND contracts.courtesycarid - = cars.id;\n\t\t\t\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_cccontracts - schema: public - type: track_function diff --git a/hasura/migrations/1618358104427_run_sql_migration/down.yaml b/hasura/migrations/1618358104427_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618358104427_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618358104427_run_sql_migration/up.yaml b/hasura/migrations/1618358104427_run_sql_migration/up.yaml deleted file mode 100644 index 98030d938..000000000 --- a/hasura/migrations/1618358104427_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: drop function public.search_cccontracts; - type: run_sql diff --git a/hasura/migrations/1618358164400_run_sql_migration/down.yaml b/hasura/migrations/1618358164400_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618358164400_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618358164400_run_sql_migration/up.yaml b/hasura/migrations/1618358164400_run_sql_migration/up.yaml deleted file mode 100644 index 0aa518ce0..000000000 --- a/hasura/migrations/1618358164400_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_cccontracts(search text)\n RETURNS - SETOF cccontracts\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF search - = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - c;\n\tELSE\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\tcourtesycars - cars,\n\t\t\tjobs jobs,\n\t\t\tcccontracts contracts\n\t\t\t\n\t\tWHERE (jobs.ro_number - ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - jobs.ownr_ln ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_co_nm ILIKE '%' - || search || '%'\n\t\t\tOR (cast(contracts.agreementnumber as text)) ILIKE '%' - || search || '%'\n\t\t\tOR contracts.driver_fn ILIKE '%' || search || '%'\n\t\t\tOR - contracts.driver_ln ILIKE '%' || search || '%'\n\t\t\tOR cars.fleetnumber ILIKE - '%' || search || '%'\n\t\t\tOR cars.make ILIKE '%' || search || '%'\n\t\t\tOR - cars.model ILIKE '%' || search || '%')\n\t\t\tAND contracts.jobid = jobs.id\n\t\t\tAND - contracts.courtesycarid = cars.id;\n\t\t\t\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_cccontracts - schema: public - type: track_function diff --git a/hasura/migrations/1618358356468_run_sql_migration/down.yaml b/hasura/migrations/1618358356468_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618358356468_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618358356468_run_sql_migration/up.yaml b/hasura/migrations/1618358356468_run_sql_migration/up.yaml deleted file mode 100644 index 7074e7b31..000000000 --- a/hasura/migrations/1618358356468_run_sql_migration/up.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - cascade: true - read_only: false - sql: "DROP FUNCTION public.search_cccontracts;\n\nCREATE OR REPLACE FUNCTION public.search_cccontracts(search - text)\n RETURNS SETOF cccontracts\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF - search = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tcccontracts - c;\n\tELSE\n\t\tRETURN query\n\t\tSELECT\n\t\t\tcontracts.*\n\t\tFROM\n\t\tcourtesycars - cars,\n\t\t\tjobs jobs,\n\t\t\tcccontracts contracts\n\t\t\t\n\t\tWHERE (jobs.ro_number - ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_fn ILIKE '%' || search || '%'\n\t\t\tOR - jobs.ownr_ln ILIKE '%' || search || '%'\n\t\t\tOR jobs.ownr_co_nm ILIKE '%' - || search || '%'\n\t\t\tOR (cast(contracts.agreementnumber as text)) ILIKE '%' - || search || '%'\n\t\t\tOR contracts.driver_fn ILIKE '%' || search || '%'\n\t\t\tOR - contracts.driver_ln ILIKE '%' || search || '%'\n\t\t\tOR cars.fleetnumber ILIKE - '%' || search || '%'\n\t\t\tOR cars.make ILIKE '%' || search || '%'\n\t\t\tOR - cars.model ILIKE '%' || search || '%')\n\t\t\tAND contracts.jobid = jobs.id\n\t\t\tAND - contracts.courtesycarid = cars.id;\n\t\t\t\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_cccontracts - schema: public - type: track_function diff --git a/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/down.yaml b/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/down.yaml deleted file mode 100644 index b1935e892..000000000 --- a/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "md_ccc_rates"; - type: run_sql diff --git a/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/up.yaml b/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/up.yaml deleted file mode 100644 index c501c1a72..000000000 --- a/hasura/migrations/1618421300727_alter_table_public_bodyshops_add_column_md_ccc_rates/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "md_ccc_rates" jsonb NULL DEFAULT - jsonb_build_array(); - type: run_sql diff --git a/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index 5a55ed627..000000000 --- a/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index f687795eb..000000000 --- a/hasura/migrations/1618421315452_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f128e0ddf..000000000 --- a/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,74 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index cfdcd2224..000000000 --- a/hasura/migrations/1618421323654_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1618431549525_run_sql_migration/down.yaml b/hasura/migrations/1618431549525_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618431549525_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618431549525_run_sql_migration/up.yaml b/hasura/migrations/1618431549525_run_sql_migration/up.yaml deleted file mode 100644 index fa7c5de9d..000000000 --- a/hasura/migrations/1618431549525_run_sql_migration/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_payments;\nCREATE OR REPLACE FUNCTION public.search_payments(search - text)\n RETURNS SETOF payments\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if search = '' then\n return query select * from payments ;\n else \n - \ return query SELECT\n payments.*\nFROM\n payments, jobs\nWHERE\npayment.jobid - = jobs.id AND\n(\nsearch <% jobs.ownr_fn OR\nsearch <% jobs.ownr_ln OR\nsearch - <% jobs.ownr_co_nm OR\nsearch <% jobs.ro_number OR\n search <% (payer) OR\n - \ search <% (transactionid) OR\n search <% (memo));\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_payments - schema: public - type: track_function diff --git a/hasura/migrations/1618431624011_run_sql_migration/down.yaml b/hasura/migrations/1618431624011_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618431624011_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618431624011_run_sql_migration/up.yaml b/hasura/migrations/1618431624011_run_sql_migration/up.yaml deleted file mode 100644 index cc7065848..000000000 --- a/hasura/migrations/1618431624011_run_sql_migration/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_payments;\nCREATE OR REPLACE FUNCTION public.search_payments(search - text)\n RETURNS SETOF payments\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if search = '' then\n return query select * from payments ;\n else \n - \ return query SELECT\n p.*\nFROM\n payments p, jobs j\nWHERE\npayment.jobid - = jobs.id AND\n(\nsearch <% j.ownr_fn OR\nsearch <% j.ownr_ln OR\nsearch <% - j.ownr_co_nm OR\nsearch <% j.ro_number OR\n search <% (p.payer) OR\n search - <% (p.transactionid) OR\n search <% (p.memo));\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_payments - schema: public - type: track_function diff --git a/hasura/migrations/1618431735033_run_sql_migration/down.yaml b/hasura/migrations/1618431735033_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618431735033_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618431735033_run_sql_migration/up.yaml b/hasura/migrations/1618431735033_run_sql_migration/up.yaml deleted file mode 100644 index 9a5f28283..000000000 --- a/hasura/migrations/1618431735033_run_sql_migration/up.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_payments;\nCREATE OR REPLACE FUNCTION public.search_payments(search - text)\n RETURNS SETOF payments\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n - \ if search = '' then\n return query select * from payments ;\n else \n - \ return query SELECT\n p.*\nFROM\n payments p, jobs j\nWHERE\np.jobid = - j.id AND\n(\nsearch <% j.ownr_fn OR\nsearch <% j.ownr_ln OR\nsearch <% j.ownr_co_nm - OR\nsearch <% j.ro_number OR\n search <% (p.payer) OR\n search <% (p.transactionid) - OR\n search <% (p.memo));\n end if;\n\n\tEND\n$function$;" - type: run_sql -- args: - name: search_payments - schema: public - type: track_function diff --git a/hasura/migrations/1618432990073_run_sql_migration/down.yaml b/hasura/migrations/1618432990073_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1618432990073_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1618432990073_run_sql_migration/up.yaml b/hasura/migrations/1618432990073_run_sql_migration/up.yaml deleted file mode 100644 index 80cf12d7c..000000000 --- a/hasura/migrations/1618432990073_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: drop trigger if exists audit_trigger_jobs on jobs; - type: run_sql diff --git a/hasura/migrations/1618965084777_create_table_public_exportlog/down.yaml b/hasura/migrations/1618965084777_create_table_public_exportlog/down.yaml deleted file mode 100644 index b860fbfc2..000000000 --- a/hasura/migrations/1618965084777_create_table_public_exportlog/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."exportlog"; - type: run_sql diff --git a/hasura/migrations/1618965084777_create_table_public_exportlog/up.yaml b/hasura/migrations/1618965084777_create_table_public_exportlog/up.yaml deleted file mode 100644 index 6e862cf61..000000000 --- a/hasura/migrations/1618965084777_create_table_public_exportlog/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"exportlog\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"jobid\" uuid, \"billid\" uuid, \"paymentid\" uuid, - \"successful\" boolean NOT NULL DEFAULT false, \"message\" text NOT NULL, \"bodyshopid\" - uuid NOT NULL, PRIMARY KEY (\"id\") , FOREIGN KEY (\"jobid\") REFERENCES \"public\".\"jobs\"(\"id\") - ON UPDATE restrict ON DELETE restrict, FOREIGN KEY (\"paymentid\") REFERENCES - \"public\".\"payments\"(\"id\") ON UPDATE restrict ON DELETE restrict, FOREIGN - KEY (\"billid\") REFERENCES \"public\".\"bills\"(\"id\") ON UPDATE restrict - ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_exportlog_updated_at\"\nBEFORE - UPDATE ON \"public\".\"exportlog\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_exportlog_updated_at\" ON \"public\".\"exportlog\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: exportlog - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/down.yaml b/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/down.yaml deleted file mode 100644 index ea6ea9be1..000000000 --- a/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."exportlog" DROP COLUMN "useremail"; - type: run_sql diff --git a/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/up.yaml b/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/up.yaml deleted file mode 100644 index 0d5ac5c69..000000000 --- a/hasura/migrations/1618965114806_alter_table_public_exportlog_add_column_useremail/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."exportlog" ADD COLUMN "useremail" text NOT NULL; - type: run_sql diff --git a/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/down.yaml b/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/down.yaml deleted file mode 100644 index e208cb68d..000000000 --- a/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."exportlog" drop constraint "exportlog_useremail_fkey"; - type: run_sql diff --git a/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/up.yaml b/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/up.yaml deleted file mode 100644 index bdef6bda8..000000000 --- a/hasura/migrations/1618965166855_set_fk_public_exportlog_useremail/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."exportlog" - add constraint "exportlog_useremail_fkey" - foreign key ("useremail") - references "public"."users" - ("email") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1618965201750_track_all_relationships/down.yaml b/hasura/migrations/1618965201750_track_all_relationships/down.yaml deleted file mode 100644 index 3b81bc705..000000000 --- a/hasura/migrations/1618965201750_track_all_relationships/down.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- args: - relationship: exportlogs - table: - name: users - schema: public - type: drop_relationship -- args: - relationship: exportlogs - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: exportlogs - table: - name: bills - schema: public - type: drop_relationship -- args: - relationship: exportlogs - table: - name: payments - schema: public - type: drop_relationship -- args: - relationship: payment - table: - name: exportlog - schema: public - type: drop_relationship -- args: - relationship: user - table: - name: exportlog - schema: public - type: drop_relationship -- args: - relationship: job - table: - name: exportlog - schema: public - type: drop_relationship -- args: - relationship: bill - table: - name: exportlog - schema: public - type: drop_relationship diff --git a/hasura/migrations/1618965201750_track_all_relationships/up.yaml b/hasura/migrations/1618965201750_track_all_relationships/up.yaml deleted file mode 100644 index 02c480ba8..000000000 --- a/hasura/migrations/1618965201750_track_all_relationships/up.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- args: - name: exportlogs - table: - name: users - schema: public - using: - foreign_key_constraint_on: - column: useremail - table: - name: exportlog - schema: public - type: create_array_relationship -- args: - name: exportlogs - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: - column: jobid - table: - name: exportlog - schema: public - type: create_array_relationship -- args: - name: exportlogs - table: - name: bills - schema: public - using: - foreign_key_constraint_on: - column: billid - table: - name: exportlog - schema: public - type: create_array_relationship -- args: - name: exportlogs - table: - name: payments - schema: public - using: - foreign_key_constraint_on: - column: paymentid - table: - name: exportlog - schema: public - type: create_array_relationship -- args: - name: payment - table: - name: exportlog - schema: public - using: - foreign_key_constraint_on: paymentid - type: create_object_relationship -- args: - name: user - table: - name: exportlog - schema: public - using: - foreign_key_constraint_on: useremail - type: create_object_relationship -- args: - name: job - table: - name: exportlog - schema: public - using: - foreign_key_constraint_on: jobid - type: create_object_relationship -- args: - name: bill - table: - name: exportlog - schema: public - using: - foreign_key_constraint_on: billid - type: create_object_relationship diff --git a/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/down.yaml b/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/down.yaml deleted file mode 100644 index 6bfdcbb6c..000000000 --- a/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."exportlog" drop constraint "exportlog_bodyshopid_fkey"; - type: run_sql diff --git a/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/up.yaml b/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/up.yaml deleted file mode 100644 index 3b8de1723..000000000 --- a/hasura/migrations/1618965243636_set_fk_public_exportlog_bodyshopid/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."exportlog" - add constraint "exportlog_bodyshopid_fkey" - foreign key ("bodyshopid") - references "public"."bodyshops" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1618965255172_track_all_relationships/down.yaml b/hasura/migrations/1618965255172_track_all_relationships/down.yaml deleted file mode 100644 index 4442ea08b..000000000 --- a/hasura/migrations/1618965255172_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: exportlogs - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: exportlog - schema: public - type: drop_relationship diff --git a/hasura/migrations/1618965255172_track_all_relationships/up.yaml b/hasura/migrations/1618965255172_track_all_relationships/up.yaml deleted file mode 100644 index 9b3d9ccee..000000000 --- a/hasura/migrations/1618965255172_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: exportlogs - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: exportlog - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: exportlog - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/down.yaml b/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/down.yaml deleted file mode 100644 index c6801826d..000000000 --- a/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: exportlog - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/up.yaml b/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/up.yaml deleted file mode 100644 index e628656eb..000000000 --- a/hasura/migrations/1618965326359_update_permission_user_public_table_exportlog/up.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - permission: - allow_upsert: true - backend_only: false - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - billid - - paymentid - - successful - - message - - bodyshopid - - useremail - set: {} - role: user - table: - name: exportlog - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/down.yaml b/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/down.yaml deleted file mode 100644 index 44be3351d..000000000 --- a/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: exportlog - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/up.yaml b/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/up.yaml deleted file mode 100644 index be119622c..000000000 --- a/hasura/migrations/1618965339695_update_permission_user_public_table_exportlog/up.yaml +++ /dev/null @@ -1,31 +0,0 @@ -- args: - permission: - allow_aggregations: true - backend_only: false - columns: - - successful - - message - - useremail - - created_at - - updated_at - - billid - - bodyshopid - - id - - jobid - - paymentid - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: exportlog - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/down.yaml b/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/down.yaml deleted file mode 100644 index 6f08e5bc3..000000000 --- a/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."exportlog" ALTER COLUMN "message" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/up.yaml b/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/up.yaml deleted file mode 100644 index d8de55856..000000000 --- a/hasura/migrations/1619033097398_alter_table_public_exportlog_alter_column_message/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."exportlog" ALTER COLUMN "message" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1619039107283_run_sql_migration/down.yaml b/hasura/migrations/1619039107283_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039107283_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039107283_run_sql_migration/up.yaml b/hasura/migrations/1619039107283_run_sql_migration/up.yaml deleted file mode 100644 index 5797d5fd2..000000000 --- a/hasura/migrations/1619039107283_run_sql_migration/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE\r\nOR REPLACE FUNCTION public.search_exportlog(search text) RETURNS - SETOF exportlog LANGUAGE plpgsql STABLE AS $function$ BEGIN IF search = '' THEN - RETURN query\r\nSELECT\r\n *\r\nFROM\r\n exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n - \ exportlog.*\r\nFROM\r\n exportlog e,\r\n jobs j,\r\n payments p,\r\n bills - b,\r\n users u\r\nWHERE\r\n (\r\n j.ro_number ILIKE '%' || search || '%'\r\n - \ OR b.invoice_number ILIKE '%' || search || '%'\r\n OR p.paymentnum ILIKE - '%' || search || '%'\r\n OR u.email ILIKE '%' || search || '%'\r\n\r\n )\r\n - \ AND (e.jobid = j.id\r\n or e.paymentid = p.id\r\n or e.billid = b.id\r\nor - e.useremail = u.email)\r\n;\r\nEND IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619039299307_run_sql_migration/down.yaml b/hasura/migrations/1619039299307_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039299307_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039299307_run_sql_migration/up.yaml b/hasura/migrations/1619039299307_run_sql_migration/up.yaml deleted file mode 100644 index 868236bc1..000000000 --- a/hasura/migrations/1619039299307_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n exportlog.*\r\nFROM\r\n - \ exportlog e,\r\n jobs j,\r\n payments p,\r\n bills b,\r\n users u\r\nWHERE\r\n - \ (\r\n j.ro_number ILIKE '%' || search || '%'\r\n OR b.invoice_number - ILIKE '%' || search || '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n - \ OR u.email ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = j.id\r\n - \ or e.paymentid = p.id\r\n or e.billid = b.id\r\nor u.useremail = u.email)\r\n;\r\nEND - IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619039339617_run_sql_migration/down.yaml b/hasura/migrations/1619039339617_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039339617_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039339617_run_sql_migration/up.yaml b/hasura/migrations/1619039339617_run_sql_migration/up.yaml deleted file mode 100644 index bb1d9344b..000000000 --- a/hasura/migrations/1619039339617_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e,\r\n jobs j,\r\n payments p,\r\n bills b,\r\n users u\r\nWHERE\r\n (\r\n - \ j.ro_number ILIKE '%' || search || '%'\r\n OR b.invoice_number ILIKE - '%' || search || '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n OR - u.email ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = j.id\r\n or - e.paymentid = p.id\r\n or e.billid = b.id\r\nor u.useremail = u.email)\r\n;\r\nEND - IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619039390662_run_sql_migration/down.yaml b/hasura/migrations/1619039390662_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039390662_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039390662_run_sql_migration/up.yaml b/hasura/migrations/1619039390662_run_sql_migration/up.yaml deleted file mode 100644 index 4994ecacc..000000000 --- a/hasura/migrations/1619039390662_run_sql_migration/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e,\r\n jobs j,\r\n payments p,\r\n bills b\r\nWHERE\r\n (\r\n j.ro_number - ILIKE '%' || search || '%'\r\n OR b.invoice_number ILIKE '%' || search || - '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n OR e.useremail - ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = j.id\r\n or e.paymentid - = p.id\r\n or e.billid = b.id)\r\n;\r\nEND IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619039746435_run_sql_migration/down.yaml b/hasura/migrations/1619039746435_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039746435_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039746435_run_sql_migration/up.yaml b/hasura/migrations/1619039746435_run_sql_migration/up.yaml deleted file mode 100644 index 4a40478c1..000000000 --- a/hasura/migrations/1619039746435_run_sql_migration/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e,\r\n jobs j,\r\n payments p,\r\n bills b\r\nWHERE\r\n(e.jobid = j.id and - \ j.ro_number ILIKE '%' || search || '%') OR\r\n(e.paymentid = p.id and p.paymentnum - ILIKE '%' || search || '%') OR\r\n(e.billid = b.id and b.invoice_number ILIKE - '%' || search || '%') OR\r\n e.useremail ILIKE '%' || search || '%'\r\n\r\n - \r\n \r\n;\r\nEND IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619039995255_run_sql_migration/down.yaml b/hasura/migrations/1619039995255_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619039995255_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619039995255_run_sql_migration/up.yaml b/hasura/migrations/1619039995255_run_sql_migration/up.yaml deleted file mode 100644 index 1bb31dcf8..000000000 --- a/hasura/migrations/1619039995255_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e\r\nINNER JOIN payments p \r\n ON p.id = e.paymentid\r\nINNER JOIN bills - b\r\n ON e.billid = b.id\r\n \r\nWHERE\r\n\r\n\r\n\r\n (\r\n j.ro_number - ILIKE '%' || search || '%'\r\n OR b.invoice_number ILIKE '%' || search || - '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n OR e.useremail - ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = j.id\r\n or e.paymentid - = p.id\r\n \r\n or e.billid = b.id)\r\n \r\n \r\n;\r\nEND IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619040031634_run_sql_migration/down.yaml b/hasura/migrations/1619040031634_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619040031634_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619040031634_run_sql_migration/up.yaml b/hasura/migrations/1619040031634_run_sql_migration/up.yaml deleted file mode 100644 index 217ebc7e0..000000000 --- a/hasura/migrations/1619040031634_run_sql_migration/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e\r\n INNER JOIN jobs j on j.id = e.jobid\r\nINNER JOIN payments p \r\n ON - p.id = e.paymentid\r\nINNER JOIN bills b\r\n ON e.billid = b.id\r\n \r\nWHERE\r\n\r\n\r\n\r\n - \ (\r\n j.ro_number ILIKE '%' || search || '%'\r\n OR b.invoice_number - ILIKE '%' || search || '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n - \ OR e.useremail ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = - j.id\r\n or e.paymentid = p.id\r\n \r\n or e.billid = b.id)\r\n \r\n \r\n;\r\nEND - IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619040190377_run_sql_migration/down.yaml b/hasura/migrations/1619040190377_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619040190377_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619040190377_run_sql_migration/up.yaml b/hasura/migrations/1619040190377_run_sql_migration/up.yaml deleted file mode 100644 index a7cfba0c2..000000000 --- a/hasura/migrations/1619040190377_run_sql_migration/up.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function public.search_exportlog;\r\n\r\nCREATE\r\nOR REPLACE FUNCTION - public.search_exportlog(search text) RETURNS SETOF exportlog LANGUAGE plpgsql - STABLE AS $function$ BEGIN IF search = '' THEN RETURN query\r\nSELECT\r\n *\r\nFROM\r\n - \ exportlog e;\r\n ELSE RETURN query\r\nSELECT\r\n e.*\r\nFROM\r\n exportlog - e\r\n LEFT JOIN jobs j on j.id = e.jobid\r\nLEFT JOIN payments p \r\n ON - p.id = e.paymentid\r\nLEFT JOIN bills b\r\n ON e.billid = b.id\r\n \r\nWHERE\r\n\r\n\r\n\r\n - \ (\r\n j.ro_number ILIKE '%' || search || '%'\r\n OR b.invoice_number - ILIKE '%' || search || '%'\r\n OR p.paymentnum ILIKE '%' || search || '%'\r\n - \ OR e.useremail ILIKE '%' || search || '%'\r\n\r\n )\r\n AND (e.jobid = - j.id\r\n or e.paymentid = p.id\r\n \r\n or e.billid = b.id)\r\n \r\n \r\n;\r\nEND - IF;\r\nEND $function$;" - type: run_sql -- args: - name: search_exportlog - schema: public - type: track_function diff --git a/hasura/migrations/1619110268248_create_table_public_ioevents/down.yaml b/hasura/migrations/1619110268248_create_table_public_ioevents/down.yaml deleted file mode 100644 index e9d364bb7..000000000 --- a/hasura/migrations/1619110268248_create_table_public_ioevents/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."ioevents"; - type: run_sql diff --git a/hasura/migrations/1619110268248_create_table_public_ioevents/up.yaml b/hasura/migrations/1619110268248_create_table_public_ioevents/up.yaml deleted file mode 100644 index 520597ef7..000000000 --- a/hasura/migrations/1619110268248_create_table_public_ioevents/up.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE TABLE "public"."ioevents"("id" bigserial NOT NULL, "created_at" timestamptz - NOT NULL DEFAULT now(), "operationname" text NOT NULL, "time" numeric, PRIMARY - KEY ("id") ); - type: run_sql -- args: - name: ioevents - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/down.yaml b/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/down.yaml deleted file mode 100644 index 8286fc6c3..000000000 --- a/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."ioevents" DROP COLUMN "variables"; - type: run_sql diff --git a/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/up.yaml b/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/up.yaml deleted file mode 100644 index 43d735ea6..000000000 --- a/hasura/migrations/1619110302583_alter_table_public_ioevents_add_column_variables/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."ioevents" ADD COLUMN "variables" jsonb NULL; - type: run_sql diff --git a/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/down.yaml b/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/down.yaml deleted file mode 100644 index 97e3fc2b5..000000000 --- a/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."ioevents" DROP COLUMN "dbevent"; - type: run_sql diff --git a/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/up.yaml b/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/up.yaml deleted file mode 100644 index 43641898b..000000000 --- a/hasura/migrations/1619110334411_alter_table_public_ioevents_add_column_dbevent/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."ioevents" ADD COLUMN "dbevent" Boolean NOT NULL DEFAULT - false; - type: run_sql diff --git a/hasura/migrations/1619132732600_create_table_public_phonebook/down.yaml b/hasura/migrations/1619132732600_create_table_public_phonebook/down.yaml deleted file mode 100644 index af66f8d33..000000000 --- a/hasura/migrations/1619132732600_create_table_public_phonebook/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: DROP TABLE "public"."phonebook"; - type: run_sql diff --git a/hasura/migrations/1619132732600_create_table_public_phonebook/up.yaml b/hasura/migrations/1619132732600_create_table_public_phonebook/up.yaml deleted file mode 100644 index fd0763cd7..000000000 --- a/hasura/migrations/1619132732600_create_table_public_phonebook/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - cascade: false - read_only: false - sql: CREATE EXTENSION IF NOT EXISTS pgcrypto; - type: run_sql -- args: - cascade: false - read_only: false - sql: "CREATE TABLE \"public\".\"phonebook\"(\"id\" uuid NOT NULL DEFAULT gen_random_uuid(), - \"created_at\" timestamptz NOT NULL DEFAULT now(), \"updated_at\" timestamptz - NOT NULL DEFAULT now(), \"bodyshopid\" uuid NOT NULL, \"type\" text NOT NULL, - \"firstname\" text, \"lastname\" text, \"phone1\" text, \"email\" text, \"address1\" - text, \"address2\" text, \"city\" text, \"state\" text, \"zip\" text, \"country\" - text, \"company\" text, \"phone2\" text, \"fax\" text, \"category\" text, PRIMARY - KEY (\"id\") , FOREIGN KEY (\"bodyshopid\") REFERENCES \"public\".\"bodyshops\"(\"id\") - ON UPDATE restrict ON DELETE restrict);\nCREATE OR REPLACE FUNCTION \"public\".\"set_current_timestamp_updated_at\"()\nRETURNS - TRIGGER AS $$\nDECLARE\n _new record;\nBEGIN\n _new := NEW;\n _new.\"updated_at\" - = NOW();\n RETURN _new;\nEND;\n$$ LANGUAGE plpgsql;\nCREATE TRIGGER \"set_public_phonebook_updated_at\"\nBEFORE - UPDATE ON \"public\".\"phonebook\"\nFOR EACH ROW\nEXECUTE PROCEDURE \"public\".\"set_current_timestamp_updated_at\"();\nCOMMENT - ON TRIGGER \"set_public_phonebook_updated_at\" ON \"public\".\"phonebook\" \nIS - 'trigger to set value of column \"updated_at\" to current timestamp on row update';" - type: run_sql -- args: - name: phonebook - schema: public - type: add_existing_table_or_view diff --git a/hasura/migrations/1619132753494_track_all_relationships/down.yaml b/hasura/migrations/1619132753494_track_all_relationships/down.yaml deleted file mode 100644 index 4e58433b9..000000000 --- a/hasura/migrations/1619132753494_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: phonebooks - table: - name: bodyshops - schema: public - type: drop_relationship -- args: - relationship: bodyshop - table: - name: phonebook - schema: public - type: drop_relationship diff --git a/hasura/migrations/1619132753494_track_all_relationships/up.yaml b/hasura/migrations/1619132753494_track_all_relationships/up.yaml deleted file mode 100644 index c645985c6..000000000 --- a/hasura/migrations/1619132753494_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: phonebooks - table: - name: bodyshops - schema: public - using: - foreign_key_constraint_on: - column: bodyshopid - table: - name: phonebook - schema: public - type: create_array_relationship -- args: - name: bodyshop - table: - name: phonebook - schema: public - using: - foreign_key_constraint_on: bodyshopid - type: create_object_relationship diff --git a/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index c224bad45..000000000 --- a/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index 72a6fa068..000000000 --- a/hasura/migrations/1619132868980_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - permission: - allow_upsert: true - backend_only: false - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - type - - firstname - - lastname - - phone1 - - email - - address1 - - address2 - - city - - state - - zip - - country - - company - - phone2 - - fax - - category - set: {} - role: user - table: - name: phonebook - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index 843a6e1bc..000000000 --- a/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index b3a818972..000000000 --- a/hasura/migrations/1619132880293_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,40 +0,0 @@ -- args: - permission: - allow_aggregations: false - backend_only: false - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - type - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: phonebook - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index a5c894d75..000000000 --- a/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index aa4b3f52e..000000000 --- a/hasura/migrations/1619132893252_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - permission: - backend_only: false - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - type - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: phonebook - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/down.yaml b/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/down.yaml deleted file mode 100644 index b7ca6f5d4..000000000 --- a/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."phonebook" ALTER COLUMN "type" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/up.yaml b/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/up.yaml deleted file mode 100644 index 821498c2b..000000000 --- a/hasura/migrations/1619133503127_alter_table_public_phonebook_alter_column_type/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."phonebook" ALTER COLUMN "type" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/down.yaml b/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/down.yaml deleted file mode 100644 index 076c8d398..000000000 --- a/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."phonebook" ADD COLUMN "type" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."phonebook" ALTER COLUMN "type" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/up.yaml b/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/up.yaml deleted file mode 100644 index 65544dfd6..000000000 --- a/hasura/migrations/1619133535893_alter_table_public_phonebook_drop_column_type/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: true - read_only: false - sql: ALTER TABLE "public"."phonebook" DROP COLUMN "type" CASCADE; - type: run_sql diff --git a/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index c224bad45..000000000 --- a/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_insert_permission diff --git a/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index e03d0c6da..000000000 --- a/hasura/migrations/1619133576648_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- args: - permission: - allow_upsert: true - backend_only: false - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - firstname - - lastname - - phone1 - - email - - address1 - - address2 - - city - - state - - zip - - country - - company - - phone2 - - fax - - category - set: {} - role: user - table: - name: phonebook - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index 843a6e1bc..000000000 --- a/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_select_permission diff --git a/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index f5eb078c3..000000000 --- a/hasura/migrations/1619133588241_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,39 +0,0 @@ -- args: - permission: - allow_aggregations: false - backend_only: false - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - limit: null - role: user - table: - name: phonebook - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index a5c894d75..000000000 --- a/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_update_permission diff --git a/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index 93866573b..000000000 --- a/hasura/migrations/1619133601763_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- args: - permission: - backend_only: false - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: phonebook - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619133694446_run_sql_migration/down.yaml b/hasura/migrations/1619133694446_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619133694446_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619133694446_run_sql_migration/up.yaml b/hasura/migrations/1619133694446_run_sql_migration/up.yaml deleted file mode 100644 index 3b488acd3..000000000 --- a/hasura/migrations/1619133694446_run_sql_migration/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "CREATE OR REPLACE FUNCTION public.search_phonebook (search text)\n\tRETURNS - SETOF phonebook\n\tLANGUAGE plpgsql\n\tSTABLE\n\tAS $function$\nBEGIN\n\tIF - search = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tphonebook;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\tbills.*\n\t\tFROM\n\t\t\tphonebook\n\t\tWHERE firstname - ILIKE '%' || search || '%'\n\t\t\tOR lastname ILIKE '%' || search || '%'\n\t\t\tOR - company ILIKE '%' || search || '%'\n\t\t\tOR address1 ILIKE '%' || search || - '%'\n\t\t\tOR phone1 ILIKE '%' || search || '%'\n\t\t\tOR phone2 ILIKE '%' || - search || '%'\n\t\t\tOR email ILIKE '%' || search || '%'\n\t\t\tOR category - ILIKE '%' || search || '%'\n\t\tORDER BY\n\t\t\n\t\t\tfirstname ILIKE '%' || - search || '%'\n\t\t\tOR NULL,\n\t\t\tlastname ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\tcompany ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\taddress1 - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tphone1 ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\tphone2 ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\temail - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tcategory ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 ILIKE '%' || search - || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_phonebook - schema: public - type: track_function diff --git a/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index eb63b045d..000000000 --- a/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: phonebook - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index f354974de..000000000 --- a/hasura/migrations/1619191596826_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,43 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: phonebook - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619194947063_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1619194947063_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index fcae8dd99..000000000 --- a/hasura/migrations/1619194947063_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,30 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619194947063_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1619194947063_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index ee45bef73..000000000 --- a/hasura/migrations/1619194947063_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619281006351_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1619281006351_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index ee45bef73..000000000 --- a/hasura/migrations/1619281006351_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619281006351_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1619281006351_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 015c4e179..000000000 --- a/hasura/migrations/1619281006351_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619281014662_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1619281014662_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 0175b1813..000000000 --- a/hasura/migrations/1619281014662_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - authlevel - filter: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619281014662_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1619281014662_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index 8ac8d69eb..000000000 --- a/hasura/migrations/1619281014662_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - authlevel - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/down.yaml b/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/down.yaml deleted file mode 100644 index 04c18d407..000000000 --- a/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" DROP COLUMN "enforce_referral"; - type: run_sql diff --git a/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/up.yaml b/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/up.yaml deleted file mode 100644 index 1cf09b5e0..000000000 --- a/hasura/migrations/1619475246450_alter_table_public_bodyshops_add_column_enforce_referral/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."bodyshops" ADD COLUMN "enforce_referral" boolean NOT - NULL DEFAULT false; - type: run_sql diff --git a/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index f687795eb..000000000 --- a/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 19bab1a64..000000000 --- a/hasura/migrations/1619475263584_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - enforce_referral - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - computed_fields: [] - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: bodyshops - schema: public - type: create_select_permission diff --git a/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/down.yaml b/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/down.yaml deleted file mode 100644 index cfdcd2224..000000000 --- a/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/down.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/up.yaml b/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/up.yaml deleted file mode 100644 index 91bc87fe2..000000000 --- a/hasura/migrations/1619475274396_update_permission_user_public_table_bodyshops/up.yaml +++ /dev/null @@ -1,76 +0,0 @@ -- args: - role: user - table: - name: bodyshops - schema: public - type: drop_update_permission -- args: - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - enforce_referral - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: bodyshops - schema: public - type: create_update_permission diff --git a/hasura/migrations/1619540860369_run_sql_migration/down.yaml b/hasura/migrations/1619540860369_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619540860369_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619540860369_run_sql_migration/up.yaml b/hasura/migrations/1619540860369_run_sql_migration/up.yaml deleted file mode 100644 index d343558ea..000000000 --- a/hasura/migrations/1619540860369_run_sql_migration/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function search_phonebook;\nCREATE OR REPLACE FUNCTION public.search_phonebook(search - text)\n RETURNS SETOF phonebook\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF - search = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tphonebook;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\tphonebook.*\n\t\tFROM\n\t\t\tphonebook\n\t\tWHERE firstname - ILIKE '%' || search || '%'\n\t\t\tOR lastname ILIKE '%' || search || '%'\n\t\t\tOR - company ILIKE '%' || search || '%'\n\t\t\tOR address1 ILIKE '%' || search || - '%'\n\t\t\tOR phone1 ILIKE '%' || search || '%'\n\t\t\tOR phone2 ILIKE '%' || - search || '%'\n\t\t\tOR email ILIKE '%' || search || '%'\n\t\t\tOR category - ILIKE '%' || search || '%'\n\t\tORDER BY\n\t\t\n\t\t\tfirstname ILIKE '%' || - search || '%'\n\t\t\tOR NULL,\n\t\t\tlastname ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\tcompany ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\taddress1 - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tphone1 ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\tphone2 ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\temail - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tcategory ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\townr_addr1 ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\townr_addr1 ILIKE '%' || search - || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_phonebook - schema: public - type: track_function diff --git a/hasura/migrations/1619540900896_run_sql_migration/down.yaml b/hasura/migrations/1619540900896_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619540900896_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619540900896_run_sql_migration/up.yaml b/hasura/migrations/1619540900896_run_sql_migration/up.yaml deleted file mode 100644 index 91bfa0f12..000000000 --- a/hasura/migrations/1619540900896_run_sql_migration/up.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - cascade: false - read_only: false - sql: "drop function search_phonebook;\nCREATE OR REPLACE FUNCTION public.search_phonebook(search - text)\n RETURNS SETOF phonebook\n LANGUAGE plpgsql\n STABLE\nAS $function$\nBEGIN\n\tIF - search = '' THEN\n\t\tRETURN query\n\t\tSELECT\n\t\t\t*\n\t\tFROM\n\t\t\tphonebook;\n\tELSE\n\t\tRETURN - query\n\t\tSELECT\n\t\t\tphonebook.*\n\t\tFROM\n\t\t\tphonebook\n\t\tWHERE firstname - ILIKE '%' || search || '%'\n\t\t\tOR lastname ILIKE '%' || search || '%'\n\t\t\tOR - company ILIKE '%' || search || '%'\n\t\t\tOR address1 ILIKE '%' || search || - '%'\n\t\t\tOR phone1 ILIKE '%' || search || '%'\n\t\t\tOR phone2 ILIKE '%' || - search || '%'\n\t\t\tOR email ILIKE '%' || search || '%'\n\t\t\tOR category - ILIKE '%' || search || '%'\n\t\tORDER BY\n\t\t\n\t\t\tfirstname ILIKE '%' || - search || '%'\n\t\t\tOR NULL,\n\t\t\tlastname ILIKE '%' || search || '%'\n\t\t\tOR - NULL,\n\t\t\tcompany ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\taddress1 - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tphone1 ILIKE '%' || search - || '%'\n\t\t\tOR NULL,\n\t\t\tphone2 ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\temail - ILIKE '%' || search || '%'\n\t\t\tOR NULL,\n\t\t\tcategory ILIKE '%' || search - || '%'\n\t\t\tOR NULL;\n\tEND IF;\nEND\n$function$;" - type: run_sql -- args: - name: search_phonebook - schema: public - type: track_function diff --git a/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/down.yaml b/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/down.yaml deleted file mode 100644 index 5354aae8c..000000000 --- a/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/down.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - role: user - table: - name: phonebook - schema: public - type: drop_delete_permission diff --git a/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/up.yaml b/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/up.yaml deleted file mode 100644 index c6766a31b..000000000 --- a/hasura/migrations/1619620323182_update_permission_user_public_table_phonebook/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - permission: - backend_only: false - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: phonebook - schema: public - type: create_delete_permission diff --git a/hasura/migrations/1619823252812_run_sql_migration/down.yaml b/hasura/migrations/1619823252812_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619823252812_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619823252812_run_sql_migration/up.yaml b/hasura/migrations/1619823252812_run_sql_migration/up.yaml deleted file mode 100644 index a84ea9e03..000000000 --- a/hasura/migrations/1619823252812_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: create index vendor_idx_name on vendors(name); - type: run_sql diff --git a/hasura/migrations/1619823272875_run_sql_migration/down.yaml b/hasura/migrations/1619823272875_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619823272875_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619823272875_run_sql_migration/up.yaml b/hasura/migrations/1619823272875_run_sql_migration/up.yaml deleted file mode 100644 index b69b0783c..000000000 --- a/hasura/migrations/1619823272875_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: create index vendor_idx_active on vendors(active); - type: run_sql diff --git a/hasura/migrations/1619823657628_run_sql_migration/down.yaml b/hasura/migrations/1619823657628_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619823657628_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619823657628_run_sql_migration/up.yaml b/hasura/migrations/1619823657628_run_sql_migration/up.yaml deleted file mode 100644 index 8ca3169c0..000000000 --- a/hasura/migrations/1619823657628_run_sql_migration/up.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - create index bills_idx_date on bills(date); - create index joblines_idx_removed on joblines(removed); - create index joblines_idx_mod_lbr_ty on joblines(mod_lbr_ty); - type: run_sql diff --git a/hasura/migrations/1619823749138_run_sql_migration/down.yaml b/hasura/migrations/1619823749138_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619823749138_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619823749138_run_sql_migration/up.yaml b/hasura/migrations/1619823749138_run_sql_migration/up.yaml deleted file mode 100644 index b7f6b91ad..000000000 --- a/hasura/migrations/1619823749138_run_sql_migration/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: create index joblines_idx_line_no on joblines(line_no, jobid); - type: run_sql diff --git a/hasura/migrations/1619824320231_run_sql_migration/down.yaml b/hasura/migrations/1619824320231_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619824320231_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619824320231_run_sql_migration/up.yaml b/hasura/migrations/1619824320231_run_sql_migration/up.yaml deleted file mode 100644 index 2df8fd5ff..000000000 --- a/hasura/migrations/1619824320231_run_sql_migration/up.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - create index jobs_idx_status on jobs (status); - - create index jobs_idx_ro_number on jobs ((lower(ro_number))); - create index jobs_idx_ownr_fn on jobs ((lower(ownr_fn))); - create index jobs_idx_ownr_ln on jobs ((lower(ownr_ln))); - - create index parts_orders_idx_order_date on parts_orders (order_date); - - create index cccontracts_idx_actual_return on cccontracts (actualreturn); - create index courtesycars_idx_fleet on courtesycars (fleetnumber); - - create index bills_idx_invoice_number on bills ((lower(invoice_number))); - type: run_sql diff --git a/hasura/migrations/1619824803848_run_sql_migration/down.yaml b/hasura/migrations/1619824803848_run_sql_migration/down.yaml deleted file mode 100644 index fe51488c7..000000000 --- a/hasura/migrations/1619824803848_run_sql_migration/down.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hasura/migrations/1619824803848_run_sql_migration/up.yaml b/hasura/migrations/1619824803848_run_sql_migration/up.yaml deleted file mode 100644 index 590acff82..000000000 --- a/hasura/migrations/1619824803848_run_sql_migration/up.yaml +++ /dev/null @@ -1,18 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - create index conversations_idx_updated_at on conversations (updated_at); - create index messages_idx_created_at on messages (created_at); - create index conversations_idx_phone_num on conversations (phone_num); - - create index employees_idx_employee_number on employees (employee_number); - create index jobs_idx_date_exported on jobs (date_exported); - - create index owners_idx_ownr_fn on owners((lower(ownr_fn))); - create index owners_idx_ownr_ln on owners((lower(ownr_ln))); - create index owners_idx_ownr_co_nm on owners((lower(ownr_co_nm))); - - create index vehicles_idx_v_model_desc on vehicles((lower(v_model_desc))); - create index vehicles_idx_v_make_desc on vehicles((lower(v_make_desc))); - type: run_sql diff --git a/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/down.yaml b/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/down.yaml deleted file mode 100644 index b9730b3cb..000000000 --- a/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "ca_customer_gst"; - type: run_sql diff --git a/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/up.yaml b/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/up.yaml deleted file mode 100644 index 543a74068..000000000 --- a/hasura/migrations/1620066724099_alter_table_public_jobs_add_column_ca_customer_gst/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "ca_customer_gst" numeric NULL DEFAULT - 0; - type: run_sql diff --git a/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 5b060e4ad..000000000 --- a/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 1710da406..000000000 --- a/hasura/migrations/1620066736411_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 787406311..000000000 --- a/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 211f64230..000000000 --- a/hasura/migrations/1620066749181_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,268 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 967533024..000000000 --- a/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,266 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index feed2e0f9..000000000 --- a/hasura/migrations/1620066758022_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/down.yaml b/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/down.yaml deleted file mode 100644 index 0d0e75aa4..000000000 --- a/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."associations" DROP COLUMN "default_prod_list_view"; - type: run_sql diff --git a/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/up.yaml b/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/up.yaml deleted file mode 100644 index 03f394ff2..000000000 --- a/hasura/migrations/1620083105072_alter_table_public_associations_add_column_default_prod_list_view/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."associations" ADD COLUMN "default_prod_list_view" text - NULL; - type: run_sql diff --git a/hasura/migrations/1620083115002_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1620083115002_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 015c4e179..000000000 --- a/hasura/migrations/1620083115002_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,25 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620083115002_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1620083115002_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index ff0e61c7e..000000000 --- a/hasura/migrations/1620083115002_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,26 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - active - - authlevel - - default_prod_list_view - - id - - shopid - - useremail - computed_fields: [] - filter: - user: - authid: - _eq: X-Hasura-User-Id - role: user - table: - name: associations - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620083126422_update_permission_user_public_table_associations/down.yaml b/hasura/migrations/1620083126422_update_permission_user_public_table_associations/down.yaml deleted file mode 100644 index 8ac8d69eb..000000000 --- a/hasura/migrations/1620083126422_update_permission_user_public_table_associations/down.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - authlevel - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620083126422_update_permission_user_public_table_associations/up.yaml b/hasura/migrations/1620083126422_update_permission_user_public_table_associations/up.yaml deleted file mode 100644 index b5bbb9670..000000000 --- a/hasura/migrations/1620083126422_update_permission_user_public_table_associations/up.yaml +++ /dev/null @@ -1,24 +0,0 @@ -- args: - role: user - table: - name: associations - schema: public - type: drop_update_permission -- args: - permission: - columns: - - active - - authlevel - - default_prod_list_view - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - set: {} - role: user - table: - name: associations - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/down.yaml b/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/down.yaml deleted file mode 100644 index f8e7fdd5e..000000000 --- a/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" DROP COLUMN "validemail"; - type: run_sql diff --git a/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/up.yaml b/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/up.yaml deleted file mode 100644 index f21de375b..000000000 --- a/hasura/migrations/1620336278872_alter_table_public_users_add_column_validemail/up.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."users" ADD COLUMN "validemail" boolean NOT NULL DEFAULT - true; - type: run_sql diff --git a/hasura/migrations/1620336525583_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1620336525583_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 61e3ce752..000000000 --- a/hasura/migrations/1620336525583_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,19 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - - fcmtokens - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620336525583_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1620336525583_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 59ecec0bd..000000000 --- a/hasura/migrations/1620336525583_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_insert_permission -- args: - permission: - check: {} - columns: - - authid - - email - - fcmtokens - - validemail - set: {} - role: user - table: - name: users - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620336532828_update_permission_user_public_table_users/down.yaml b/hasura/migrations/1620336532828_update_permission_user_public_table_users/down.yaml deleted file mode 100644 index 6fdc8d980..000000000 --- a/hasura/migrations/1620336532828_update_permission_user_public_table_users/down.yaml +++ /dev/null @@ -1,28 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - computed_fields: [] - filter: - associations: - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620336532828_update_permission_user_public_table_users/up.yaml b/hasura/migrations/1620336532828_update_permission_user_public_table_users/up.yaml deleted file mode 100644 index 78ad2df7a..000000000 --- a/hasura/migrations/1620336532828_update_permission_user_public_table_users/up.yaml +++ /dev/null @@ -1,29 +0,0 @@ -- args: - role: user - table: - name: users - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: false - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - - validemail - computed_fields: [] - filter: - associations: - bodyshop: - associations: - active: - _eq: true - role: user - table: - name: users - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/down.yaml b/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/down.yaml deleted file mode 100644 index bf81838a6..000000000 --- a/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "employee_csr"; - type: run_sql diff --git a/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/up.yaml b/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/up.yaml deleted file mode 100644 index 56b5f03d5..000000000 --- a/hasura/migrations/1620339418293_alter_table_public_jobs_add_column_employee_csr/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "employee_csr" uuid NULL; - type: run_sql diff --git a/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/down.yaml b/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/down.yaml deleted file mode 100644 index 0bfbf1ab3..000000000 --- a/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: alter table "public"."jobs" drop constraint "jobs_employee_csr_fkey"; - type: run_sql diff --git a/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/up.yaml b/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/up.yaml deleted file mode 100644 index 0629c9977..000000000 --- a/hasura/migrations/1620339439683_set_fk_public_jobs_employee_csr/up.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: |- - alter table "public"."jobs" - add constraint "jobs_employee_csr_fkey" - foreign key ("employee_csr") - references "public"."employees" - ("id") on update restrict on delete restrict; - type: run_sql diff --git a/hasura/migrations/1620339458298_track_all_relationships/down.yaml b/hasura/migrations/1620339458298_track_all_relationships/down.yaml deleted file mode 100644 index c14530894..000000000 --- a/hasura/migrations/1620339458298_track_all_relationships/down.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- args: - relationship: employee - table: - name: jobs - schema: public - type: drop_relationship -- args: - relationship: jobsByEmployeeCsr - table: - name: employees - schema: public - type: drop_relationship diff --git a/hasura/migrations/1620339458298_track_all_relationships/up.yaml b/hasura/migrations/1620339458298_track_all_relationships/up.yaml deleted file mode 100644 index f83554491..000000000 --- a/hasura/migrations/1620339458298_track_all_relationships/up.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- args: - name: employee - table: - name: jobs - schema: public - using: - foreign_key_constraint_on: employee_csr - type: create_object_relationship -- args: - name: jobsByEmployeeCsr - table: - name: employees - schema: public - using: - foreign_key_constraint_on: - column: employee_csr - table: - name: jobs - schema: public - type: create_array_relationship diff --git a/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/down.yaml b/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/down.yaml deleted file mode 100644 index a201ccfd8..000000000 --- a/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee_csr_rel - new_name: employee - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/up.yaml b/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/up.yaml deleted file mode 100644 index 2c694c033..000000000 --- a/hasura/migrations/1620339475544_rename_relationship_employee_to_employee_csr_rel_schema_public_table_jobs/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: employee - new_name: employee_csr_rel - table: - name: jobs - schema: public - type: rename_relationship diff --git a/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/down.yaml b/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/down.yaml deleted file mode 100644 index 57f49ec3e..000000000 --- a/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/down.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: jobsByEmployeeBody - new_name: jobs - table: - name: employees - schema: public - type: rename_relationship diff --git a/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/up.yaml b/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/up.yaml deleted file mode 100644 index b51b73d94..000000000 --- a/hasura/migrations/1620339507878_rename_relationship_jobs_to_jobsByEmployeeBody_schema_public_table_employees/up.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- args: - name: jobs - new_name: jobsByEmployeeBody - table: - name: employees - schema: public - type: rename_relationship diff --git a/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 1710da406..000000000 --- a/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index aa120c299..000000000 --- a/hasura/migrations/1620339722083_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_insert_permission -- args: - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - set: {} - role: user - table: - name: jobs - schema: public - type: create_insert_permission diff --git a/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index 211f64230..000000000 --- a/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,268 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index 2358b2b3c..000000000 --- a/hasura/migrations/1620339734806_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,268 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_select_permission -- args: - permission: - allow_aggregations: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - computed_fields: [] - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - role: user - table: - name: jobs - schema: public - type: create_select_permission diff --git a/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/down.yaml b/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/down.yaml deleted file mode 100644 index feed2e0f9..000000000 --- a/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/down.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - csr - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/up.yaml b/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/up.yaml deleted file mode 100644 index e9db7d0e7..000000000 --- a/hasura/migrations/1620339746168_update_permission_user_public_table_jobs/up.yaml +++ /dev/null @@ -1,267 +0,0 @@ -- args: - role: user - table: - name: jobs - schema: public - type: drop_update_permission -- args: - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - set: {} - role: user - table: - name: jobs - schema: public - type: create_update_permission diff --git a/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/down.yaml b/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/down.yaml deleted file mode 100644 index 45b7e688e..000000000 --- a/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/down.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ADD COLUMN "csr" text; - type: run_sql -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" ALTER COLUMN "csr" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/up.yaml b/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/up.yaml deleted file mode 100644 index b4f196cf1..000000000 --- a/hasura/migrations/1620339757814_alter_table_public_jobs_drop_column_csr/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."jobs" DROP COLUMN "csr" CASCADE; - type: run_sql diff --git a/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/down.yaml b/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/down.yaml deleted file mode 100644 index 2fb7052df..000000000 --- a/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/down.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "cost_center" SET NOT NULL; - type: run_sql diff --git a/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/up.yaml b/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/up.yaml deleted file mode 100644 index 43263e363..000000000 --- a/hasura/migrations/1620770615633_alter_table_public_vendors_alter_column_cost_center/up.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- args: - cascade: false - read_only: false - sql: ALTER TABLE "public"."vendors" ALTER COLUMN "cost_center" DROP NOT NULL; - type: run_sql diff --git a/hasura/migrations/metadata.yaml b/hasura/migrations/metadata.yaml deleted file mode 100644 index bc7da1736..000000000 --- a/hasura/migrations/metadata.yaml +++ /dev/null @@ -1,4495 +0,0 @@ -version: 2 -tables: -- table: - schema: public - name: allocations - object_relationships: - - name: employee - using: - foreign_key_constraint_on: employeeid - - name: jobline - using: - foreign_key_constraint_on: joblineid - insert_permissions: - - role: user - permission: - check: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - hours - - created_at - - updated_at - - employeeid - - id - - joblineid - select_permissions: - - role: user - permission: - columns: - - hours - - created_at - - updated_at - - employeeid - - id - - joblineid - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: [] - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - jobline: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: appointments - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - select_permissions: - - role: user - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - arrived - - block - - bodyshopid - - canceled - - color - - created_at - - end - - id - - isintake - - jobid - - start - - title - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: associations - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: shopid - - name: user - using: - foreign_key_constraint_on: useremail - select_permissions: - - role: user - permission: - columns: - - active - - authlevel - - default_prod_list_view - - id - - shopid - - useremail - filter: - user: - authid: - _eq: X-Hasura-User-Id - update_permissions: - - role: user - permission: - columns: - - active - - authlevel - - default_prod_list_view - filter: - bodyshop: - associations: - user: - authid: - _eq: X-Hasura-User-Id - check: null -- table: - schema: public - name: audit_trail - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: user - using: - foreign_key_constraint_on: useremail - select_permissions: - - role: user - permission: - columns: - - id - - new_val - - old_val - - operation - - schemaname - - tabname - - useremail - - created - - bodyshopid - - recordid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: available_jobs - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - cieca_id - - clm_amt - - clm_no - - created_at - - est_data - - id - - ins_co_nm - - issupplement - - jobid - - ownr_name - - source_system - - supplement_number - - updated_at - - uploaded_by - - vehicle_info - select_permissions: - - role: user - permission: - columns: - - bodyshopid - - cieca_id - - clm_amt - - clm_no - - created_at - - est_data - - id - - ins_co_nm - - issupplement - - jobid - - ownr_name - - source_system - - supplement_number - - updated_at - - uploaded_by - - vehicle_info - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - cieca_id - - clm_amt - - est_data - - ins_co_nm - - issupplement - - ownr_name - - source_system - - supplement_number - - uploaded_by - - vehicle_info - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: billlines - object_relationships: - - name: bill - using: - foreign_key_constraint_on: billid - - name: jobline - using: - foreign_key_constraint_on: joblineid - insert_permissions: - - role: user - permission: - check: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - select_permissions: - - role: user - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - actual_cost - - actual_price - - applicable_taxes - - billid - - cost_center - - created_at - - deductedfromlbr - - id - - joblineid - - lbr_adjustment - - line_desc - - quantity - - updated_at - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bill: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: bills - object_relationships: - - name: job - using: - foreign_key_constraint_on: jobid - - name: vendor - using: - foreign_key_constraint_on: vendorid - array_relationships: - - name: billlines - using: - foreign_key_constraint_on: - column: billid - table: - schema: public - name: billlines - - name: documents - using: - foreign_key_constraint_on: - column: billid - table: - schema: public - name: documents - - name: exportlogs - using: - foreign_key_constraint_on: - column: billid - table: - schema: public - name: exportlog - - name: parts_orders - using: - foreign_key_constraint_on: - column: returnfrombill - table: - schema: public - name: parts_orders - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - select_permissions: - - role: user - permission: - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - created_at - - date - - due_date - - exported - - exported_at - - federal_tax_rate - - id - - invoice_number - - is_credit_memo - - isinhouse - - jobid - - local_tax_rate - - state_tax_rate - - total - - updated_at - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - _and: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - exported: - _eq: false -- table: - schema: public - name: bodyshops - array_relationships: - - name: appointments - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: appointments - - name: associations - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: associations - - name: audit_trails - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: audit_trail - - name: available_jobs - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: available_jobs - - name: conversations - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: conversations - - name: counters - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: counters - - name: courtesycars - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: courtesycars - - name: csiinvites - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: csi - - name: csiquestions - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: csiquestions - - name: documents - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: documents - - name: employees - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: employees - - name: exportlogs - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: exportlog - - name: jobs - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: jobs - - name: owners - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: owners - - name: phonebooks - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: phonebook - - name: timetickets - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: timetickets - - name: vehicles - using: - foreign_key_constraint_on: - column: shopid - table: - schema: public - name: vehicles - - name: vendors - using: - foreign_key_constraint_on: - column: bodyshopid - table: - schema: public - name: vendors - select_permissions: - - role: user - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - enforce_referral - - federal_tax_id - - id - - imexshopid - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - jobsizelimit - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - messagingservicesid - - phone - - prodtargethrs - - production_config - - region_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - stripe_acct_id - - sub_status - - target_touchtime - - template_header - - textid - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - user: - authid: - _eq: X-Hasura-User-Id - update_permissions: - - role: user - permission: - columns: - - accountingconfig - - address1 - - address2 - - appt_alt_transport - - appt_colors - - appt_length - - bill_tax_rates - - city - - country - - created_at - - default_adjustment_rate - - deliverchecklist - - email - - enforce_class - - enforce_referral - - federal_tax_id - - id - - inhousevendorid - - insurance_vendor_id - - intakechecklist - - logo_img_path - - md_categories - - md_ccc_rates - - md_classes - - md_hour_split - - md_ins_cos - - md_labor_rates - - md_messaging_presets - - md_notes_presets - - md_order_statuses - - md_parts_locations - - md_payment_types - - md_rbac - - md_referral_sources - - md_responsibility_centers - - md_ro_statuses - - phone - - prodtargethrs - - production_config - - schedule_end_time - - schedule_start_time - - scoreboard_target - - shopname - - shoprates - - speedprint - - ssbuckets - - state - - state_tax_id - - target_touchtime - - updated_at - - use_fippa - - workingdays - - zip_post - filter: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null -- table: - schema: public - name: cccontracts - object_relationships: - - name: courtesycar - using: - foreign_key_constraint_on: courtesycarid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - select_permissions: - - role: user - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - actax - - actualreturn - - agreementnumber - - cleanupcharge - - contract_date - - courtesycarid - - coverage - - created_at - - dailyfreekm - - dailyrate - - damage - - damagewaiver - - driver_addr1 - - driver_addr2 - - driver_city - - driver_dlexpiry - - driver_dlnumber - - driver_dlst - - driver_dob - - driver_fn - - driver_ln - - driver_ph1 - - driver_state - - driver_zip - - excesskmrate - - federaltax - - fuelin - - fuelout - - id - - jobid - - kmend - - kmstart - - localtax - - refuelcharge - - scheduledreturn - - start - - statetax - - status - - updated_at - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - courtesycar: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: conversations - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - array_relationships: - - name: job_conversations - using: - foreign_key_constraint_on: - column: conversationid - table: - schema: public - name: job_conversations - - name: messages - using: - foreign_key_constraint_on: - column: conversationid - table: - schema: public - name: messages - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - phone_num - select_permissions: - - role: user - permission: - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - phone_num - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null -- table: - schema: public - name: counters - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: shopid -- table: - schema: public - name: courtesycars - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - array_relationships: - - name: cccontracts - using: - foreign_key_constraint_on: - column: courtesycarid - table: - schema: public - name: cccontracts - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - make - - model - - year - - plate - - color - - vin - - fleetnumber - - purchasedate - - servicestartdate - - serviceenddate - - leaseenddate - - status - - nextservicekm - - nextservicedate - - damage - - notes - - fuel - - registrationexpires - - insuranceexpires - - dailycost - - mileage - select_permissions: - - role: user - permission: - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - insuranceexpires - - leaseenddate - - nextservicedate - - purchasedate - - registrationexpires - - serviceenddate - - servicestartdate - - dailycost - - fuel - - mileage - - nextservicekm - - color - - damage - - fleetnumber - - make - - model - - notes - - plate - - status - - vin - - year - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: csi - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: csiquestion - using: - foreign_key_constraint_on: questionset - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - bodyshopid - - created_at - - id - - jobid - - questionset - - relateddata - - updated_at - - valid - - validuntil - select_permissions: - - role: anonymous - permission: - columns: - - id - - relateddata - - valid - - validuntil - filter: - valid: - _eq: true - limit: 1 - - role: user - permission: - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - questionset - - relateddata - - response - - updated_at - - valid - - validuntil - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: anonymous - permission: - columns: - - completedon - - response - - valid - filter: - valid: - _eq: true - check: null - - role: user - permission: - columns: - - bodyshopid - - completedon - - created_at - - id - - jobid - - relateddata - - updated_at - - valid - - validuntil - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null -- table: - schema: public - name: csiquestions - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - array_relationships: - - name: csis - using: - foreign_key_constraint_on: - column: questionset - table: - schema: public - name: csi - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - current - - config - - created_at - - updated_at - - bodyshopid - - id - select_permissions: - - role: anonymous - permission: - columns: - - config - - id - filter: {} - limit: 1 - - role: user - permission: - columns: - - current - - config - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - current - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null -- table: - schema: public - name: documents - object_relationships: - - name: bill - using: - foreign_key_constraint_on: billid - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - select_permissions: - - role: user - permission: - columns: - - billid - - bodyshopid - - created_at - - extension - - id - - jobid - - key - - name - - size - - type - - updated_at - - uploaded_by - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - extension - - key - - name - - type - - uploaded_by - - created_at - - updated_at - - billid - - bodyshopid - - id - - jobid - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - _or: - - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: employees - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: shopid - - name: user - using: - foreign_key_constraint_on: user_email - array_relationships: - - name: allocations - using: - foreign_key_constraint_on: - column: employeeid - table: - schema: public - name: allocations - - name: jobsByEmployeeBody - using: - foreign_key_constraint_on: - column: employee_body - table: - schema: public - name: jobs - - name: jobsByEmployeeCsr - using: - foreign_key_constraint_on: - column: employee_csr - table: - schema: public - name: jobs - - name: jobsByEmployeePrep - using: - foreign_key_constraint_on: - column: employee_prep - table: - schema: public - name: jobs - - name: jobsByEmployeeRefinish - using: - foreign_key_constraint_on: - column: employee_refinish - table: - schema: public - name: jobs - - name: timetickets - using: - foreign_key_constraint_on: - column: employeeid - table: - schema: public - name: timetickets - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - select_permissions: - - role: user - permission: - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - active - - created_at - - employee_number - - first_name - - flat_rate - - hire_date - - id - - last_name - - pin - - rates - - shopid - - termination_date - - updated_at - - user_email - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: exportlog - object_relationships: - - name: bill - using: - foreign_key_constraint_on: billid - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: job - using: - foreign_key_constraint_on: jobid - - name: payment - using: - foreign_key_constraint_on: paymentid - - name: user - using: - foreign_key_constraint_on: useremail - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - jobid - - billid - - paymentid - - successful - - message - - bodyshopid - - useremail - backend_only: false - select_permissions: - - role: user - permission: - columns: - - successful - - message - - useremail - - created_at - - updated_at - - billid - - bodyshopid - - id - - jobid - - paymentid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true -- table: - schema: public - name: ioevents -- table: - schema: public - name: job_conversations - object_relationships: - - name: conversation - using: - foreign_key_constraint_on: conversationid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - id - - jobid - select_permissions: - - role: user - permission: - columns: - - conversationid - - id - - jobid - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - conversationid - - jobid - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: joblines - object_relationships: - - name: job - using: - foreign_key_constraint_on: jobid - array_relationships: - - name: allocations - using: - foreign_key_constraint_on: - column: joblineid - table: - schema: public - name: allocations - - name: billlines - using: - foreign_key_constraint_on: - column: joblineid - table: - schema: public - name: billlines - - name: parts_order_lines - using: - foreign_key_constraint_on: - column: job_line_id - table: - schema: public - name: parts_order_lines - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - select_permissions: - - role: user - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - act_price - - alt_co_id - - alt_overrd - - alt_part_i - - alt_partm - - alt_partno - - bett_amt - - bett_pctg - - bett_tax - - bett_type - - cert_part - - created_at - - db_hrs - - db_price - - db_ref - - est_seq - - glass_flag - - id - - jobid - - lbr_amt - - lbr_hrs_j - - lbr_inc - - lbr_op - - lbr_op_j - - lbr_tax - - lbr_typ_j - - line_desc - - line_ind - - line_no - - line_ref - - location - - manual_line - - misc_amt - - misc_sublt - - misc_tax - - mod_lb_hrs - - mod_lbr_ty - - notes - - oem_partno - - op_code_desc - - paint_stg - - paint_tone - - part_qty - - part_type - - price_inc - - price_j - - profitcenter_labor - - profitcenter_part - - prt_dsmk_m - - prt_dsmk_p - - removed - - status - - sublet_completed - - sublet_ignored - - tax_part - - unq_seq - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: joblines_status - object_relationships: - - name: job - using: - manual_configuration: - remote_table: - schema: public - name: jobs - column_mapping: - jobid: id - select_permissions: - - role: user - permission: - columns: - - jobid - - status - - count - - part_type - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: jobs - object_relationships: - - name: bill - using: - manual_configuration: - remote_table: - schema: public - name: bills - column_mapping: - id: jobid - - name: bodyshop - using: - foreign_key_constraint_on: shopid - - name: employee_body_rel - using: - foreign_key_constraint_on: employee_body - - name: employee_csr_rel - using: - foreign_key_constraint_on: employee_csr - - name: employee_prep_rel - using: - foreign_key_constraint_on: employee_prep - - name: employee_refinish_rel - using: - foreign_key_constraint_on: employee_refinish - - name: owner - using: - foreign_key_constraint_on: ownerid - - name: vehicle - using: - foreign_key_constraint_on: vehicleid - array_relationships: - - name: appointments - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: appointments - - name: available_jobs - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: available_jobs - - name: bills - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: bills - - name: cccontracts - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: cccontracts - - name: csiinvites - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: csi - - name: documents - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: documents - - name: exportlogs - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: exportlog - - name: job_conversations - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: job_conversations - - name: joblines - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: joblines - - name: joblines_status - using: - manual_configuration: - remote_table: - schema: public - name: joblines_status - column_mapping: - id: jobid - - name: notes - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: notes - - name: parts_orders - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: parts_orders - - name: payments - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: payments - - name: scoreboards - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: scoreboard - - name: timetickets - using: - foreign_key_constraint_on: - column: jobid - table: - schema: public - name: timetickets - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - select_permissions: - - role: user - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - actual_completion - - actual_delivery - - actual_in - - adj_g_disc - - adj_strdis - - adj_towdis - - adjustment_bottom_line - - agt_addr1 - - agt_addr2 - - agt_city - - agt_co_id - - agt_co_nm - - agt_ct_fn - - agt_ct_ln - - agt_ct_ph - - agt_ct_phx - - agt_ctry - - agt_ea - - agt_fax - - agt_faxx - - agt_lic_no - - agt_ph1 - - agt_ph1x - - agt_ph2 - - agt_ph2x - - agt_st - - agt_zip - - alt_transport - - area_of_damage - - asgn_date - - asgn_no - - asgn_type - - ca_bc_pvrt - - ca_customer_gst - - ca_gst_registrant - - cat_no - - category - - cieca_stl - - cieca_ttl - - ciecaid - - class - - clm_addr1 - - clm_addr2 - - clm_city - - clm_ct_fn - - clm_ct_ln - - clm_ct_ph - - clm_ct_phx - - clm_ctry - - clm_ea - - clm_fax - - clm_faxx - - clm_no - - clm_ofc_id - - clm_ofc_nm - - clm_ph1 - - clm_ph1x - - clm_ph2 - - clm_ph2x - - clm_st - - clm_title - - clm_total - - clm_zip - - converted - - created_at - - cust_pr - - date_estimated - - date_exported - - date_invoiced - - date_open - - date_scheduled - - ded_amt - - ded_status - - deliverchecklist - - depreciation_taxes - - driveable - - employee_body - - employee_csr - - employee_prep - - employee_refinish - - est_addr1 - - est_addr2 - - est_city - - est_co_nm - - est_ct_fn - - est_ct_ln - - est_ctry - - est_ea - - est_ph1 - - est_st - - est_zip - - federal_tax_rate - - g_bett_amt - - id - - inproduction - - ins_addr1 - - ins_addr2 - - ins_city - - ins_co_id - - ins_co_nm - - ins_ct_fn - - ins_ct_ln - - ins_ct_ph - - ins_ct_phx - - ins_ctry - - ins_ea - - ins_fax - - ins_faxx - - ins_memo - - ins_ph1 - - ins_ph1x - - ins_ph2 - - ins_ph2x - - ins_st - - ins_title - - ins_zip - - insd_addr1 - - insd_addr2 - - insd_city - - insd_co_nm - - insd_ctry - - insd_ea - - insd_fax - - insd_faxx - - insd_fn - - insd_ln - - insd_ph1 - - insd_ph1x - - insd_ph2 - - insd_ph2x - - insd_st - - insd_title - - insd_zip - - intakechecklist - - invoice_allocation - - invoice_date - - job_totals - - kanbanparent - - kmin - - kmout - - labor_rate_desc - - labor_rate_id - - lbr_adjustments - - local_tax_rate - - loss_cat - - loss_date - - loss_desc - - loss_type - - other_amount_payable - - owner_owing - - ownerid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fax - - ownr_faxx - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph1x - - ownr_ph2 - - ownr_ph2x - - ownr_st - - ownr_title - - ownr_zip - - parts_tax_rates - - pay_amt - - pay_chknm - - pay_date - - pay_type - - payee_nms - - plate_no - - plate_st - - po_number - - policy_no - - production_vars - - queued_for_parts - - rate_la1 - - rate_la2 - - rate_la3 - - rate_la4 - - rate_laa - - rate_lab - - rate_lad - - rate_lae - - rate_laf - - rate_lag - - rate_lam - - rate_lar - - rate_las - - rate_lau - - rate_ma2s - - rate_ma2t - - rate_ma3s - - rate_mabl - - rate_macs - - rate_mahw - - rate_mapa - - rate_mash - - rate_matd - - referral_source - - regie_number - - ro_number - - scheduled_completion - - scheduled_delivery - - scheduled_in - - selling_dealer - - selling_dealer_contact - - servicing_dealer - - servicing_dealer_contact - - shopid - - special_coverage_policy - - state_tax_rate - - status - - storage_payable - - tax_lbr_rt - - tax_levies_rt - - tax_paint_mat_rt - - tax_predis - - tax_prethr - - tax_pstthr - - tax_registration_number - - tax_shop_mat_rt - - tax_str_rt - - tax_sub_rt - - tax_thramt - - tax_tow_rt - - theft_ind - - tlos_ind - - towin - - towing_payable - - unit_number - - updated_at - - v_color - - v_make_desc - - v_model_desc - - v_model_yr - - v_vin - - vehicleid - - voided - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: masterdata - select_permissions: - - role: anonymous - permission: - columns: - - key - - value - filter: {} - - role: user - permission: - columns: - - key - - value - filter: {} -- table: - schema: public - name: messages - object_relationships: - - name: conversation - using: - foreign_key_constraint_on: conversationid - - name: user - using: - foreign_key_constraint_on: userid - insert_permissions: - - role: user - permission: - check: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - select_permissions: - - role: user - permission: - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - - userid - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - conversationid - - created_at - - id - - image - - image_path - - isoutbound - - msid - - read - - status - - text - - updated_at - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - conversation: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: notes - object_relationships: - - name: job - using: - foreign_key_constraint_on: jobid - - name: user - using: - foreign_key_constraint_on: created_by - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - select_permissions: - - role: user - permission: - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - audit - - created_at - - created_by - - critical - - id - - jobid - - private - - text - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: owners - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: shopid - array_relationships: - - name: jobs - using: - foreign_key_constraint_on: - column: ownerid - table: - schema: public - name: jobs - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - ownr_fn - - ownr_ln - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_st - - ownr_zip - - ownr_ctry - - ownr_ea - - ownr_ph1 - - preferred_contact - - allow_text_message - - shopid - - ownr_ph2 - - ownr_co_nm - - ownr_title - - accountingid - select_permissions: - - role: user - permission: - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - allow_text_message - - accountingid - - ownr_addr1 - - ownr_addr2 - - ownr_city - - ownr_co_nm - - ownr_ctry - - ownr_ea - - ownr_fn - - ownr_ln - - ownr_ph1 - - ownr_ph2 - - ownr_st - - ownr_title - - ownr_zip - - preferred_contact - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: parts_order_lines - object_relationships: - - name: jobline - using: - foreign_key_constraint_on: job_line_id - - name: parts_order - using: - foreign_key_constraint_on: orderid - insert_permissions: - - role: user - permission: - check: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - select_permissions: - - role: user - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - act_price - - backordered_eta - - backordered_on - - cost - - created_at - - db_price - - id - - job_line_id - - line_desc - - line_remarks - - oem_partno - - orderid - - part_type - - quantity - - status - - updated_at - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - parts_order: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: parts_orders - object_relationships: - - name: bill - using: - foreign_key_constraint_on: returnfrombill - - name: job - using: - foreign_key_constraint_on: jobid - - name: user - using: - foreign_key_constraint_on: user_email - - name: vendor - using: - foreign_key_constraint_on: vendorid - array_relationships: - - name: parts_order_lines - using: - foreign_key_constraint_on: - column: orderid - table: - schema: public - name: parts_order_lines - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - returnfrombill - - status - - updated_at - - user_email - - vendorid - select_permissions: - - role: user - permission: - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - return - - returnfrombill - - status - - updated_at - - user_email - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - created_at - - deliver_by - - id - - jobid - - order_date - - order_number - - returnfrombill - - status - - updated_at - - user_email - - vendorid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: payments - object_relationships: - - name: job - using: - foreign_key_constraint_on: jobid - array_relationships: - - name: exportlogs - using: - foreign_key_constraint_on: - column: paymentid - table: - schema: public - name: exportlog - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - select_permissions: - - role: user - permission: - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - amount - - created_at - - date - - exportedat - - id - - jobid - - memo - - payer - - paymentnum - - stripeid - - transactionid - - type - - updated_at - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: phonebook - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - bodyshopid - - firstname - - lastname - - phone1 - - email - - address1 - - address2 - - city - - state - - zip - - country - - company - - phone2 - - fax - - category - backend_only: false - select_permissions: - - role: user - permission: - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - address1 - - address2 - - category - - city - - company - - country - - email - - fax - - firstname - - lastname - - phone1 - - phone2 - - state - - zip - - created_at - - updated_at - - bodyshopid - - id - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: scoreboard - object_relationships: - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - jobid - - painthrs - - bodyhrs - - date - backend_only: false - select_permissions: - - role: user - permission: - columns: - - date - - bodyhrs - - painthrs - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - date - - bodyhrs - - painthrs - - id - - jobid - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - job: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: timetickets - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - - name: employee - using: - foreign_key_constraint_on: employeeid - - name: job - using: - foreign_key_constraint_on: jobid - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - select_permissions: - - role: user - permission: - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - actualhrs - - bodyshopid - - ciecacode - - clockoff - - clockon - - cost_center - - created_at - - date - - employeeid - - id - - jobid - - memo - - productivehrs - - rate - - updated_at - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: users - object_relationships: - - name: employee - using: - manual_configuration: - remote_table: - schema: public - name: employees - column_mapping: - email: user_email - array_relationships: - - name: associations - using: - foreign_key_constraint_on: - column: useremail - table: - schema: public - name: associations - - name: audit_trails - using: - foreign_key_constraint_on: - column: useremail - table: - schema: public - name: audit_trail - - name: exportlogs - using: - foreign_key_constraint_on: - column: useremail - table: - schema: public - name: exportlog - - name: messages - using: - foreign_key_constraint_on: - column: userid - table: - schema: public - name: messages - - name: notes - using: - foreign_key_constraint_on: - column: created_by - table: - schema: public - name: notes - - name: parts_orders - using: - foreign_key_constraint_on: - column: user_email - table: - schema: public - name: parts_orders - insert_permissions: - - role: user - permission: - check: {} - columns: - - authid - - email - - fcmtokens - - validemail - select_permissions: - - role: user - permission: - columns: - - authid - - created_at - - dashboardlayout - - email - - fcmtokens - - updated_at - - validemail - filter: - associations: - bodyshop: - associations: - active: - _eq: true - update_permissions: - - role: user - permission: - columns: - - authid - - dashboardlayout - - email - - fcmtokens - filter: - authid: - _eq: X-Hasura-User-Id - check: null -- table: - schema: public - name: vehicles - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: shopid - array_relationships: - - name: jobs - using: - foreign_key_constraint_on: - column: vehicleid - table: - schema: public - name: jobs - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - id - - created_at - - updated_at - - v_vin - - v_make_desc - - v_model_desc - - v_model_yr - - v_color - - v_paint_codes - - v_bstyle - - v_engine - - shopid - - db_v_code - - plate_no - - plate_st - - v_cond - - v_prod_dt - - v_type - - v_trimcode - - trim_color - - v_mldgcode - - v_options - - v_tone - - v_stage - - v_makecode - select_permissions: - - role: user - permission: - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - v_paint_codes - - db_v_code - - plate_no - - plate_st - - trim_color - - v_bstyle - - v_color - - v_cond - - v_engine - - v_makecode - - v_make_desc - - v_mldgcode - - v_model_desc - - v_model_yr - - v_options - - v_prod_dt - - v_stage - - v_tone - - v_trimcode - - v_type - - v_vin - - created_at - - updated_at - - id - - shopid - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -- table: - schema: public - name: vendors - object_relationships: - - name: bodyshop - using: - foreign_key_constraint_on: bodyshopid - array_relationships: - - name: invoices - using: - foreign_key_constraint_on: - column: vendorid - table: - schema: public - name: bills - - name: parts_orders - using: - foreign_key_constraint_on: - column: vendorid - table: - schema: public - name: parts_orders - insert_permissions: - - role: user - permission: - check: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - select_permissions: - - role: user - permission: - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - allow_aggregations: true - update_permissions: - - role: user - permission: - columns: - - active - - bodyshopid - - city - - cost_center - - country - - created_at - - discount - - due_date - - email - - favorite - - id - - name - - phone - - state - - street1 - - street2 - - updated_at - - zip - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true - check: null - delete_permissions: - - role: user - permission: - filter: - bodyshop: - associations: - _and: - - user: - authid: - _eq: X-Hasura-User-Id - - active: - _eq: true -functions: -- function: - schema: public - name: search_bills -- function: - schema: public - name: search_cccontracts -- function: - schema: public - name: search_exportlog -- function: - schema: public - name: search_jobs -- function: - schema: public - name: search_owners -- function: - schema: public - name: search_payments -- function: - schema: public - name: search_phonebook -- function: - schema: public - name: search_vehicles