mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
19 lines
401 B
Ruby
19 lines
401 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|