1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed deprecation warnings from migrations

This commit is contained in:
R.J. Osborne
2015-05-14 20:03:06 -04:00
parent 932944ffc9
commit f54937e9fe
7 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ class CreateSchools < ActiveRecord::Migration
t.string :name
t.integer :score
t.timestamps
t.timestamps null: true
end
end
end

View File

@@ -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

View File

@@ -7,7 +7,7 @@ class CreateWrestlers < ActiveRecord::Migration
t.integer :seed
t.integer :original_seed
t.timestamps
t.timestamps null: true
end
end
end

View File

@@ -6,7 +6,7 @@ class CreateTournaments < ActiveRecord::Migration
t.string :director
t.string :director_email
t.timestamps
t.timestamps null: true
end
end
end

View File

@@ -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

View File

@@ -9,7 +9,7 @@ class CreateMatches < ActiveRecord::Migration
t.string :win_type
t.string :score
t.timestamps
t.timestamps null: true
end
end
end

View File

@@ -4,7 +4,7 @@ class CreateMats < ActiveRecord::Migration
t.string :name
t.integer :tournament_id
t.timestamps
t.timestamps null: true
end
end
end