From f54937e9feccd92f28e4d56416efc744e650b695 Mon Sep 17 00:00:00 2001 From: "R.J. Osborne" Date: Thu, 14 May 2015 20:03:06 -0400 Subject: [PATCH] Fixed deprecation warnings from migrations --- db/migrate/20131231134936_create_schools.rb | 2 +- db/migrate/20131231134955_create_weights.rb | 2 +- db/migrate/20131231135039_create_wrestlers.rb | 2 +- db/migrate/20140120175252_create_tournaments.rb | 2 +- db/migrate/20140122030856_devise_create_users.rb | 2 +- db/migrate/20140124174110_create_matches.rb | 2 +- db/migrate/20140125065007_create_mats.rb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/db/migrate/20131231134936_create_schools.rb b/db/migrate/20131231134936_create_schools.rb index 3849f8d..eb0a252 100644 --- a/db/migrate/20131231134936_create_schools.rb +++ b/db/migrate/20131231134936_create_schools.rb @@ -4,7 +4,7 @@ class CreateSchools < ActiveRecord::Migration t.string :name t.integer :score - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20131231134955_create_weights.rb b/db/migrate/20131231134955_create_weights.rb index e3e29ef..d082d7b 100644 --- a/db/migrate/20131231134955_create_weights.rb +++ b/db/migrate/20131231134955_create_weights.rb @@ -3,7 +3,7 @@ class CreateWeights < ActiveRecord::Migration create_table :weights do |t| t.integer :max - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20131231135039_create_wrestlers.rb b/db/migrate/20131231135039_create_wrestlers.rb index 754b75c..77aa744 100644 --- a/db/migrate/20131231135039_create_wrestlers.rb +++ b/db/migrate/20131231135039_create_wrestlers.rb @@ -7,7 +7,7 @@ class CreateWrestlers < ActiveRecord::Migration t.integer :seed t.integer :original_seed - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20140120175252_create_tournaments.rb b/db/migrate/20140120175252_create_tournaments.rb index 1952d5f..3bbcb9b 100644 --- a/db/migrate/20140120175252_create_tournaments.rb +++ b/db/migrate/20140120175252_create_tournaments.rb @@ -6,7 +6,7 @@ class CreateTournaments < ActiveRecord::Migration t.string :director t.string :director_email - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20140122030856_devise_create_users.rb b/db/migrate/20140122030856_devise_create_users.rb index ab71c3d..6e5e27c 100644 --- a/db/migrate/20140122030856_devise_create_users.rb +++ b/db/migrate/20140122030856_devise_create_users.rb @@ -31,7 +31,7 @@ class DeviseCreateUsers < ActiveRecord::Migration # t.datetime :locked_at - t.timestamps + t.timestamps null: true end add_index :users, :email, :unique => true diff --git a/db/migrate/20140124174110_create_matches.rb b/db/migrate/20140124174110_create_matches.rb index fb24169..c6023dd 100644 --- a/db/migrate/20140124174110_create_matches.rb +++ b/db/migrate/20140124174110_create_matches.rb @@ -9,7 +9,7 @@ class CreateMatches < ActiveRecord::Migration t.string :win_type t.string :score - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20140125065007_create_mats.rb b/db/migrate/20140125065007_create_mats.rb index 8dadf67..27ac2e0 100644 --- a/db/migrate/20140125065007_create_mats.rb +++ b/db/migrate/20140125065007_create_mats.rb @@ -4,7 +4,7 @@ class CreateMats < ActiveRecord::Migration t.string :name t.integer :tournament_id - t.timestamps + t.timestamps null: true end end end