Sha256: 56d09f3e1d85933c626736ef92570ddb34faf5ca2588b4c77666522538298061
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
class Counters < ActiveRecord::Migration def self.up create_table :counters do |t| t.integer :counter t.integer :counter_last_day t.integer :counter_last_2_days t.integer :counter_last_monday t.integer :counter_last_tuesday t.integer :counter_last_wednesday t.string :counter_data, :limit => 2048 end end def self.down drop_table :counters end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
periodic_counter-0.1.3 | spec/db/migrate/001_counters.rb |