Sha256: 8279479e6265c8dfb6ac6eeeb043af888c31421557c859622d934b247c30d094
Contents?: true
Size: 644 Bytes
Versions: 80
Compression:
Stored size: 644 Bytes
Contents
class AddSeparatedEntryTimes < ActiveRecord::Migration def self.up add_column :appstats_entries, :year, :int add_column :appstats_entries, :month, :int add_column :appstats_entries, :day, :int add_column :appstats_entries, :hour, :int add_column :appstats_entries, :minute, :int add_column :appstats_entries, :second, :int end def self.down remove_column :appstats_entries, :year remove_column :appstats_entries, :month remove_column :appstats_entries, :day remove_column :appstats_entries, :hour remove_column :appstats_entries, :minute remove_column :appstats_entries, :second end end
Version data entries
80 entries across 80 versions & 1 rubygems