Sha256: aa4b4cf10eed14cfd46f30685e2856be511024b0ef25b42bae2612ea58e54670

Contents?: true

Size: 243 Bytes

Versions: 22

Compression:

Stored size: 243 Bytes

Contents

class CreateUser < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string  :name
      t.string  :role      
      t.string  :email
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
cantango-0.9.4.7 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4.6 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4.5 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4.3 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4.2 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4.1 spec/active_record/migrations/001_create_user.rb
cantango-0.9.4 spec/active_record/migrations/001_create_user.rb
cantango-0.9.3.2 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9.5 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9.4 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9.3 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9.2 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9.1 spec/active_record/migrations/001_create_user.rb
cantango-0.8.9 spec/active_record/migrations/001_create_user.rb
cantango-0.8.8.1 spec/active_record/migrations/001_create_user.rb
cantango-0.8.8 spec/active_record/migrations/001_create_user.rb
cantango-0.8.7 spec/active_record/migrations/001_create_user.rb
cantango-0.8.6.2 spec/active_record/migrations/001_create_user.rb
cantango-0.8.6.1 spec/active_record/migrations/001_create_user.rb
cantango-0.8.6 spec/active_record/migrations/001_create_user.rb