Sha256: c038354b68d7aca2331e6e134e1c9fedf1da95729ed655a7969157043ce54c9c

Contents?: true

Size: 293 Bytes

Versions: 22

Compression:

Stored size: 293 Bytes

Contents

class CreateUser < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string  :name
      t.string  :user_name
      t.string  :email
      t.string  :role
      t.string  :role_groups
      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/dummy/db/migrate/001_create_user.rb
cantango-0.9.4.6 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.4.5 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.4.3 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.4.2 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.4.1 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.4 spec/dummy/db/migrate/001_create_user.rb
cantango-0.9.3.2 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9.5 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9.4 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9.3 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9.2 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9.1 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.9 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.8.1 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.8 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.7 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.6.2 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.6.1 spec/dummy/db/migrate/001_create_user.rb
cantango-0.8.6 spec/dummy/db/migrate/001_create_user.rb