Sha256: 263daea93e4f54392bbb6da4b1686f658afde0701d37ba57d7ba8fa081ff714b

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

class CreateActiveRecordOrmPrimals < ActiveRecord::Migration
  def change
    create_table :active_record_orm_primals do |t|
      t.string :string_field
      t.text :text_field
      t.string :select_field
      t.integer :integer_field
      t.float :float_field
      t.decimal :decimal_field
      t.datetime :datetime_field
      t.timestamp :timestamp_field
      t.time :time_field
      t.date :date_field
      t.boolean :boolean_field
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/db/migrate/20110930183902_create_active_record_orm_primals.rb
puffer-0.1.0 spec/dummy/db/migrate/20110930183902_create_active_record_orm_primals.rb
puffer-0.0.32 spec/dummy/db/migrate/20110930183902_create_active_record_orm_primals.rb
puffer-0.0.31 spec/dummy/db/migrate/20110930183902_create_active_record_orm_primals.rb
puffer-0.0.30 spec/dummy/db/migrate/20110930183902_create_active_record_orm_primals.rb