Sha256: ecf42287f6805b43bb091481d15b288b77d3ba60eae55aaab0467dd82641b450
Contents?: true
Size: 748 Bytes
Versions: 42
Compression:
Stored size: 748 Bytes
Contents
class RemoveClassificationsAndClassifiers < ActiveRecord::Migration def self.up drop_table "classifications" drop_table "classifiers" end def self.down create_table "classifications", :force => true do |t| t.integer "owner_id" t.integer "target_id" t.datetime "created_at" t.datetime "updated_at" end add_index "classifications", ["owner_id", "target_id"], :name => "ix_classifications_fk" create_table "classifiers", :force => true do |t| t.string "title" t.string "description" t.string "notation" t.datetime "created_at" t.datetime "updated_at" end add_index "classifiers", ["notation"], :name => "ix_classifiers_on_notation" end end
Version data entries
42 entries across 42 versions & 1 rubygems