mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-24 09:48:32 +02:00
feat: database migrations
This commit is contained in:
7
common/schemas/script_migration.surql
Normal file
7
common/schemas/script_migration.surql
Normal file
@@ -0,0 +1,7 @@
|
||||
DEFINE TABLE OVERWRITE script_migration SCHEMAFULL
|
||||
PERMISSIONS
|
||||
FOR select FULL
|
||||
FOR create, update, delete NONE;
|
||||
|
||||
DEFINE FIELD OVERWRITE script_name ON script_migration TYPE string;
|
||||
DEFINE FIELD OVERWRITE executed_at ON script_migration TYPE datetime VALUE time::now() READONLY;
|
||||
Reference in New Issue
Block a user