Dropped templates table. IO-585

This commit is contained in:
Patrick Fic
2021-01-08 09:27:30 -08:00
parent 288bdf89a4
commit 7911e66181
3 changed files with 6 additions and 99 deletions

View File

@@ -0,0 +1,5 @@
- args:
cascade: true
read_only: false
sql: DROP TABLE "public"."templates";
type: run_sql

View File

@@ -672,13 +672,6 @@ tables:
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:
@@ -3616,98 +3609,6 @@ tables:
_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