v1.0
This commit is contained in:
parent
0f43e98ef8
commit
d378468794
317 changed files with 11347 additions and 0 deletions
13
db/migrate/20110914221600_create_users_projects.rb
Normal file
13
db/migrate/20110914221600_create_users_projects.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
class CreateUsersProjects < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :users_projects do |t|
|
||||
t.integer :user_id, :null => false
|
||||
t.integer :project_id, :null => false
|
||||
t.boolean :read, :default => false
|
||||
t.boolean :write, :default => false
|
||||
t.boolean :admin, :default => false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue