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.5.1 spec/migrations/users/001_create_users.rb
roles_active_record-0.5.0 spec/migrations/users/001_create_users.rb
active_service-0.0.1 db/migrate/001_create_users.rb
roles_active_record-0.4.9 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.8 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.7 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.6.4 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.6.3 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.6.2 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.6.1 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.6 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.5 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.4 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.3 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.2 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.1 spec/migrations/users/001_create_users.rb
roles_active_record-0.4.0 sandbox/migrate/20102507_create_users.rb
roles_active_record-0.4.0 spec/migrations/users/001_create_users.rb
roles_active_record-0.3.6 sandbox/migrate/20102507_create_users.rb
roles_active_record-0.3.6 spec/migrations/users/001_create_users.rb