Sha256: 4093697b8b242d2d4f383cc58d37abfce4eaa26db4283a185cefc83f904c45a0
Contents?: true
Size: 391 Bytes
Versions: 5
Compression:
Stored size: 391 Bytes
Contents
class CreateEmailAccessCards < ActiveRecord::Migration[5.1] def change create_table :email_access_cards do |t| t.belongs_to :user_card, index: true, null: false, foreign_key: true t.string :value, null: true, index: true, unique: true t.boolean :active t.timestamps end add_index :email_access_cards, :value, name: :ivalue, type: :fulltext end end
Version data entries
5 entries across 5 versions & 1 rubygems