Sha256: 899e148fb369e4da412c7bf9cdc15f10542dbd33f6e6189f9758895734c7be63

Contents?: true

Size: 426 Bytes

Versions: 16

Compression:

Stored size: 426 Bytes

Contents

class CreateCensorBearModLogs < ActiveRecord::Migration[6.1]
  def change
    create_table :censor_bear_mod_logs do |t|
      t.bigint :record_id
      t.string :record_type
      t.text :content
      t.string :reason
      t.string :mod_words, array: true, default: []
      t.integer :status, default: 0
      t.bigint :user_id

      t.timestamps

      t.index %w[record_type record_id], using: :btree
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
censor_bear-0.1.15 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.14 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.13 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.12 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.11 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.10 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.9 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.8 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.7 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.6 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.5 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.4 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.3 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.2 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.1 db/migrate/20211129110218_create_censor_bear_mod_logs.rb
censor_bear-0.1.0 db/migrate/20211129110218_create_censor_bear_mod_logs.rb