Sha256: 4240d18f0869cbc198488e39fc6bf6911e81c9d45a72f3cffd89aaac66f21281
Contents?: true
Size: 524 Bytes
Versions: 19
Compression:
Stored size: 524 Bytes
Contents
class CreateProvinces < ActiveRecord::Migration def up create_table "provinces" do |t| t.string "title" t.string "code" t.integer "country_id" t.datetime "created_at" t.datetime "updated_at" end add_index "provinces", ["code"], :name => "index_provinces_on_code" add_index "provinces", ["country_id"], :name => "index_provinces_on_country_id" add_index "provinces", ["title"], :name => "index_provinces_on_title" end def down drop_table :provinces end end
Version data entries
19 entries across 19 versions & 1 rubygems