~cytrogen/masto-fe

ref: 1d557305d2fbd53a8a0e66af4e46ccc84d597ce8 masto-fe/db/migrate/20210221045109_create_rules.rb -rw-r--r-- 287 bytes
1d557305 — Nick Schonning Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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