First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
17
db/migrate/20121224144728_create_cfp_table.rb
Normal file
17
db/migrate/20121224144728_create_cfp_table.rb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
class CreateCfpTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :call_for_papers do |t|
|
||||
t.date :start_date, :null => false
|
||||
t.date :end_date, :null => false
|
||||
t.date :hard_deadline, :null => false
|
||||
t.text :description, :null => false
|
||||
t.references :conference
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :call_for_papers
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue