Sha256: 5c5c5703d5de790df465adccdb3f211ffbe3209833abad39441c5b3af25af961
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
class CreateFoos < ActiveRecord::Migration def self.up create_table :foos do |t| t.string :name t.boolean :active t.string :style t.datetime :due_date t.string :country t.timestamps end end def self.down drop_table :foos end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mir_extensions-1.1.0 | db/migrate/20100801224509_create_foos.rb |
mir_extensions-1.0.0 | db/migrate/20100801224509_create_foos.rb |