mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added a feature to generate uuid links for coaches to submit their school lineups.
This commit is contained in:
6
db/migrate/20250130172404_add_uuid_to_schools.rb
Normal file
6
db/migrate/20250130172404_add_uuid_to_schools.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddUuidToSchools < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :schools, :permission_key, :string
|
||||
add_index :schools, :permission_key, unique: true
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_01_26_004721) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_01_30_172404) do
|
||||
create_table "delayed_jobs", force: :cascade do |t|
|
||||
t.integer "priority", default: 0, null: false
|
||||
t.integer "attempts", default: 0, null: false
|
||||
@@ -88,6 +88,8 @@ ActiveRecord::Schema[7.2].define(version: 2025_01_26_004721) do
|
||||
t.datetime "updated_at", precision: nil
|
||||
t.integer "tournament_id"
|
||||
t.decimal "score", precision: 15, scale: 1
|
||||
t.string "permission_key"
|
||||
t.index ["permission_key"], name: "index_schools_on_permission_key", unique: true
|
||||
t.index ["tournament_id"], name: "index_schools_on_tournament_id"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user