Sha256: 1bd63d55820fecb9f229584b591d33c7fbec253dfe0cae57d0f790dd1f50e32d
Contents?: true
Size: 477 Bytes
Versions: 9
Compression:
Stored size: 477 Bytes
Contents
class ChangeImagesToCreatedById < ActiveRecord::Migration def self.up add_column :images, :created_by_id, :integer add_column :images, :updated_by_id, :integer remove_column :images, :created_by remove_column :images, :updated_by end def self.down add_column :images, :created_by_id, :integer add_column :images, :updated_by_id, :integer remove_column :images, :created_by remove_column :images, :updated_by end end
Version data entries
9 entries across 9 versions & 1 rubygems