Sha256: f374fa2246e95677fd1a820a8a1c2e0ddcfe5a28d0905da990c375da2eb5cbbe

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

class CreateTables < ActiveRecord::Migration
  def self.up
    create_table "companies", :force => true do |t|
      t.string "name"
      t.string "my_step"
      t.integer "code"
      t.string "city"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    create_table "users", :force => true do |t|
      t.string "first_name"
      t.string "current_step"
      t.integer "last_name"
      t.datetime "created_at"
      t.datetime "updated_at"
    end
  end

  def self.down
    drop_table "companies"
    drop_table "users"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stepper-0.2.0 test/rails_app/db/migrate/20110928102949_create_tables.rb
stepper-0.1.0 test/rails_app/db/migrate/20110928102949_create_tables.rb
stepper-0.0.4 test/rails_app/db/migrate/20110928102949_create_tables.rb
stepper-0.0.3 test/rails_app/db/migrate/20110928102949_create_tables.rb
stepper-0.0.1 test/rails_app/db/migrate/20110928102949_create_tables.rb