Sha256: d73368c2e987ad6411721e2a88ae1b9c9a710633a8161b9457c8d78951d64256

Contents?: true

Size: 368 Bytes

Versions: 10

Compression:

Stored size: 368 Bytes

Contents

class CreateUserObserver < ActiveRecord::Migration[5.1]
  def self.up
    add_column :assets, :created_by, :integer
    add_column :assets, :updated_by, :integer
    add_column :assets, :created_at, :datetime
    add_column :assets, :updated_at, :datetime
  end
  
  def self.down
    remove_column :assets, :created_by
    remove_column :assets, :updated_by
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
trusty-cms-3.3.2 db/migrate/030_create_user_observer.rb
trusty-cms-3.3.1 db/migrate/030_create_user_observer.rb
trusty-cms-3.2.1 db/migrate/030_create_user_observer.rb
trusty-cms-3.3.0 db/migrate/030_create_user_observer.rb
trusty-cms-3.2.0 db/migrate/030_create_user_observer.rb
trusty-clipped-extension-3.1.4 db/migrate/003_create_user_observer.rb
trusty-clipped-extension-3.1.3 db/migrate/003_create_user_observer.rb
trusty-clipped-extension-3.1.2 db/migrate/003_create_user_observer.rb
trusty-clipped-extension-3.1.1 db/migrate/003_create_user_observer.rb
trusty-clipped-extension-3.1.0 db/migrate/003_create_user_observer.rb