diff options
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/20250118_164240_create_global_setting.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/migrations/20250118_164240_create_global_setting.php b/migrations/20250118_164240_create_global_setting.php new file mode 100644 index 0000000..af51fb9 --- /dev/null +++ b/migrations/20250118_164240_create_global_setting.php @@ -0,0 +1,13 @@ +<?php + +use \Digitigrade\Db\Migrator; + +Migrator::getInstance()->register(20250118_164240, function (PDO $db) { + // global settings table + $db->exec(<<<END + CREATE TABLE global_setting ( + name text primary key, + value text not null + ); + END); +}); |
