Sha256: f0543f8dcf01fdd1023386cd3f0bb8bf8e9ed6973925c09c4871de64a59f6e74
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
class CreateMeterCatMeters < ActiveRecord::Migration def change create_table :meter_cat_meters do |t| t.string :name, :limit => 64, :null => false t.date :created_on t.integer :value, :default => 0 t.integer :lock_version, :default => 0 t.datetime :created_at t.index [ :created_on, :name ], :unique => true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meter_cat-0.0.7 | db/migrate/20130904180803_create_meter_cat_meters.rb |
meter_cat-0.0.6 | db/migrate/20130904180803_create_meter_cat_meters.rb |