Sha256: 5183cab902b3a7c4a82944be69224fcfdd5240aa0df66ca5e206f5d68f591a27
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
class CreateFurnitures < ActiveRecord::Migration def self.up create_table :furnitures do |t| t.column :name, :string, :limit => 64, :null => false t.column :furniture_key, :string, :limit => 36, :null => false t.column :sim, :string, :limit => 64, :null => false t.column :position, :string, :limit => 40, :null => false t.column :delay, :integer, :null => false, :default => 30 t.column :created_at, :datetime t.column :updated_at, :datetime end end def self.down drop_table :furnitures end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
advertnet-1.0.0 | db/migrate/002_create_furnitures.rb |
advertnet-1.0.1 | db/migrate/002_create_furnitures.rb |