Sha256: b2fc6075d68d89ce3bea00ca3909092b818047db2c6fabaaab12c6ef7117c8f1
Contents?: true
Size: 412 Bytes
Versions: 5
Compression:
Stored size: 412 Bytes
Contents
class CreateNicknameAccessCards < ActiveRecord::Migration[5.1] def change create_table :nickname_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: 14 t.boolean :active t.timestamps end add_index :nickname_access_cards, :value, name: :ivalue, type: :fulltext end end
Version data entries
5 entries across 5 versions & 1 rubygems