Use only new hash syntax

This commit is contained in:
Artem Chernikov 2014-07-21 14:49:05 +02:00
parent 3901973fd6
commit 5289f41eb5
72 changed files with 179 additions and 181 deletions

View file

@ -1,10 +1,10 @@
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.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