Sha256: ccc3e0554d7b9149e32ac76db69622725e08dbfc41a2c06e41bb957b1792829a

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

require_relative './migration_helper'

class CreateVehicles < MigrationHelper.migration_base_class
  def change
    create_table :vehicles do |t|
      t.string  :name
      t.integer :mass

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dbview_cti-0.2.3 spec/dummy-rails-3/db/migrate/20130711214909_create_vehicles.rb