Sha256: 60b58ac102492efc2cd3ade4b00014e0fcbc6a35c33411013dcbc664f0f37956
Contents?: true
Size: 531 Bytes
Versions: 153
Compression:
Stored size: 531 Bytes
Contents
class CreateMintedIds < ActiveRecord::Migration def up unless table_exists?("minted_ids") create_table "minted_ids" do |t| t.string "minted_id" t.string "referent" t.datetime "created_at" t.datetime "updated_at" end add_index "minted_ids", ["minted_id"], name: "index_minted_ids_on_minted_id", unique: true add_index "minted_ids", ["referent"], name: "index_minted_ids_on_referent" end end def down raise ActiveRecord::IrreversibleMigration end end
Version data entries
153 entries across 153 versions & 1 rubygems