First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
15
db/migrate/20121223115117_create_rooms_table.rb
Normal file
15
db/migrate/20121223115117_create_rooms_table.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class CreateRoomsTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :rooms do |t|
|
||||
t.string :guid, :null => false
|
||||
t.references :conference
|
||||
t.string :name, :null => false
|
||||
t.integer :size
|
||||
t.boolean :public, :default => true
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :rooms
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue