Sha256: 0cf7ca378a689b4574961e39a4dc945333fd8417bfb7270ecb3db42b36e658be

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

class InitializeDb < ActiveRecord::Migration
  
  def change
    create_table :users, :force => true do |t|
      t.integer     :roles_mask
    end
    create_table :user_without_roles, :force => true do |t|
      t.integer     :roles_mask
    end
    create_table :user_without_role_masks, :force => true do |t|
    end
  
    create_table :members, :force => true do |t|
      t.references :user
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
canard-0.3.5 test/dummy/db/migrate/20120430083231_initialize_db.rb
canard-0.3.4 test/dummy/db/migrate/20120430083231_initialize_db.rb
canard-0.3.2 test/dummy/db/migrate/20120430083231_initialize_db.rb