Sha256: 14dc5ebeff97775de05bd8a6781a4eb0fcca89c512ec07e05f537f91b40f7aff
Contents?: true
Size: 1.25 KB
Versions: 218
Compression:
Stored size: 1.25 KB
Contents
class AddCompletedAtToUserCheckoutStat < ActiveRecord::Migration def self.up add_column :user_checkout_stats, :started_at, :datetime add_column :user_checkout_stats, :completed_at, :datetime add_index :user_checkout_stats, :state add_column :user_reserve_stats, :started_at, :datetime add_column :user_reserve_stats, :completed_at, :datetime add_index :user_reserve_stats, :state add_column :manifestation_checkout_stats, :started_at, :datetime add_column :manifestation_checkout_stats, :completed_at, :datetime add_index :manifestation_checkout_stats, :state add_column :manifestation_reserve_stats, :started_at, :datetime add_column :manifestation_reserve_stats, :completed_at, :datetime add_index :manifestation_reserve_stats, :state end def self.down remove_column :user_checkout_stats, :started_at remove_column :user_checkout_stats, :completed_at remove_column :user_reserve_stats, :started_at remove_column :user_reserve_stats, :completed_at remove_column :manifestation_checkout_stats, :started_at remove_column :manifestation_checkout_stats, :completed_at remove_column :manifestation_reserve_stats, :started_at remove_column :manifestation_reserve_stats, :completed_at end end
Version data entries
218 entries across 218 versions & 8 rubygems