Sha256: b78bd4e0e07737393b157154611bea1347c2254d8f98de6c604788abe77da253

Contents?: true

Size: 187 Bytes

Versions: 11

Compression:

Stored size: 187 Bytes

Contents

class CreateModel < ActiveRecord::Migration

  def self.up
    create_table :models do |t|
      t.string :string_field
    end
  end

  def self.down
    drop_table :models
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rspec_candy-0.2.7 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.6 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.5 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.4 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.3 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.2 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.1 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.2.0 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.1.2 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.1.1 spec/shared/app_root/db/migrate/001_create_model.rb
rspec_candy-0.1.0 spec/shared/app_root/db/migrate/001_create_model.rb