0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/tables/_after_all.sql

15 lines
303 B
MySQL
Raw Normal View History

2023-02-08 05:58:45 -05:00
/* This SQL will run after all other queries. */
grant select, insert, update, delete
on all tables
in schema public
to logto_tenant_${database};
revoke all privileges
on table tenants
from logto_tenant_${database};
revoke all privileges
on table systems
from logto_tenant_${database};