mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-14 01:26:37 +00:00
Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs. Foreign key constraints are now added to the migrations where we do belongs_to.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class AddMissingIndexesAndFixUnique < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
# Add missing indexes
|
||||
add_index :tournament_delegates, :tournament_id
|
||||
add_index :tournament_delegates, :user_id
|
||||
|
||||
add_index :tournament_backups, :tournament_id
|
||||
|
||||
add_index :teampointadjusts, :school_id
|
||||
|
||||
add_index :school_delegates, :school_id
|
||||
add_index :school_delegates, :user_id
|
||||
|
||||
add_index :mat_assignment_rules, :tournament_id
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user