Sha256: a35db445d96ce85f3c0a872e02397c2016554e2a6432c9f77d3c72f22b2f6650

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

class CreateCompanies < ActiveRecord::Migration
  def self.up
    create_table :companies do |t|
      t.column :name, :string, :null => false
    end
  end
  
  def self.down
    drop_table :companies
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plugin_migrations-0.1.2 test/app_root/vendor/plugins/plugin_with_migrations/db/migrate/001_create_companies.rb