Sha256: fb263f6a07af551377abadc599a1bf05d0f2b0ee39289f60fe6331ef4aa7e350
Contents?: true
Size: 974 Bytes
Versions: 6
Compression:
Stored size: 974 Bytes
Contents
class ChangeVariantsAddUpdatedBy < ActiveRecord::Migration def self.up add_column :shop_variants, :created_by_id, :integer add_column :shop_variants, :updated_by_id, :integer add_column :shop_variants, :created_at, :datetime add_column :shop_variants, :updated_at, :datetime add_column :shop_groups, :created_by_id, :integer add_column :shop_groups, :updated_by_id, :integer add_column :shop_groups, :created_at, :datetime add_column :shop_groups, :updated_at, :datetime end def self.down remove_column :shop_variants, :created_by_id remove_column :shop_variants, :created_by_id remove_column :shop_variants, :created_at remove_column :shop_variants, :updated_at remove_column :shop_groups, :created_by_id remove_column :shop_groups, :created_by_id remove_column :shop_groups, :created_at remove_column :shop_groups, :updated_at end end
Version data entries
6 entries across 6 versions & 1 rubygems