diff options
Diffstat (limited to 'db/migrate/20240320145033_create_globals.rb')
| -rw-r--r-- | db/migrate/20240320145033_create_globals.rb | 11 |
1 files changed, 11 insertions, 0 deletions
| diff --git a/db/migrate/20240320145033_create_globals.rb b/db/migrate/20240320145033_create_globals.rb new file mode 100644 index 0000000..6ac9a29 --- /dev/null +++ b/db/migrate/20240320145033_create_globals.rb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | class CreateGlobals < ActiveRecord::Migration[7.1] | ||
| 2 | def change | ||
| 3 | create_table :globals do |t| | ||
| 4 | t.string :key | ||
| 5 | t.string :string_value | ||
| 6 | t.integer :int_value | ||
| 7 | |||
| 8 | t.timestamps | ||
| 9 | end | ||
| 10 | end | ||
| 11 | end | ||
