Use only new hash syntax
This commit is contained in:
parent
3901973fd6
commit
5289f41eb5
72 changed files with 179 additions and 181 deletions
|
|
@ -1,19 +1,19 @@
|
|||
class CreateEventsTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :events do |t|
|
||||
t.string :guid, :null => false
|
||||
t.string :guid, null: false
|
||||
t.references :conference
|
||||
t.references :event_type
|
||||
t.string :title, :null => false
|
||||
t.string :title, null: false
|
||||
t.string :subtitle
|
||||
t.integer :time_slots
|
||||
t.string :state, :null => false, :default => "new"
|
||||
t.string :progress, :null => false, :default => "new"
|
||||
t.string :state, null: false, default: "new"
|
||||
t.string :progress, null: false, default: "new"
|
||||
t.string :language
|
||||
t.datetime :start_time
|
||||
t.text :abstract
|
||||
t.text :description
|
||||
t.boolean :public, :default => true
|
||||
t.boolean :public, default: true
|
||||
t.string :logo_file_name
|
||||
t.string :logo_content_type
|
||||
t.integer :logo_file_size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue