diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-02-21 19:50:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 19:50:12 +0100 |
commit | 8331fdf7e0ea85ecc6d7dbff00b784bb6aa1f7d4 (patch) | |
tree | 044e1475cb6e31c5c33d02a4220c95f080667c59 /db/migrate | |
parent | dcc7c686f3c4c85ebb8a3e6d5a861fc530c1840d (diff) |
Add server rules (#15769)
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20210221045109_create_rules.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20210221045109_create_rules.rb b/db/migrate/20210221045109_create_rules.rb new file mode 100644 index 000000000..abe2fd42a --- /dev/null +++ b/db/migrate/20210221045109_create_rules.rb @@ -0,0 +1,11 @@ +class CreateRules < ActiveRecord::Migration[5.2] + def change + create_table :rules do |t| + t.integer :priority, null: false, default: 0 + t.datetime :deleted_at + t.text :text, null: false, default: '' + + t.timestamps + end + end +end |