Sha256: bb81db0235d76a4d2cfe3e2a68774771b034bc39692bc838647a1d8bfa9f22f4
Contents?: true
Size: 421 Bytes
Versions: 11
Compression:
Stored size: 421 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration def change create_table :mailkick_opt_outs do |t| t.string :email t.integer :user_id t.string :user_type t.boolean :active, null: false, default: true t.string :reason t.string :list t.timestamps end add_index :mailkick_opt_outs, :email add_index :mailkick_opt_outs, [:user_id, :user_type] end end
Version data entries
11 entries across 11 versions & 1 rubygems