Sha256: eab7a62e6a9a8be33cf659155774357054e435ed70304f06387731722db1da8b
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
# This migration comes from spree (originally 20151117063249) class ConvertHabtmToHmtForPropertiesPrototypes < ActiveRecord::Migration def up add_column :spree_properties_prototypes, :id, :primary_key add_column :spree_properties_prototypes, :created_at, :datetime add_column :spree_properties_prototypes, :updated_at, :datetime rename_table :spree_properties_prototypes, :spree_property_prototypes end def down rename_table :spree_property_prototypes, :spree_properties_prototypes remove_column :spree_properties_prototypes, :id, :primary_key remove_column :spree_properties_prototypes, :created_at, :datetime remove_column :spree_properties_prototypes, :updated_at, :datetime end end
Version data entries
2 entries across 2 versions & 1 rubygems