Sha256: da63c35d13b829e3cd03112d31be0a3f689f2eafa18ac1120be2b0649e3d2ecc

Contents?: true

Size: 288 Bytes

Versions: 13

Compression:

Stored size: 288 Bytes

Contents

class CreateVendors < ActiveRecord::Migration
  def self.up
    create_table :vendors do |t|
      t.integer :id
      t.string :name
      t.string :url
      t.boolean :active
      t.text :description
      t.timestamps
    end
  end

  def self.down
    drop_table :vendors
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tabulatr-0.4.2 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.4.1 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.4.0 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.3.0 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.2.0 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.1.3 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.1.2 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.1.1 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.1.0 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.0.5 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.0.4 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.0.3 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb
tabulatr-0.0.2 spec/dummy_app/db/migrate/20110112151112_create_vendors.rb