Use only new hash syntax
This commit is contained in:
parent
3901973fd6
commit
5289f41eb5
72 changed files with 179 additions and 181 deletions
|
|
@ -1,17 +1,17 @@
|
|||
class CreateConferencesTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :conferences do |t|
|
||||
t.string :guid, :null => false
|
||||
t.string :title, :null => false
|
||||
t.string :short_title, :null => false
|
||||
t.string :guid, null: false
|
||||
t.string :title, null: false
|
||||
t.string :short_title, null: false
|
||||
t.string :social_tag
|
||||
t.string :contact_email, :null => false
|
||||
t.string :timezone, :null => false
|
||||
t.string :contact_email, null: false
|
||||
t.string :timezone, null: false
|
||||
t.string :html_export_path
|
||||
t.date :start_date, :null => false
|
||||
t.date :end_date, :null => false
|
||||
t.boolean :cfp_open, :default => false
|
||||
t.boolean :registration_open, :default => false
|
||||
t.date :start_date, null: false
|
||||
t.date :end_date, null: false
|
||||
t.boolean :cfp_open, default: false
|
||||
t.boolean :registration_open, default: false
|
||||
t.references :venue
|
||||
|
||||
t.timestamps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue