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:
@@ -4,7 +4,7 @@ class CreateSchools < ActiveRecord::Migration
|
|||||||
t.string :name
|
t.string :name
|
||||||
t.integer :score
|
t.integer :score
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class CreateWeights < ActiveRecord::Migration
|
|||||||
create_table :weights do |t|
|
create_table :weights do |t|
|
||||||
t.integer :max
|
t.integer :max
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ class CreateWrestlers < ActiveRecord::Migration
|
|||||||
t.integer :seed
|
t.integer :seed
|
||||||
t.integer :original_seed
|
t.integer :original_seed
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ class CreateTournaments < ActiveRecord::Migration
|
|||||||
t.string :director
|
t.string :director
|
||||||
t.string :director_email
|
t.string :director_email
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class DeviseCreateUsers < ActiveRecord::Migration
|
|||||||
# t.datetime :locked_at
|
# t.datetime :locked_at
|
||||||
|
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index :users, :email, :unique => true
|
add_index :users, :email, :unique => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class CreateMatches < ActiveRecord::Migration
|
|||||||
t.string :win_type
|
t.string :win_type
|
||||||
t.string :score
|
t.string :score
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ class CreateMats < ActiveRecord::Migration
|
|||||||
t.string :name
|
t.string :name
|
||||||
t.integer :tournament_id
|
t.integer :tournament_id
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user