20210221045109_create_rules.rb 256 B

1234567891011
  1. class CreateRules < ActiveRecord::Migration[5.2]
  2. def change
  3. create_table :rules do |t|
  4. t.integer :priority, null: false, default: 0
  5. t.datetime :deleted_at
  6. t.text :text, null: false, default: ''
  7. t.timestamps
  8. end
  9. end
  10. end