20210221045109_create_rules.rb 287 B

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