Sha256: 90f7dc37012c4f36e00dd7d6c03371eb1a0f1dfc7cd974cd38bc6ccae2c85525

Contents?: true

Size: 198 Bytes

Versions: 44

Compression:

Stored size: 198 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column :name, :string, :null => false
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

44 entries across 30 versions & 2 rubygems

Version Path
roles_active_record-0.2.0 spec/migrations/users/001_create_users.rb
roles_active_record-0.2.0 sandbox/migrate/20102507_create_users.rb
roles_active_record-0.1.0 sandbox/migrate/20102507_create_users.rb
roles_active_record-0.1.0 spec/migrations/users/001_create_users.rb