Sha256: 7813d6c2010a5b2e94b70b11e46fde4a0d78bfa2dec10e4e583a8fc8a2162ac4
Contents?: true
Size: 476 Bytes
Versions: 5
Compression:
Stored size: 476 Bytes
Contents
class CreatePhoneAccessCards < ActiveRecord::Migration[5.1] def change create_table :phone_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, limit: 24 t.integer :verified, null: true, index: true, limit: 1, default: 0 t.boolean :active t.timestamps end add_index :phone_access_cards, :value, name: :ivalue, type: :fulltext end end
Version data entries
5 entries across 5 versions & 1 rubygems