Sha256: e82a14c82dc1559fee566eba37ea20688be552f94b098106c6730d2c0199f9ba

Contents?: true

Size: 368 Bytes

Versions: 10

Compression:

Stored size: 368 Bytes

Contents

class CreateParentResources < ActiveRecord::Migration
  def change
    create_table :parent_resources do |t|
      t.boolean :r_boolean
      t.date :r_date
      t.datetime :r_datetime
      t.decimal :r_decimal
      t.float :r_float
      t.integer :r_integer
      t.string :r_string
      t.text :r_text
      t.time :r_time

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rubber_stamp-0.15.1 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
rubber_stamp-0.13.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.12.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.11.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.10.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.9.2 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.9.1 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.9.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.8.0 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb
controlled_versioning-0.7.2 spec/dummy/db/migrate/20140117222840_create_parent_resources.rb