diff --git a/core/fixtures/test_fixtures.json b/core/fixtures/test_fixtures.json index ef540d3..ea1648b 100644 --- a/core/fixtures/test_fixtures.json +++ b/core/fixtures/test_fixtures.json @@ -2780,5 +2780,2877 @@ "default_number_of_teams": 4, "inactive": false } +}, +{ + "model": "core.gender", + "pk": 1, + "fields": { + "old_sk_id": null, + "inserted": "2022-03-13T16:40:06.028Z", + "inserted_by": null, + "updated": "2022-03-13T16:40:06.028Z", + "updated_by": null, + "name": "Male" + } +}, +{ + "model": "core.gender", + "pk": 2, + "fields": { + "old_sk_id": null, + "inserted": "2022-03-13T16:40:06.031Z", + "inserted_by": null, + "updated": "2022-03-13T16:40:06.031Z", + "updated_by": null, + "name": "Female" + } +}, +{ + "model": "core.memberstatus", + "pk": 1, + "fields": { + "old_sk_id": null, + "inserted": "2022-03-13T16:40:06.033Z", + "inserted_by": null, + "updated": "2022-03-13T16:40:06.033Z", + "updated_by": null, + "name": "Approved", + "weight": 0, + "default": null + } +}, +{ + "model": "core.memberstatus", + "pk": 2, + "fields": { + "old_sk_id": null, + "inserted": "2022-03-13T16:40:06.037Z", + "inserted_by": null, + "updated": "2022-03-13T16:40:06.037Z", + "updated_by": null, + "name": "Denied", + "weight": 1, + "default": null + } +}, +{ + "model": "core.member", + "pk": 1, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 Admin", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-admin@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 2, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 HL VP", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-vp@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 3, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 HL U10 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 4, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - Blue - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-blue-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 5, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - Blue - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-blue-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 6, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - Blue - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-blue-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 7, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - Blue - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-blue-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 8, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - Blue - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-blue-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 9, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - White - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-white-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 10, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - White - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-white-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 11, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - White - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-white-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 12, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - White - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-white-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 13, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U10 - White - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u10-white-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 14, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 HL U11 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 15, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - Blue - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-blue-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 16, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - Blue - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-blue-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 17, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - Blue - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-blue-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 18, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - Blue - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-blue-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 19, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - Blue - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-blue-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 20, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - White - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-white-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 21, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - White - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-white-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 22, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - White - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-white-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 23, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - White - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-white-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 24, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - HL - U11 - White - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-hl-u11-white-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 25, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 REP VP", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-vp@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 26, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 REP U10 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 27, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - A - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-a-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 28, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - A - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-a-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 29, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - A - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-a-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 30, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - A - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-a-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 31, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - A - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-a-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 32, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - AA - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-aa-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 33, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - AA - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-aa-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 34, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - AA - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-aa-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 35, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - AA - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-aa-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 36, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U10 - AA - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u10-aa-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 37, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 REP U11 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 38, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - A - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-a-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 39, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - A - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-a-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 40, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - A - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-a-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 41, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - A - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-a-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 42, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - A - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-a-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 43, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - AA - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-aa-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 44, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - AA - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-aa-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 45, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - AA - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-aa-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 46, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - AA - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-aa-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 47, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2022-2023 - REP - U11 - AA - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2022-2023-rep-u11-aa-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 48, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 Admin", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-admin@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 49, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 HL VP", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-vp@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 50, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 HL U10 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 51, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - Blue - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-blue-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 52, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - Blue - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-blue-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 53, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - Blue - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-blue-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 54, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - Blue - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-blue-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 55, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - Blue - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-blue-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 56, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - White - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-white-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 57, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - White - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-white-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 58, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - White - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-white-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 59, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - White - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-white-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 60, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U10 - White - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u10-white-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 61, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 HL U11 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 62, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - Blue - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-blue-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 63, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - Blue - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-blue-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 64, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - Blue - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-blue-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 65, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - Blue - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-blue-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 66, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - Blue - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-blue-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 67, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - White - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-white-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 68, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - White - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-white-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 69, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - White - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-white-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 70, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - White - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-white-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 71, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - HL - U11 - White - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-hl-u11-white-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 72, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 REP VP", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-vp@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 73, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 REP U10 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 74, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - A - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-a-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 75, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - A - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-a-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 76, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - A - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-a-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 77, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - A - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-a-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 78, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - A - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-a-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 79, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - AA - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-aa-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 80, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - AA - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-aa-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 81, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - AA - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-aa-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 82, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - AA - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-aa-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 83, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U10 - AA - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u10-aa-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 84, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 REP U11 Division", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-division@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 85, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - A - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-a-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 86, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - A - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-a-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 87, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - A - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-a-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 88, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - A - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-a-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 89, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - A - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-a-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 90, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - AA - SubDivision", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-aa-subdivision@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 91, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - AA - Graham - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-aa-graham-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 92, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - AA - Graham - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-aa-graham-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 93, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - AA - Henry - Coach", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-aa-henry-coach@domain.com", + "sportsmanager_id": null, + "gender": 1 + } +}, +{ + "model": "core.member", + "pk": 94, + "fields": { + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", + "inserted_by": null, + "updated": "2022-01-01T05:00:00Z", + "updated_by": null, + "hockey_canada_id": null, + "hockey_canada_system_id": null, + "first_name": "2023-2024 - REP - U11 - AA - Henry - Manager", + "last_name": "Hockey", + "date_of_birth": "2012-01-15", + "status": 1, + "comments": "", + "address1": "123 Fake Street", + "address2": "", + "city": "Toronto", + "province": "Ontario", + "postal_code": "1S34R6", + "phone_home": "", + "phone_work": "", + "phone_cell": "", + "phone_fax": "", + "email": "2023-2024-rep-u11-aa-henry-manager@domain.com", + "sportsmanager_id": null, + "gender": 1 + } } ] diff --git a/core/migrations/0001_initial.py b/core/migrations/0001_initial.py index 4788e6a..e7bbd9a 100644 --- a/core/migrations/0001_initial.py +++ b/core/migrations/0001_initial.py @@ -1,11 +1,11 @@ -# Generated by Django 4.0.3 on 2022-03-12 20:43 +# Generated by Django 4.0.3 on 2022-03-13 16:02 -import core.models from django.conf import settings import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone +import phonenumber_field.modelfields import positions.fields @@ -173,6 +173,36 @@ class Migration(migrations.Migration): "ordering": ["league", "weight"], }, ), + migrations.CreateModel( + name="Gender", + fields=[ + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ( + "old_sk_id", + models.PositiveIntegerField( + blank=True, + help_text="The old primary id for the entry", + null=True, + unique=True, + ), + ), + ("inserted", models.DateTimeField(default=django.utils.timezone.now)), + ("updated", models.DateTimeField(default=django.utils.timezone.now)), + ("name", models.CharField(max_length=255)), + ], + options={ + "verbose_name": "Gender", + "verbose_name_plural": "Genders", + }, + ), migrations.CreateModel( name="League", fields=[ @@ -219,6 +249,124 @@ class Migration(migrations.Migration): "ordering": ["season", "weight"], }, ), + migrations.CreateModel( + name="Member", + fields=[ + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ( + "old_sk_id", + models.PositiveIntegerField( + blank=True, + help_text="The old primary id for the entry", + null=True, + unique=True, + ), + ), + ("inserted", models.DateTimeField(default=django.utils.timezone.now)), + ("updated", models.DateTimeField(default=django.utils.timezone.now)), + ( + "hockey_canada_id", + models.PositiveBigIntegerField( + blank=True, help_text="HcID Value", null=True, unique=True + ), + ), + ( + "hockey_canada_system_id", + models.CharField( + blank=True, + help_text="*_id value for api, not meant to be editable or seen by users. Backend only.", + max_length=255, + null=True, + unique=True, + ), + ), + ("first_name", models.CharField(max_length=255)), + ("last_name", models.CharField(max_length=255)), + ("date_of_birth", models.DateField(null=True)), + ("comments", models.TextField(blank=True)), + ("address1", models.CharField(blank=True, max_length=255)), + ("address2", models.CharField(blank=True, max_length=255)), + ("city", models.CharField(blank=True, max_length=255)), + ("province", models.CharField(blank=True, max_length=255)), + ("postal_code", models.CharField(blank=True, max_length=10)), + ( + "phone_home", + phonenumber_field.modelfields.PhoneNumberField( + blank=True, max_length=128, region=None + ), + ), + ( + "phone_work", + phonenumber_field.modelfields.PhoneNumberField( + blank=True, max_length=128, region=None + ), + ), + ( + "phone_cell", + phonenumber_field.modelfields.PhoneNumberField( + blank=True, max_length=128, region=None + ), + ), + ( + "phone_fax", + phonenumber_field.modelfields.PhoneNumberField( + blank=True, max_length=128, region=None + ), + ), + ("email", models.EmailField(blank=True, max_length=254)), + ("sportsmanager_id", models.IntegerField(blank=True, null=True)), + ], + options={ + "verbose_name": "Member", + "verbose_name_plural": "Members", + }, + ), + migrations.CreateModel( + name="MemberStatus", + fields=[ + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ( + "old_sk_id", + models.PositiveIntegerField( + blank=True, + help_text="The old primary id for the entry", + null=True, + unique=True, + ), + ), + ("inserted", models.DateTimeField(default=django.utils.timezone.now)), + ("updated", models.DateTimeField(default=django.utils.timezone.now)), + ("name", models.CharField(max_length=255)), + ("weight", positions.fields.PositionField(default=-1)), + ( + "default", + models.BooleanField( + blank=True, default=None, null=True, unique=True + ), + ), + ], + options={ + "verbose_name": "Member Status", + "verbose_name_plural": "Member Statuses", + "ordering": ["weight"], + }, + ), migrations.CreateModel( name="Season", fields=[ diff --git a/core/migrations/0002_initial.py b/core/migrations/0002_initial.py index e601c2d..0b72fd7 100644 --- a/core/migrations/0002_initial.py +++ b/core/migrations/0002_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.0.3 on 2022-03-12 20:43 +# Generated by Django 4.0.3 on 2022-03-13 16:02 from django.conf import settings from django.db import migrations, models @@ -49,6 +49,66 @@ class Migration(migrations.Migration): to=settings.AUTH_USER_MODEL, ), ), + migrations.AddField( + model_name="memberstatus", + name="inserted_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_inserted", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AddField( + model_name="memberstatus", + name="updated_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_updated", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AddField( + model_name="member", + name="gender", + field=models.ForeignKey( + on_delete=django.db.models.deletion.PROTECT, to="core.gender" + ), + ), + migrations.AddField( + model_name="member", + name="inserted_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_inserted", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AddField( + model_name="member", + name="status", + field=models.ForeignKey( + blank=True, + on_delete=django.db.models.deletion.PROTECT, + to="core.memberstatus", + ), + ), + migrations.AddField( + model_name="member", + name="updated_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_updated", + to=settings.AUTH_USER_MODEL, + ), + ), migrations.AddField( model_name="league", name="inserted_by", @@ -80,6 +140,28 @@ class Migration(migrations.Migration): to=settings.AUTH_USER_MODEL, ), ), + migrations.AddField( + model_name="gender", + name="inserted_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_inserted", + to=settings.AUTH_USER_MODEL, + ), + ), + migrations.AddField( + model_name="gender", + name="updated_by", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="%(class)s_updated", + to=settings.AUTH_USER_MODEL, + ), + ), migrations.AddField( model_name="division", name="inserted_by", @@ -189,6 +271,13 @@ class Migration(migrations.Migration): django.db.models.functions.text.Lower("name"), name="season_name_unique" ), ), + migrations.AddConstraint( + model_name="memberstatus", + constraint=models.UniqueConstraint( + django.db.models.functions.text.Lower("name"), + name="memberstatus_name_unique", + ), + ), migrations.AddConstraint( model_name="league", constraint=models.UniqueConstraint( @@ -197,6 +286,12 @@ class Migration(migrations.Migration): name="season_league_name_unique", ), ), + migrations.AddConstraint( + model_name="gender", + constraint=models.UniqueConstraint( + django.db.models.functions.text.Lower("name"), name="gender_name_unique" + ), + ), migrations.AddConstraint( model_name="division", constraint=models.UniqueConstraint( diff --git a/core/models.py b/core/models.py index 945aeb1..4932870 100644 --- a/core/models.py +++ b/core/models.py @@ -8,6 +8,7 @@ from django.utils.translation import gettext, gettext_lazy from iarp_django_utils.models import BaseSetting from loguru import logger +from phonenumber_field.modelfields import PhoneNumberField from positions.fields import PositionField from . import managers @@ -243,3 +244,74 @@ class PermissionOverrides(_BasePermissions): class Setting(BaseSetting): pass + + +class Gender(_BaseModel): + class Meta: + verbose_name = gettext_lazy("Gender") + verbose_name_plural = gettext_lazy("Genders") + constraints = [ + models.UniqueConstraint(Lower("name"), name="gender_name_unique"), + ] + + name = models.CharField(max_length=255) + + +class MemberStatus(_BaseModel): + class Meta: + verbose_name = gettext_lazy("Member Status") + verbose_name_plural = gettext_lazy("Member Statuses") + ordering = ["weight"] + constraints = [ + models.UniqueConstraint(Lower("name"), name="memberstatus_name_unique"), + ] + + name = models.CharField(max_length=255) + + weight = PositionField() + + default = models.BooleanField(null=True, blank=True, default=None, unique=True) + + def save(self, *args, **kwargs): + if self.default is False: + self.default = None + return super().save(*args, **kwargs) + + +class Member(_BaseModelWithCommonIDs): + # TODO: Do we need any UniqueContraint's? + # Previously was Person table. + class Meta: + verbose_name = gettext_lazy("Member") + verbose_name_plural = gettext_lazy("Members") + + first_name = models.CharField(max_length=255) + last_name = models.CharField(max_length=255) + + date_of_birth = models.DateField(null=True) + + status = models.ForeignKey(MemberStatus, on_delete=models.PROTECT, blank=True) + + comments = models.TextField(blank=True) + + address1 = models.CharField(max_length=255, blank=True) + address2 = models.CharField(max_length=255, blank=True) + city = models.CharField(max_length=255, blank=True) + province = models.CharField(max_length=255, blank=True) + postal_code = models.CharField(max_length=10, blank=True) + + phone_home = PhoneNumberField(blank=True) + phone_work = PhoneNumberField(blank=True) + phone_cell = PhoneNumberField(blank=True) + phone_fax = PhoneNumberField(blank=True) + + email = models.EmailField(blank=True) + + sportsmanager_id = models.IntegerField(null=True, blank=True) + gender = models.ForeignKey(Gender, on_delete=models.PROTECT) + + def __str__(self): + return self.full_name() + + def full_name(self): + return f"{self.first_name} {self.last_name}" diff --git a/core/signals.py b/core/signals.py index ef58ab0..63931fe 100644 --- a/core/signals.py +++ b/core/signals.py @@ -2,7 +2,20 @@ from django.db.models.signals import pre_save from django.dispatch import receiver +from .models import Member, MemberStatus + @receiver(pre_save, sender=get_user_model()) def core_user_set_username_to_email(instance, **kwargs): instance.username = instance.email + + +@receiver(pre_save, sender=Member) +def new_member_without_status_assigned_gets_default(instance, **kwargs): + if instance.status_id or instance.pk or kwargs.get("raw"): + return + + try: + instance.status = MemberStatus.objects.get(default=True) + except MemberStatus.DoesNotExist: + return diff --git a/core/tests.py b/core/tests.py index 3ac5dd0..fc4bfaa 100644 --- a/core/tests.py +++ b/core/tests.py @@ -11,7 +11,16 @@ from team.models import Staff, StaffType, Team -from .models import Division, League, PermissionOverrides, Season, SubDivision +from .models import ( + Division, + Gender, + League, + Member, + MemberStatus, + PermissionOverrides, + Season, + SubDivision, +) from .perms import add_override_permission, has_perm from .test_helpers import FixtureBasedTestCase @@ -526,3 +535,47 @@ def test_user_manager_create_user_raises_valueerror_without_email(self): email="", password="12345", ) + + +class MemberTests(TestCase): + def test_gender_uniqueness(self): + Gender.objects.create(name="Male") + self.assertRaises(IntegrityError, Gender.objects.create, name="Male") + + def test_gender_uniqueness_case_insensitive(self): + Gender.objects.create(name="Male") + self.assertRaises(IntegrityError, Gender.objects.create, name="male") + + def test_memberstatus_uniqueness(self): + MemberStatus.objects.create(name="Test") + self.assertRaises(IntegrityError, MemberStatus.objects.create, name="Test") + + def test_memberstatus_uniqueness_case_insensitive(self): + MemberStatus.objects.create(name="Test") + self.assertRaises(IntegrityError, MemberStatus.objects.create, name="test") + + def test_memberstatus_default_uniqueness(self): + MemberStatus.objects.create(name="test", default=True) + self.assertRaises( + IntegrityError, MemberStatus.objects.create, name="another", default=True + ) + + def test_new_member_gets_default_status_assigned(self): + ms = MemberStatus.objects.create(name="test status", default=True) + + member = Member.objects.create( + first_name="test", + last_name="blah", + gender=Gender.objects.create(name="test"), + ) + + self.assertEqual(ms, member.status) + + def test_new_member_without_a_default_status_existing_raises(self): + self.assertRaises( + IntegrityError, + Member.objects.create, + first_name="test", + last_name="blah", + gender=Gender.objects.create(name="test"), + ) diff --git a/generate_test_fixture_data.py b/generate_test_fixture_data.py index 9bddfd9..c2a6b9b 100644 --- a/generate_test_fixture_data.py +++ b/generate_test_fixture_data.py @@ -150,7 +150,15 @@ call_command("makemigrations") call_command("migrate") -from core.models import Division, League, Season, SubDivision +from core.models import ( + Division, + Gender, + League, + Member, + MemberStatus, + Season, + SubDivision, +) from team.models import ( Staff, StaffStatus, @@ -290,8 +298,13 @@ League.objects.all().delete() Season.objects.all().delete() User.objects.all().delete() +Member.objects.all().delete() +MemberStatus.objects.all().delete() +Gender.objects.all().delete() -timestamp = timezone.datetime(2022, 1, 1, 0, 0, 0) +timestamp = timezone.make_aware( + timezone.datetime(2022, 1, 1, 0, 0, 0), timezone.get_current_timezone() +) type_manager = StaffType.objects.create( name="Manager", inserted=timestamp, updated=timestamp @@ -302,6 +315,9 @@ type_convenor = StaffType.objects.create( name="Convenor", inserted=timestamp, updated=timestamp ) +type_senior_convenor = StaffType.objects.create( + name="Senior Convenor", inserted=timestamp, updated=timestamp +) type_vp = StaffType.objects.create(name="VP", inserted=timestamp, updated=timestamp) type_admin = StaffType.objects.create( name="Admin", inserted=timestamp, updated=timestamp @@ -320,6 +336,15 @@ updated=timestamp, ) +GENDERS = { + "male": Gender.objects.create(name="Male"), + "female": Gender.objects.create(name="Female"), +} +MEMBER_STATUS = { + "approved": MemberStatus.objects.create(name="Approved"), + "denied": MemberStatus.objects.create(name="Denied"), +} + def generate_email_address(data): return f"{slugify(data)}@domain.com" @@ -340,6 +365,39 @@ def create_user(data): ) +def create_staff(name, _type, *args, **kwargs): + + user = create_user(name) + + member = Member.objects.create( + first_name=name, + last_name="Hockey", + address1="123 Fake Street", + city="Toronto", + province="Ontario", + postal_code="1S34R6", + date_of_birth=timezone.make_aware( + timezone.datetime(2012, 1, 15, 0, 0, 0), + timezone.get_current_timezone(), + ).date(), + email=user.email, + gender=GENDERS["male"], + status=MEMBER_STATUS["approved"], + inserted=timestamp, + updated=timestamp, + ) + + return Staff.objects.create( + type=_type, + user=user, + member=member, + inserted=timestamp, + updated=timestamp, + *args, + **kwargs, + ) + + current_year = timezone.now().year for s in range(current_year, current_year + 2): season = Season.objects.create( @@ -350,14 +408,11 @@ def create_user(data): updated=timestamp, ) - admin_user = create_user(f"{season} Admin") - Staff.objects.create( + create_staff( + name=f"{season} Admin", season=season, - type=type_admin, - user=admin_user, + _type=type_admin, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) if VERBOSE: @@ -371,16 +426,12 @@ def create_user(data): if VERBOSE: print("\t", league) - vp_user = create_user(f"{season} {league} VP") - - Staff.objects.create( - type=type_vp, + create_staff( + name=f"{season} {league} VP", + _type=type_vp, season=season, league=league, - user=vp_user, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) subdivision_listing = ["Blue", "White"] @@ -397,17 +448,13 @@ def create_user(data): updated=timestamp, ) - division_user = create_user(f"{season} {league} {division} Division") - - Staff.objects.create( - type=type_vp, + division_user = create_staff( + name=f"{season} {league} {division} Division", + _type=type_senior_convenor, season=season, league=league, division=division, - user=division_user, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) if VERBOSE: @@ -423,25 +470,19 @@ def create_user(data): updated=timestamp, ) - subdivision_user = create_user( - f"{season} - {league} - {division} - {subdivision} - SubDivision" - ) - - if VERBOSE: - print("\t\t\t", subdivision, subdivision_user, sep=" / ") - - Staff.objects.create( - type=type_convenor, + subdivision_user = create_staff( + name=f"{season} - {league} - {division} - {subdivision} - SubDivision", + _type=type_convenor, season=season, league=league, division=division, subdivision=subdivision, - user=subdivision_user, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) + if VERBOSE: + print("\t\t\t", subdivision, subdivision_user, sep=" / ") + for team in ["Graham", "Henry"]: team = Team.objects.create( season=season, @@ -455,44 +496,33 @@ def create_user(data): updated=timestamp, ) - coach_user = create_user( - f"{season} - {league} - {division} - {subdivision} - {team.name} - Coach" - ) - - Staff.objects.create( - type=type_coach, + coach_user = create_staff( + name=f"{season} - {league} - {division} - {subdivision} - {team.name} - Coach", + _type=type_coach, season=season, league=league, division=division, subdivision=subdivision, team=team, - user=coach_user, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) if VERBOSE: print("\t\t\t\t", team, coach_user, sep=" - ") - manager_user = create_user( - f"{season} - {league} - {division} - {subdivision} - {team.name} - Manager" - ) - - Staff.objects.create( - type=type_manager, + manager = create_staff( + name=f"{season} - {league} - {division} - {subdivision} - {team.name} - Manager", + _type=type_manager, season=season, league=league, division=division, subdivision=subdivision, team=team, - user=manager_user, status=staff_status_approved, - inserted=timestamp, - updated=timestamp, ) if VERBOSE: - print("\t\t\t\t", team, manager_user, sep=" - ") + print("\t\t\t\t", team, manager.user, sep=" - ") + print("Seasons Generated:", Season.objects.count()) print("Leagues Generated:", League.objects.count()) @@ -500,6 +530,9 @@ def create_user(data): print("SubDivisions Generated:", SubDivision.objects.count()) print("Teams Generated:", Team.objects.count()) print("Users Generated:", User.objects.count()) +print("Gender Generated:", Gender.objects.count()) +print("MemberStatus Generated:", MemberStatus.objects.count()) +print("Member Generated:", Member.objects.count()) for app in ["core", "team"]: os.makedirs(f"{app}/fixtures/", exist_ok=True) diff --git a/requirements.txt b/requirements.txt index 42ace16..14754c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,7 @@ django-allauth django-crispy-forms django-environ django-model-utils +django-phonenumber-field[phonenumbers] django-positions django-sekizai diff --git a/sportsnet/settings.py b/sportsnet/settings.py index 2d36b72..36d0cd0 100644 --- a/sportsnet/settings.py +++ b/sportsnet/settings.py @@ -45,6 +45,7 @@ # 'allauth.socialaccount.providers.linkedin,' "iarp_django_utils", "django_templated_emailer", + "phonenumber_field", ] MIDDLEWARE = [ @@ -209,3 +210,5 @@ EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" DEFAULT_AUTO_FIELD = "django.db.models.AutoField" + +PHONENUMBER_DEFAULT_REGION = "CA" diff --git a/team/fixtures/test_fixtures.json b/team/fixtures/test_fixtures.json index ef303bf..e8007af 100644 --- a/team/fixtures/test_fixtures.json +++ b/team/fixtures/test_fixtures.json @@ -1024,1227 +1024,928 @@ } }, { - "model": "team.stafftype", - "pk": 21, - "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", - "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", - "updated_by": null, - "team_can_edit": true, - "team_can_vote": false, - "name": "Manager", - "weight": 0, - "required": false, - "web_access": false, - "change_causes_staff_flag_on_team_to_enable": true - } -}, -{ - "model": "team.stafftype", - "pk": 22, + "model": "team.teamstatus", + "pk": 1, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 22, + "inserted": "2012-09-26T19:56:39Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T19:56:39Z", "updated_by": null, - "team_can_edit": true, - "team_can_vote": false, - "name": "Coach", + "name": "ENTERED IN HCR", "weight": 1, - "required": false, - "web_access": false, - "change_causes_staff_flag_on_team_to_enable": true + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.stafftype", - "pk": 23, + "model": "team.teamstatus", + "pk": 2, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 23, + "inserted": "2012-09-26T19:57:22Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T19:57:22Z", "updated_by": null, - "team_can_edit": true, - "team_can_vote": false, - "name": "Convenor", + "name": "HCR ISSUES", "weight": 2, - "required": false, - "web_access": false, - "change_causes_staff_flag_on_team_to_enable": true + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.stafftype", - "pk": 24, + "model": "team.teamstatus", + "pk": 3, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 24, + "inserted": "2012-10-01T19:57:48Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-10-01T19:57:48Z", "updated_by": null, - "team_can_edit": true, - "team_can_vote": false, - "name": "VP", + "name": "PLAYERS READY FOR HC", "weight": 3, - "required": false, - "web_access": false, - "change_causes_staff_flag_on_team_to_enable": true + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.stafftype", - "pk": 25, + "model": "team.teamstatus", + "pk": 4, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 25, + "inserted": "2012-11-01T12:23:20Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-11-01T12:23:20Z", "updated_by": null, - "team_can_edit": true, - "team_can_vote": false, - "name": "Admin", + "name": "WAITING FOR STAFF", "weight": 4, - "required": false, - "web_access": false, - "change_causes_staff_flag_on_team_to_enable": true + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 1, + "model": "team.teamstatus", + "pk": 5, "fields": { - "old_sk_id": 9, - "inserted": "2014-09-24T20:52:56Z", + "old_sk_id": 26, + "inserted": "2012-11-01T14:46:14Z", "inserted_by": null, - "updated": "2014-09-24T20:54:31Z", + "updated": "2012-11-01T14:46:14Z", "updated_by": null, - "name": "NEW", - "weight": 0, - "include_in_roster_export": true + "name": "APPROVAL NOT REQUIRED", + "weight": 5, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 2, + "model": "team.teamstatus", + "pk": 6, "fields": { - "old_sk_id": 1, - "inserted": "2012-07-03T09:54:05.640Z", + "old_sk_id": 27, + "inserted": "2012-11-06T18:49:49Z", "inserted_by": null, - "updated": "2012-07-03T09:54:05.640Z", + "updated": "2012-11-06T18:49:49Z", "updated_by": null, - "name": "INPROGRESS", - "weight": 1, - "include_in_roster_export": true + "name": "RESUBMITTED FOR APPROVAL", + "weight": 6, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 3, + "model": "team.teamstatus", + "pk": 7, "fields": { - "old_sk_id": 6, - "inserted": "2012-10-01T21:21:22Z", + "old_sk_id": 29, + "inserted": "2013-09-08T21:46:52Z", "inserted_by": null, - "updated": "2014-09-24T20:53:28Z", + "updated": "2013-09-08T21:46:52Z", "updated_by": null, - "name": "TRANSFER REQUIRED", - "weight": 2, - "include_in_roster_export": true + "name": "WAITING ON COACH", + "weight": 7, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 4, + "model": "team.teamstatus", + "pk": 8, "fields": { - "old_sk_id": 7, - "inserted": "2013-09-08T22:15:50Z", + "old_sk_id": 30, + "inserted": "2013-10-30T14:15:26Z", "inserted_by": null, - "updated": "2014-09-24T20:54:17Z", + "updated": "2013-10-30T14:15:26Z", "updated_by": null, - "name": "AWAITING CERTIFICATIONS", - "weight": 3, - "include_in_roster_export": true + "name": "SUBMIT WHEN BALANCED", + "weight": 8, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 5, + "model": "team.teamstatus", + "pk": 9, "fields": { - "old_sk_id": 8, - "inserted": "2013-09-08T22:17:40Z", + "old_sk_id": 31, + "inserted": "2013-11-21T19:09:25Z", "inserted_by": null, - "updated": "2014-09-24T20:53:46Z", + "updated": "2013-11-21T20:02:18Z", "updated_by": null, - "name": "CHECK CERTIFICATIONS", - "weight": 4, - "include_in_roster_export": true + "name": "APPROVED PLAYERS", + "weight": 9, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 6, + "model": "team.teamstatus", + "pk": 10, "fields": { - "old_sk_id": 10, - "inserted": "2014-10-06T19:11:42Z", + "old_sk_id": 32, + "inserted": "2014-10-06T19:22:36Z", "inserted_by": null, - "updated": "2015-03-05T20:33:13Z", + "updated": "2014-10-06T19:22:36Z", "updated_by": null, - "name": "DECLARATION REQUIRED", - "weight": 5, - "include_in_roster_export": true + "name": "IN DRAFT PROCESS", + "weight": 10, + "include_in_roster_export": false, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 7, + "model": "team.teamstatus", + "pk": 11, "fields": { - "old_sk_id": 11, - "inserted": "2015-03-05T20:32:35Z", + "old_sk_id": 33, + "inserted": "2014-10-06T19:27:52Z", "inserted_by": null, - "updated": "2015-03-05T20:32:51Z", + "updated": "2014-11-28T14:55:46Z", "updated_by": null, - "name": "PC REQUIRED", - "weight": 6, - "include_in_roster_export": true + "name": "WAITING FOR A COACH", + "weight": 11, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 8, + "model": "team.teamstatus", + "pk": 12, "fields": { - "old_sk_id": 2, - "inserted": "2012-07-03T09:54:05.640Z", + "old_sk_id": 34, + "inserted": "2014-10-21T18:42:05Z", "inserted_by": null, - "updated": "2012-07-03T09:54:05.640Z", + "updated": "2014-10-21T18:42:05Z", "updated_by": null, - "name": "READY TO SUBMIT", - "weight": 7, - "include_in_roster_export": true + "name": "PLAYER ISSUES", + "weight": 12, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 9, + "model": "team.teamstatus", + "pk": 13, "fields": { - "old_sk_id": 3, - "inserted": "2012-07-03T09:54:05.640Z", + "old_sk_id": 35, + "inserted": "2014-11-28T14:53:58Z", "inserted_by": null, - "updated": "2012-07-03T09:54:05.640Z", + "updated": "2014-11-28T14:53:58Z", "updated_by": null, - "name": "SUBMITTED", - "weight": 8, - "include_in_roster_export": true - } + "name": "PLAYERS SUBMITTED", + "weight": 13, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false + } }, { - "model": "team.staffstatus", - "pk": 10, + "model": "team.teamstatus", + "pk": 14, "fields": { - "old_sk_id": 4, - "inserted": "2012-07-03T09:54:05.640Z", + "old_sk_id": 38, + "inserted": "2018-06-18T17:49:11Z", "inserted_by": null, - "updated": "2012-07-03T09:54:05.640Z", + "updated": "2018-06-18T17:49:11Z", "updated_by": null, - "name": "APPROVED", - "weight": 9, - "include_in_roster_export": true + "name": "STAFF READY NEED PLAYERS", + "weight": 14, + "include_in_roster_export": false, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 11, + "model": "team.teamstatus", + "pk": 15, "fields": { - "old_sk_id": 5, - "inserted": "2012-07-03T09:54:05.640Z", + "old_sk_id": 16, + "inserted": "2012-07-21T20:43:33.150Z", "inserted_by": null, - "updated": "2012-07-03T09:54:05.640Z", + "updated": "2012-07-21T20:43:33.150Z", "updated_by": null, - "name": "REJECTED", - "weight": 10, - "include_in_roster_export": true + "name": "INPROGRESS", + "weight": 15, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatus", - "pk": 12, + "model": "team.teamstatus", + "pk": 16, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 21, + "inserted": "2012-09-15T04:21:49.637Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-15T04:21:49.637Z", "updated_by": null, - "name": "APPROVED", - "weight": 11, - "include_in_roster_export": true + "name": "DRAFTMODE", + "weight": 16, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatusreason", - "pk": 1, + "model": "team.teamstatus", + "pk": 17, "fields": { - "old_sk_id": 1, - "inserted": "2012-07-21T21:38:29.157Z", + "old_sk_id": 17, + "inserted": "2012-07-21T20:43:33.150Z", "inserted_by": null, - "updated": "2012-07-21T21:38:29.157Z", + "updated": "2012-07-21T20:43:33.150Z", "updated_by": null, - "name": "OK", - "weight": 0 + "name": "READY TO SUBMIT", + "weight": 17, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staffstatusreason", - "pk": 2, + "model": "team.teamstatus", + "pk": 18, "fields": { - "old_sk_id": 2, - "inserted": "2012-07-21T21:38:29.157Z", + "old_sk_id": 18, + "inserted": "2012-07-21T20:43:33Z", "inserted_by": null, - "updated": "2012-07-21T21:38:29.157Z", + "updated": "2015-12-09T19:59:23Z", "updated_by": null, - "name": "CERTIFICATIONS REQUIRED", - "weight": 1 + "name": "SUBMITTED", + "weight": 18, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": true } }, { - "model": "team.staff", - "pk": 1, + "model": "team.teamstatus", + "pk": 19, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 19, + "inserted": "2012-07-21T20:43:33Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-11-21T19:09:50Z", "updated_by": null, - "season": 1, - "league": null, - "division": null, - "subdivision": null, - "team": null, - "user": 1, - "type": 25, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "name": "APPROVED", + "weight": 19, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staff", - "pk": 2, + "model": "team.teamstatus", + "pk": 20, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 20, + "inserted": "2012-07-21T20:43:33.150Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:33.150Z", "updated_by": null, - "season": 1, - "league": 1, - "division": null, - "subdivision": null, - "team": null, - "user": 2, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "name": "REJECTED", + "weight": 20, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staff", - "pk": 3, + "model": "team.teamstatus", + "pk": 21, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": null, - "team": null, - "user": 3, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "name": "Fixture Approved", + "weight": 0, + "include_in_roster_export": true, + "considered_approved": false, + "clear_changed_staff_players_flag": false } }, { - "model": "team.staff", - "pk": 4, + "model": "team.teamstatusreason", + "pk": 1, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 6, + "inserted": "2012-09-26T20:00:05Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T20:00:05Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 1, - "team": null, - "user": 4, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 2, + "name": "STAFF NOT IN HCR", + "weight": 0, + "default": null } }, { - "model": "team.staff", - "pk": 5, + "model": "team.teamstatusreason", + "pk": 2, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 7, + "inserted": "2012-09-26T20:00:26Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T20:00:26Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 1, - "team": 1, - "user": 5, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 2, + "name": "STAFF NOT QUALIFIED", + "weight": 1, + "default": null } }, { - "model": "team.staff", - "pk": 6, + "model": "team.teamstatusreason", + "pk": 3, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 8, + "inserted": "2012-09-26T20:01:18Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T20:01:18Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 1, - "team": 1, - "user": 6, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 2, + "name": "STAFF NEEDS CONVERSION", + "weight": 2, + "default": null } }, { - "model": "team.staff", - "pk": 7, - "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "model": "team.teamstatusreason", + "pk": 4, + "fields": { + "old_sk_id": 9, + "inserted": "2012-09-26T20:03:00Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-09-26T20:03:00Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 1, - "team": 2, - "user": 7, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 2, + "name": "STAFF NAME NOT MATCHING", + "weight": 3, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", + "pk": 5, + "fields": { + "old_sk_id": 10, + "inserted": "2012-09-26T20:05:01Z", + "inserted_by": null, + "updated": "2012-09-26T20:05:01Z", + "updated_by": null, + "status": 2, + "name": "STAFF MERGE REQUIRED", + "weight": 4, + "default": null + } +}, +{ + "model": "team.teamstatusreason", + "pk": 6, + "fields": { + "old_sk_id": 12, + "inserted": "2012-09-26T20:08:06Z", + "inserted_by": null, + "updated": "2012-09-26T20:08:06Z", + "updated_by": null, + "status": 2, + "name": "STAFF NOT IN SK IS IN HCR", + "weight": 5, + "default": null + } +}, +{ + "model": "team.teamstatusreason", + "pk": 7, + "fields": { + "old_sk_id": 13, + "inserted": "2012-10-01T20:31:39Z", + "inserted_by": null, + "updated": "2012-10-01T20:31:39Z", + "updated_by": null, + "status": 16, + "name": "N/A", + "weight": 6, + "default": null + } +}, +{ + "model": "team.teamstatusreason", "pk": 8, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 14, + "inserted": "2012-10-01T20:39:29Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-10-01T20:39:29Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 1, - "team": 2, - "user": 8, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 1, + "name": "N/A", + "weight": 7, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 9, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 15, + "inserted": "2012-10-01T20:39:56Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-10-01T20:39:56Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 2, - "team": null, - "user": 9, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 3, + "name": "N/A", + "weight": 8, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 10, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 16, + "inserted": "2012-11-01T12:26:18Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-11-01T12:26:18Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 2, - "team": 3, - "user": 10, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 4, + "name": "PLAYERS IN HCR", + "weight": 9, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 11, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 17, + "inserted": "2012-11-01T14:46:51Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-11-01T14:46:51Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 2, - "team": 3, - "user": 11, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 5, + "name": "NO ROSTER NEEDED", + "weight": 10, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 12, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 18, + "inserted": "2012-11-06T18:50:36Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-11-06T18:50:36Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 2, - "team": 4, - "user": 12, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 6, + "name": "ROSTER UPDATED", + "weight": 11, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 13, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 19, + "inserted": "2013-09-08T17:55:34Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-09-08T17:55:34Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 1, - "subdivision": 2, - "team": 4, - "user": 13, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 20, + "name": "MISSING STAFF", + "weight": 12, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 14, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 20, + "inserted": "2013-09-08T21:48:13Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-09-08T21:48:13Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": null, - "team": null, - "user": 14, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 7, + "name": "REQUIRES PLYRS AND STF", + "weight": 13, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 15, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 21, + "inserted": "2013-09-08T21:49:20Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-09-08T21:49:20Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 3, - "team": null, - "user": 15, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 7, + "name": "REQUIRES BENCH STAFF", + "weight": 14, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 16, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 22, + "inserted": "2013-09-08T21:50:23Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-09-08T21:50:23Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 3, - "team": 5, - "user": 16, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 7, + "name": "REQUIRE STF CERTIFICTN", + "weight": 15, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 17, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 23, + "inserted": "2013-10-31T19:01:32Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-10-31T19:01:32Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 3, - "team": 5, - "user": 17, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 20, + "name": "REJECTED", + "weight": 16, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 18, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 24, + "inserted": "2013-11-21T19:15:27Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-11-21T19:15:27Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 3, - "team": 6, - "user": 18, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 9, + "name": "MISSING STAFF", + "weight": 17, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 19, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 25, + "inserted": "2013-11-21T19:59:41Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-11-21T19:59:41Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 3, - "team": 6, - "user": 19, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "PLAYERS OK-MISSING STAFF", + "weight": 18, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 20, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 26, + "inserted": "2013-11-27T14:35:40Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2013-11-27T14:35:40Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 4, - "team": null, - "user": 20, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "STAFF CHGS REQU'D", + "weight": 19, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 21, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 27, + "inserted": "2014-10-06T19:23:33Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2014-10-06T19:23:33Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 4, - "team": 7, - "user": 21, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 10, + "name": "IN PROGRESS", + "weight": 20, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 22, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 28, + "inserted": "2014-10-06T19:28:10Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2014-10-06T19:28:10Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 4, - "team": 7, - "user": 22, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 11, + "name": "IN PROGRESS", + "weight": 21, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 23, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 31, + "inserted": "2014-11-28T15:01:31Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2014-11-28T15:01:31Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 4, - "team": 8, - "user": 23, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 17, + "name": "STAFF WILL BE REJECTED", + "weight": 22, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 24, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 34, + "inserted": "2014-12-01T21:17:34Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2014-12-01T21:17:34Z", "updated_by": null, - "season": 1, - "league": 1, - "division": 2, - "subdivision": 4, - "team": 8, - "user": 24, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 7, + "name": "REQUIRES DECLARATIONS", + "weight": 23, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 25, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 35, + "inserted": "2014-12-02T21:28:40Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2014-12-02T21:28:40Z", "updated_by": null, - "season": 1, - "league": 2, - "division": null, - "subdivision": null, - "team": null, - "user": 25, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 18, + "name": "STAFF WILL BE REJECTED", + "weight": 24, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 26, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 36, + "inserted": "2015-06-10T15:26:36Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-06-10T15:26:36Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": null, - "team": null, - "user": 26, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 17, + "name": "WAITING ON PLAYERS", + "weight": 25, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 27, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 37, + "inserted": "2015-07-07T13:20:41Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-07-07T13:20:41Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 5, - "team": null, - "user": 27, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "MISSING PLAYER(S)", + "weight": 26, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 28, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 38, + "inserted": "2015-10-19T16:16:01Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-10-19T16:16:01Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 5, - "team": 9, - "user": 28, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 9, + "name": "STAFF REJECTED", + "weight": 27, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 29, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 39, + "inserted": "2015-10-19T16:29:48Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-10-19T16:29:48Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 5, - "team": 9, - "user": 29, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 20, + "name": "NO GOALIE", + "weight": 28, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 30, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 40, + "inserted": "2015-10-28T19:33:43Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-10-28T19:33:43Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 5, - "team": 10, - "user": 30, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "NO GOALIE", + "weight": 29, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 31, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 41, + "inserted": "2015-11-17T16:02:55Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-11-17T16:02:55Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 5, - "team": 10, - "user": 31, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "ON-ICE VOLUNTEER(S)", + "weight": 30, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 32, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 42, + "inserted": "2015-11-24T17:59:55Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-11-24T17:59:55Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 6, - "team": null, - "user": 32, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "TEAM & ON-ICE VOL'S", + "weight": 31, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 33, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 43, + "inserted": "2015-12-09T19:40:16Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2015-12-09T19:40:16Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 6, - "team": 11, - "user": 33, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 18, + "name": "PLAYERS ONLY", + "weight": 32, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 34, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 44, + "inserted": "2021-04-26T13:14:48Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2021-04-26T13:14:48Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 6, - "team": 11, - "user": 34, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 7, + "name": "REQUIRES POLICE CLEARANCE", + "weight": 33, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 35, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 1, + "inserted": "2012-07-21T20:43:42.760Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:42.760Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 6, - "team": 12, - "user": 35, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null - } + "status": 15, + "name": "N/A", + "weight": 34, + "default": null + } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 36, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 2, + "inserted": "2012-07-21T20:43:42.760Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:42.760Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 3, - "subdivision": 6, - "team": 12, - "user": 36, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 17, + "name": "N/A", + "weight": 35, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 37, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 3, + "inserted": "2012-07-21T20:43:42.760Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:42.760Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": null, - "team": null, - "user": 37, - "type": 24, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 18, + "name": "N/A", + "weight": 36, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 38, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 4, + "inserted": "2012-07-21T20:43:42.760Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:42.760Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 7, - "team": null, - "user": 38, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 19, + "name": "N/A", + "weight": 37, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 39, "fields": { - "old_sk_id": null, - "inserted": "2022-01-01T05:00:00Z", + "old_sk_id": 5, + "inserted": "2012-07-21T20:43:42.760Z", "inserted_by": null, - "updated": "2022-01-01T05:00:00Z", + "updated": "2012-07-21T20:43:42.760Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 7, - "team": 13, - "user": 39, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 20, + "name": "CERTIFICATIONS REQUIRED", + "weight": 38, + "default": null } }, { - "model": "team.staff", + "model": "team.teamstatusreason", "pk": 40, "fields": { "old_sk_id": null, @@ -2252,205 +1953,331 @@ "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 7, - "team": 13, - "user": 40, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "status": 21, + "name": "Fixture Approved Reason", + "weight": 39, + "default": null } }, { - "model": "team.staff", - "pk": 41, + "model": "team.stafftype", + "pk": 21, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 7, - "team": 14, - "user": 41, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "Manager", + "weight": 0, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 42, + "model": "team.stafftype", + "pk": 22, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 7, - "team": 14, - "user": 42, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "Coach", + "weight": 1, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 43, + "model": "team.stafftype", + "pk": 23, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 8, - "team": null, - "user": 43, - "type": 23, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "Convenor", + "weight": 2, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 44, + "model": "team.stafftype", + "pk": 24, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 8, - "team": 15, - "user": 44, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "Senior Convenor", + "weight": 3, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 45, + "model": "team.stafftype", + "pk": 25, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 8, - "team": 15, - "user": 45, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "VP", + "weight": 4, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 46, + "model": "team.stafftype", + "pk": 26, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 8, - "team": 16, - "user": 46, - "type": 22, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "team_can_edit": true, + "team_can_vote": false, + "name": "Admin", + "weight": 5, + "required": false, + "web_access": false, + "change_causes_staff_flag_on_team_to_enable": true } }, { - "model": "team.staff", - "pk": 47, + "model": "team.staffstatus", + "pk": 1, + "fields": { + "old_sk_id": 9, + "inserted": "2014-09-24T20:52:56Z", + "inserted_by": null, + "updated": "2014-09-24T20:54:31Z", + "updated_by": null, + "name": "NEW", + "weight": 0, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 2, + "fields": { + "old_sk_id": 1, + "inserted": "2012-07-03T09:54:05.640Z", + "inserted_by": null, + "updated": "2012-07-03T09:54:05.640Z", + "updated_by": null, + "name": "INPROGRESS", + "weight": 1, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 3, + "fields": { + "old_sk_id": 6, + "inserted": "2012-10-01T21:21:22Z", + "inserted_by": null, + "updated": "2014-09-24T20:53:28Z", + "updated_by": null, + "name": "TRANSFER REQUIRED", + "weight": 2, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 4, + "fields": { + "old_sk_id": 7, + "inserted": "2013-09-08T22:15:50Z", + "inserted_by": null, + "updated": "2014-09-24T20:54:17Z", + "updated_by": null, + "name": "AWAITING CERTIFICATIONS", + "weight": 3, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 5, + "fields": { + "old_sk_id": 8, + "inserted": "2013-09-08T22:17:40Z", + "inserted_by": null, + "updated": "2014-09-24T20:53:46Z", + "updated_by": null, + "name": "CHECK CERTIFICATIONS", + "weight": 4, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 6, + "fields": { + "old_sk_id": 10, + "inserted": "2014-10-06T19:11:42Z", + "inserted_by": null, + "updated": "2015-03-05T20:33:13Z", + "updated_by": null, + "name": "DECLARATION REQUIRED", + "weight": 5, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 7, + "fields": { + "old_sk_id": 11, + "inserted": "2015-03-05T20:32:35Z", + "inserted_by": null, + "updated": "2015-03-05T20:32:51Z", + "updated_by": null, + "name": "PC REQUIRED", + "weight": 6, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 8, + "fields": { + "old_sk_id": 2, + "inserted": "2012-07-03T09:54:05.640Z", + "inserted_by": null, + "updated": "2012-07-03T09:54:05.640Z", + "updated_by": null, + "name": "READY TO SUBMIT", + "weight": 7, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 9, + "fields": { + "old_sk_id": 3, + "inserted": "2012-07-03T09:54:05.640Z", + "inserted_by": null, + "updated": "2012-07-03T09:54:05.640Z", + "updated_by": null, + "name": "SUBMITTED", + "weight": 8, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 10, + "fields": { + "old_sk_id": 4, + "inserted": "2012-07-03T09:54:05.640Z", + "inserted_by": null, + "updated": "2012-07-03T09:54:05.640Z", + "updated_by": null, + "name": "APPROVED", + "weight": 9, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 11, + "fields": { + "old_sk_id": 5, + "inserted": "2012-07-03T09:54:05.640Z", + "inserted_by": null, + "updated": "2012-07-03T09:54:05.640Z", + "updated_by": null, + "name": "REJECTED", + "weight": 10, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatus", + "pk": 12, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 1, - "league": 2, - "division": 4, - "subdivision": 8, - "team": 16, - "user": 47, - "type": 21, - "status": 12, - "importer": false, - "affiliate": false, - "tryout": false, - "registration_date": null, - "release_date": null + "name": "APPROVED", + "weight": 11, + "include_in_roster_export": true + } +}, +{ + "model": "team.staffstatusreason", + "pk": 1, + "fields": { + "old_sk_id": 1, + "inserted": "2012-07-21T21:38:29.157Z", + "inserted_by": null, + "updated": "2012-07-21T21:38:29.157Z", + "updated_by": null, + "name": "OK", + "weight": 0 + } +}, +{ + "model": "team.staffstatusreason", + "pk": 2, + "fields": { + "old_sk_id": 2, + "inserted": "2012-07-21T21:38:29.157Z", + "inserted_by": null, + "updated": "2012-07-21T21:38:29.157Z", + "updated_by": null, + "name": "CERTIFICATIONS REQUIRED", + "weight": 1 } }, { "model": "team.staff", - "pk": 48, + "pk": 1, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, + "season": 1, "league": null, "division": null, "subdivision": null, "team": null, - "user": 48, - "type": 25, + "user": 1, + "member": 1, + "type": 26, "status": 12, "importer": false, "affiliate": false, @@ -2461,20 +2288,21 @@ }, { "model": "team.staff", - "pk": 49, + "pk": 2, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, + "season": 1, + "league": 1, "division": null, "subdivision": null, "team": null, - "user": 49, - "type": 24, + "user": 2, + "member": 2, + "type": 25, "status": 12, "importer": false, "affiliate": false, @@ -2485,19 +2313,20 @@ }, { "model": "team.staff", - "pk": 50, + "pk": 3, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, + "season": 1, + "league": 1, + "division": 1, "subdivision": null, "team": null, - "user": 50, + "user": 3, + "member": 3, "type": 24, "status": 12, "importer": false, @@ -2509,19 +2338,20 @@ }, { "model": "team.staff", - "pk": 51, + "pk": 4, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 9, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 1, "team": null, - "user": 51, + "user": 4, + "member": 4, "type": 23, "status": 12, "importer": false, @@ -2533,19 +2363,20 @@ }, { "model": "team.staff", - "pk": 52, + "pk": 5, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 9, - "team": 17, - "user": 52, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 1, + "team": 1, + "user": 5, + "member": 5, "type": 22, "status": 12, "importer": false, @@ -2557,19 +2388,20 @@ }, { "model": "team.staff", - "pk": 53, + "pk": 6, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 9, - "team": 17, - "user": 53, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 1, + "team": 1, + "user": 6, + "member": 6, "type": 21, "status": 12, "importer": false, @@ -2581,19 +2413,20 @@ }, { "model": "team.staff", - "pk": 54, + "pk": 7, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 9, - "team": 18, - "user": 54, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 1, + "team": 2, + "user": 7, + "member": 7, "type": 22, "status": 12, "importer": false, @@ -2605,19 +2438,20 @@ }, { "model": "team.staff", - "pk": 55, + "pk": 8, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 9, - "team": 18, - "user": 55, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 1, + "team": 2, + "user": 8, + "member": 8, "type": 21, "status": 12, "importer": false, @@ -2629,19 +2463,20 @@ }, { "model": "team.staff", - "pk": 56, + "pk": 9, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 10, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 2, "team": null, - "user": 56, + "user": 9, + "member": 9, "type": 23, "status": 12, "importer": false, @@ -2653,19 +2488,20 @@ }, { "model": "team.staff", - "pk": 57, + "pk": 10, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 10, - "team": 19, - "user": 57, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 2, + "team": 3, + "user": 10, + "member": 10, "type": 22, "status": 12, "importer": false, @@ -2677,19 +2513,20 @@ }, { "model": "team.staff", - "pk": 58, + "pk": 11, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 10, - "team": 19, - "user": 58, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 2, + "team": 3, + "user": 11, + "member": 11, "type": 21, "status": 12, "importer": false, @@ -2701,19 +2538,20 @@ }, { "model": "team.staff", - "pk": 59, + "pk": 12, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 10, - "team": 20, - "user": 59, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 2, + "team": 4, + "user": 12, + "member": 12, "type": 22, "status": 12, "importer": false, @@ -2725,19 +2563,20 @@ }, { "model": "team.staff", - "pk": 60, + "pk": 13, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 5, - "subdivision": 10, - "team": 20, - "user": 60, + "season": 1, + "league": 1, + "division": 1, + "subdivision": 2, + "team": 4, + "user": 13, + "member": 13, "type": 21, "status": 12, "importer": false, @@ -2749,19 +2588,20 @@ }, { "model": "team.staff", - "pk": 61, + "pk": 14, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, + "season": 1, + "league": 1, + "division": 2, "subdivision": null, "team": null, - "user": 61, + "user": 14, + "member": 14, "type": 24, "status": 12, "importer": false, @@ -2773,19 +2613,20 @@ }, { "model": "team.staff", - "pk": 62, + "pk": 15, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 11, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 3, "team": null, - "user": 62, + "user": 15, + "member": 15, "type": 23, "status": 12, "importer": false, @@ -2797,19 +2638,20 @@ }, { "model": "team.staff", - "pk": 63, + "pk": 16, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 11, - "team": 21, - "user": 63, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 3, + "team": 5, + "user": 16, + "member": 16, "type": 22, "status": 12, "importer": false, @@ -2821,19 +2663,20 @@ }, { "model": "team.staff", - "pk": 64, + "pk": 17, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 11, - "team": 21, - "user": 64, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 3, + "team": 5, + "user": 17, + "member": 17, "type": 21, "status": 12, "importer": false, @@ -2845,19 +2688,20 @@ }, { "model": "team.staff", - "pk": 65, + "pk": 18, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 11, - "team": 22, - "user": 65, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 3, + "team": 6, + "user": 18, + "member": 18, "type": 22, "status": 12, "importer": false, @@ -2869,19 +2713,20 @@ }, { "model": "team.staff", - "pk": 66, + "pk": 19, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 11, - "team": 22, - "user": 66, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 3, + "team": 6, + "user": 19, + "member": 19, "type": 21, "status": 12, "importer": false, @@ -2893,19 +2738,20 @@ }, { "model": "team.staff", - "pk": 67, + "pk": 20, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 12, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 4, "team": null, - "user": 67, + "user": 20, + "member": 20, "type": 23, "status": 12, "importer": false, @@ -2917,19 +2763,20 @@ }, { "model": "team.staff", - "pk": 68, + "pk": 21, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 12, - "team": 23, - "user": 68, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 4, + "team": 7, + "user": 21, + "member": 21, "type": 22, "status": 12, "importer": false, @@ -2941,19 +2788,20 @@ }, { "model": "team.staff", - "pk": 69, + "pk": 22, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 12, - "team": 23, - "user": 69, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 4, + "team": 7, + "user": 22, + "member": 22, "type": 21, "status": 12, "importer": false, @@ -2965,19 +2813,20 @@ }, { "model": "team.staff", - "pk": 70, + "pk": 23, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 12, - "team": 24, - "user": 70, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 4, + "team": 8, + "user": 23, + "member": 23, "type": 22, "status": 12, "importer": false, @@ -2989,19 +2838,20 @@ }, { "model": "team.staff", - "pk": 71, + "pk": 24, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 3, - "division": 6, - "subdivision": 12, - "team": 24, - "user": 71, + "season": 1, + "league": 1, + "division": 2, + "subdivision": 4, + "team": 8, + "user": 24, + "member": 24, "type": 21, "status": 12, "importer": false, @@ -3013,20 +2863,21 @@ }, { "model": "team.staff", - "pk": 72, + "pk": 25, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, + "season": 1, + "league": 2, "division": null, "subdivision": null, "team": null, - "user": 72, - "type": 24, + "user": 25, + "member": 25, + "type": 25, "status": 12, "importer": false, "affiliate": false, @@ -3037,19 +2888,20 @@ }, { "model": "team.staff", - "pk": 73, + "pk": 26, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, + "season": 1, + "league": 2, + "division": 3, "subdivision": null, "team": null, - "user": 73, + "user": 26, + "member": 26, "type": 24, "status": 12, "importer": false, @@ -3061,19 +2913,20 @@ }, { "model": "team.staff", - "pk": 74, + "pk": 27, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 13, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 5, "team": null, - "user": 74, + "user": 27, + "member": 27, "type": 23, "status": 12, "importer": false, @@ -3085,19 +2938,20 @@ }, { "model": "team.staff", - "pk": 75, + "pk": 28, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 13, - "team": 25, - "user": 75, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 5, + "team": 9, + "user": 28, + "member": 28, "type": 22, "status": 12, "importer": false, @@ -3109,19 +2963,20 @@ }, { "model": "team.staff", - "pk": 76, + "pk": 29, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 13, - "team": 25, - "user": 76, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 5, + "team": 9, + "user": 29, + "member": 29, "type": 21, "status": 12, "importer": false, @@ -3133,19 +2988,20 @@ }, { "model": "team.staff", - "pk": 77, + "pk": 30, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 13, - "team": 26, - "user": 77, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 5, + "team": 10, + "user": 30, + "member": 30, "type": 22, "status": 12, "importer": false, @@ -3157,19 +3013,20 @@ }, { "model": "team.staff", - "pk": 78, + "pk": 31, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 13, - "team": 26, - "user": 78, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 5, + "team": 10, + "user": 31, + "member": 31, "type": 21, "status": 12, "importer": false, @@ -3181,19 +3038,20 @@ }, { "model": "team.staff", - "pk": 79, + "pk": 32, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 14, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 6, "team": null, - "user": 79, + "user": 32, + "member": 32, "type": 23, "status": 12, "importer": false, @@ -3205,19 +3063,20 @@ }, { "model": "team.staff", - "pk": 80, + "pk": 33, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 14, - "team": 27, - "user": 80, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 6, + "team": 11, + "user": 33, + "member": 33, "type": 22, "status": 12, "importer": false, @@ -3229,19 +3088,20 @@ }, { "model": "team.staff", - "pk": 81, + "pk": 34, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 14, - "team": 27, - "user": 81, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 6, + "team": 11, + "user": 34, + "member": 34, "type": 21, "status": 12, "importer": false, @@ -3253,19 +3113,20 @@ }, { "model": "team.staff", - "pk": 82, + "pk": 35, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 14, - "team": 28, - "user": 82, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 6, + "team": 12, + "user": 35, + "member": 35, "type": 22, "status": 12, "importer": false, @@ -3277,19 +3138,20 @@ }, { "model": "team.staff", - "pk": 83, + "pk": 36, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 7, - "subdivision": 14, - "team": 28, - "user": 83, + "season": 1, + "league": 2, + "division": 3, + "subdivision": 6, + "team": 12, + "user": 36, + "member": 36, "type": 21, "status": 12, "importer": false, @@ -3301,19 +3163,20 @@ }, { "model": "team.staff", - "pk": 84, + "pk": 37, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, + "season": 1, + "league": 2, + "division": 4, "subdivision": null, "team": null, - "user": 84, + "user": 37, + "member": 37, "type": 24, "status": 12, "importer": false, @@ -3325,19 +3188,20 @@ }, { "model": "team.staff", - "pk": 85, + "pk": 38, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 15, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 7, "team": null, - "user": 85, + "user": 38, + "member": 38, "type": 23, "status": 12, "importer": false, @@ -3349,19 +3213,20 @@ }, { "model": "team.staff", - "pk": 86, + "pk": 39, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 15, - "team": 29, - "user": 86, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 7, + "team": 13, + "user": 39, + "member": 39, "type": 22, "status": 12, "importer": false, @@ -3373,19 +3238,20 @@ }, { "model": "team.staff", - "pk": 87, + "pk": 40, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 15, - "team": 29, - "user": 87, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 7, + "team": 13, + "user": 40, + "member": 40, "type": 21, "status": 12, "importer": false, @@ -3397,19 +3263,20 @@ }, { "model": "team.staff", - "pk": 88, + "pk": 41, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 15, - "team": 30, - "user": 88, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 7, + "team": 14, + "user": 41, + "member": 41, "type": 22, "status": 12, "importer": false, @@ -3421,19 +3288,20 @@ }, { "model": "team.staff", - "pk": 89, + "pk": 42, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 15, - "team": 30, - "user": 89, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 7, + "team": 14, + "user": 42, + "member": 42, "type": 21, "status": 12, "importer": false, @@ -3445,19 +3313,20 @@ }, { "model": "team.staff", - "pk": 90, + "pk": 43, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 16, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 8, "team": null, - "user": 90, + "user": 43, + "member": 43, "type": 23, "status": 12, "importer": false, @@ -3469,19 +3338,20 @@ }, { "model": "team.staff", - "pk": 91, + "pk": 44, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 16, - "team": 31, - "user": 91, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 8, + "team": 15, + "user": 44, + "member": 44, "type": 22, "status": 12, "importer": false, @@ -3493,19 +3363,20 @@ }, { "model": "team.staff", - "pk": 92, + "pk": 45, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 16, - "team": 31, - "user": 92, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 8, + "team": 15, + "user": 45, + "member": 45, "type": 21, "status": 12, "importer": false, @@ -3517,19 +3388,20 @@ }, { "model": "team.staff", - "pk": 93, + "pk": 46, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 16, - "team": 32, - "user": 93, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 8, + "team": 16, + "user": 46, + "member": 46, "type": 22, "status": 12, "importer": false, @@ -3541,19 +3413,20 @@ }, { "model": "team.staff", - "pk": 94, + "pk": 47, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "season": 2, - "league": 4, - "division": 8, - "subdivision": 16, - "team": 32, - "user": 94, + "season": 1, + "league": 2, + "division": 4, + "subdivision": 8, + "team": 16, + "user": 47, + "member": 47, "type": 21, "status": 12, "importer": false, @@ -3564,939 +3437,1178 @@ } }, { - "model": "team.teamstatus", - "pk": 1, + "model": "team.staff", + "pk": 48, "fields": { - "old_sk_id": 22, - "inserted": "2012-09-26T19:56:39Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T19:56:39Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "ENTERED IN HCR", - "weight": 1, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": null, + "division": null, + "subdivision": null, + "team": null, + "user": 48, + "member": 48, + "type": 26, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 2, + "model": "team.staff", + "pk": 49, "fields": { - "old_sk_id": 23, - "inserted": "2012-09-26T19:57:22Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T19:57:22Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "HCR ISSUES", - "weight": 2, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": null, + "subdivision": null, + "team": null, + "user": 49, + "member": 49, + "type": 25, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 3, + "model": "team.staff", + "pk": 50, "fields": { - "old_sk_id": 24, - "inserted": "2012-10-01T19:57:48Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-10-01T19:57:48Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "PLAYERS READY FOR HC", - "weight": 3, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": 5, + "subdivision": null, + "team": null, + "user": 50, + "member": 50, + "type": 24, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 4, + "model": "team.staff", + "pk": 51, "fields": { - "old_sk_id": 25, - "inserted": "2012-11-01T12:23:20Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-01T12:23:20Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "WAITING FOR STAFF", - "weight": 4, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": 5, + "subdivision": 9, + "team": null, + "user": 51, + "member": 51, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 5, + "model": "team.staff", + "pk": 52, "fields": { - "old_sk_id": 26, - "inserted": "2012-11-01T14:46:14Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-01T14:46:14Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "APPROVAL NOT REQUIRED", - "weight": 5, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": 5, + "subdivision": 9, + "team": 17, + "user": 52, + "member": 52, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 6, + "model": "team.staff", + "pk": 53, "fields": { - "old_sk_id": 27, - "inserted": "2012-11-06T18:49:49Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-06T18:49:49Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "RESUBMITTED FOR APPROVAL", - "weight": 6, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": 5, + "subdivision": 9, + "team": 17, + "user": 53, + "member": 53, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 7, + "model": "team.staff", + "pk": 54, "fields": { - "old_sk_id": 29, - "inserted": "2013-09-08T21:46:52Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-09-08T21:46:52Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "WAITING ON COACH", - "weight": 7, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false + "season": 2, + "league": 3, + "division": 5, + "subdivision": 9, + "team": 18, + "user": 54, + "member": 54, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatus", - "pk": 8, - "fields": { - "old_sk_id": 30, - "inserted": "2013-10-30T14:15:26Z", - "inserted_by": null, - "updated": "2013-10-30T14:15:26Z", - "updated_by": null, - "name": "SUBMIT WHEN BALANCED", - "weight": 8, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 9, - "fields": { - "old_sk_id": 31, - "inserted": "2013-11-21T19:09:25Z", - "inserted_by": null, - "updated": "2013-11-21T20:02:18Z", - "updated_by": null, - "name": "APPROVED PLAYERS", - "weight": 9, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 10, - "fields": { - "old_sk_id": 32, - "inserted": "2014-10-06T19:22:36Z", - "inserted_by": null, - "updated": "2014-10-06T19:22:36Z", - "updated_by": null, - "name": "IN DRAFT PROCESS", - "weight": 10, - "include_in_roster_export": false, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 11, - "fields": { - "old_sk_id": 33, - "inserted": "2014-10-06T19:27:52Z", - "inserted_by": null, - "updated": "2014-11-28T14:55:46Z", - "updated_by": null, - "name": "WAITING FOR A COACH", - "weight": 11, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 12, - "fields": { - "old_sk_id": 34, - "inserted": "2014-10-21T18:42:05Z", - "inserted_by": null, - "updated": "2014-10-21T18:42:05Z", - "updated_by": null, - "name": "PLAYER ISSUES", - "weight": 12, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 13, - "fields": { - "old_sk_id": 35, - "inserted": "2014-11-28T14:53:58Z", - "inserted_by": null, - "updated": "2014-11-28T14:53:58Z", - "updated_by": null, - "name": "PLAYERS SUBMITTED", - "weight": 13, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 14, - "fields": { - "old_sk_id": 38, - "inserted": "2018-06-18T17:49:11Z", - "inserted_by": null, - "updated": "2018-06-18T17:49:11Z", - "updated_by": null, - "name": "STAFF READY NEED PLAYERS", - "weight": 14, - "include_in_roster_export": false, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 15, - "fields": { - "old_sk_id": 16, - "inserted": "2012-07-21T20:43:33.150Z", - "inserted_by": null, - "updated": "2012-07-21T20:43:33.150Z", - "updated_by": null, - "name": "INPROGRESS", - "weight": 15, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 16, - "fields": { - "old_sk_id": 21, - "inserted": "2012-09-15T04:21:49.637Z", - "inserted_by": null, - "updated": "2012-09-15T04:21:49.637Z", - "updated_by": null, - "name": "DRAFTMODE", - "weight": 16, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 17, - "fields": { - "old_sk_id": 17, - "inserted": "2012-07-21T20:43:33.150Z", - "inserted_by": null, - "updated": "2012-07-21T20:43:33.150Z", - "updated_by": null, - "name": "READY TO SUBMIT", - "weight": 17, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 18, - "fields": { - "old_sk_id": 18, - "inserted": "2012-07-21T20:43:33Z", - "inserted_by": null, - "updated": "2015-12-09T19:59:23Z", - "updated_by": null, - "name": "SUBMITTED", - "weight": 18, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": true - } -}, -{ - "model": "team.teamstatus", - "pk": 19, - "fields": { - "old_sk_id": 19, - "inserted": "2012-07-21T20:43:33Z", - "inserted_by": null, - "updated": "2013-11-21T19:09:50Z", - "updated_by": null, - "name": "APPROVED", - "weight": 19, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 20, - "fields": { - "old_sk_id": 20, - "inserted": "2012-07-21T20:43:33.150Z", - "inserted_by": null, - "updated": "2012-07-21T20:43:33.150Z", - "updated_by": null, - "name": "REJECTED", - "weight": 20, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatus", - "pk": 21, + "model": "team.staff", + "pk": 55, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "name": "Fixture Approved", - "weight": 0, - "include_in_roster_export": true, - "considered_approved": false, - "clear_changed_staff_players_flag": false - } -}, -{ - "model": "team.teamstatusreason", - "pk": 1, - "fields": { - "old_sk_id": 6, - "inserted": "2012-09-26T20:00:05Z", - "inserted_by": null, - "updated": "2012-09-26T20:00:05Z", - "updated_by": null, - "status": 2, - "name": "STAFF NOT IN HCR", - "weight": 0, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 9, + "team": 18, + "user": 55, + "member": 55, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 2, + "model": "team.staff", + "pk": 56, "fields": { - "old_sk_id": 7, - "inserted": "2012-09-26T20:00:26Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T20:00:26Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 2, - "name": "STAFF NOT QUALIFIED", - "weight": 1, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 10, + "team": null, + "user": 56, + "member": 56, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 3, + "model": "team.staff", + "pk": 57, "fields": { - "old_sk_id": 8, - "inserted": "2012-09-26T20:01:18Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T20:01:18Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 2, - "name": "STAFF NEEDS CONVERSION", - "weight": 2, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 10, + "team": 19, + "user": 57, + "member": 57, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 4, + "model": "team.staff", + "pk": 58, "fields": { - "old_sk_id": 9, - "inserted": "2012-09-26T20:03:00Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T20:03:00Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 2, - "name": "STAFF NAME NOT MATCHING", - "weight": 3, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 10, + "team": 19, + "user": 58, + "member": 58, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 5, + "model": "team.staff", + "pk": 59, "fields": { - "old_sk_id": 10, - "inserted": "2012-09-26T20:05:01Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T20:05:01Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 2, - "name": "STAFF MERGE REQUIRED", - "weight": 4, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 10, + "team": 20, + "user": 59, + "member": 59, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 6, + "model": "team.staff", + "pk": 60, "fields": { - "old_sk_id": 12, - "inserted": "2012-09-26T20:08:06Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-09-26T20:08:06Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 2, - "name": "STAFF NOT IN SK IS IN HCR", - "weight": 5, - "default": null + "season": 2, + "league": 3, + "division": 5, + "subdivision": 10, + "team": 20, + "user": 60, + "member": 60, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 7, + "model": "team.staff", + "pk": 61, "fields": { - "old_sk_id": 13, - "inserted": "2012-10-01T20:31:39Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-10-01T20:31:39Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 16, - "name": "N/A", - "weight": 6, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": null, + "team": null, + "user": 61, + "member": 61, + "type": 24, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 8, + "model": "team.staff", + "pk": 62, "fields": { - "old_sk_id": 14, - "inserted": "2012-10-01T20:39:29Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-10-01T20:39:29Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 1, - "name": "N/A", - "weight": 7, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 11, + "team": null, + "user": 62, + "member": 62, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 9, + "model": "team.staff", + "pk": 63, "fields": { - "old_sk_id": 15, - "inserted": "2012-10-01T20:39:56Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-10-01T20:39:56Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 3, - "name": "N/A", - "weight": 8, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 11, + "team": 21, + "user": 63, + "member": 63, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 10, + "model": "team.staff", + "pk": 64, "fields": { - "old_sk_id": 16, - "inserted": "2012-11-01T12:26:18Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-01T12:26:18Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 4, - "name": "PLAYERS IN HCR", - "weight": 9, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 11, + "team": 21, + "user": 64, + "member": 64, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 11, + "model": "team.staff", + "pk": 65, "fields": { - "old_sk_id": 17, - "inserted": "2012-11-01T14:46:51Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-01T14:46:51Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 5, - "name": "NO ROSTER NEEDED", - "weight": 10, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 11, + "team": 22, + "user": 65, + "member": 65, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 12, + "model": "team.staff", + "pk": 66, "fields": { - "old_sk_id": 18, - "inserted": "2012-11-06T18:50:36Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-11-06T18:50:36Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 6, - "name": "ROSTER UPDATED", - "weight": 11, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 11, + "team": 22, + "user": 66, + "member": 66, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 13, + "model": "team.staff", + "pk": 67, "fields": { - "old_sk_id": 19, - "inserted": "2013-09-08T17:55:34Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-09-08T17:55:34Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 20, - "name": "MISSING STAFF", - "weight": 12, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 12, + "team": null, + "user": 67, + "member": 67, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 14, + "model": "team.staff", + "pk": 68, "fields": { - "old_sk_id": 20, - "inserted": "2013-09-08T21:48:13Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-09-08T21:48:13Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 7, - "name": "REQUIRES PLYRS AND STF", - "weight": 13, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 12, + "team": 23, + "user": 68, + "member": 68, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 15, + "model": "team.staff", + "pk": 69, "fields": { - "old_sk_id": 21, - "inserted": "2013-09-08T21:49:20Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-09-08T21:49:20Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 7, - "name": "REQUIRES BENCH STAFF", - "weight": 14, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 12, + "team": 23, + "user": 69, + "member": 69, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 16, + "model": "team.staff", + "pk": 70, "fields": { - "old_sk_id": 22, - "inserted": "2013-09-08T21:50:23Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-09-08T21:50:23Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 7, - "name": "REQUIRE STF CERTIFICTN", - "weight": 15, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 12, + "team": 24, + "user": 70, + "member": 70, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 17, + "model": "team.staff", + "pk": 71, "fields": { - "old_sk_id": 23, - "inserted": "2013-10-31T19:01:32Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-10-31T19:01:32Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 20, - "name": "REJECTED", - "weight": 16, - "default": null + "season": 2, + "league": 3, + "division": 6, + "subdivision": 12, + "team": 24, + "user": 71, + "member": 71, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 18, + "model": "team.staff", + "pk": 72, "fields": { - "old_sk_id": 24, - "inserted": "2013-11-21T19:15:27Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-11-21T19:15:27Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 9, - "name": "MISSING STAFF", - "weight": 17, - "default": null + "season": 2, + "league": 4, + "division": null, + "subdivision": null, + "team": null, + "user": 72, + "member": 72, + "type": 25, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 19, + "model": "team.staff", + "pk": 73, "fields": { - "old_sk_id": 25, - "inserted": "2013-11-21T19:59:41Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-11-21T19:59:41Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "PLAYERS OK-MISSING STAFF", - "weight": 18, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": null, + "team": null, + "user": 73, + "member": 73, + "type": 24, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 20, + "model": "team.staff", + "pk": 74, "fields": { - "old_sk_id": 26, - "inserted": "2013-11-27T14:35:40Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2013-11-27T14:35:40Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "STAFF CHGS REQU'D", - "weight": 19, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 13, + "team": null, + "user": 74, + "member": 74, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 21, + "model": "team.staff", + "pk": 75, "fields": { - "old_sk_id": 27, - "inserted": "2014-10-06T19:23:33Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2014-10-06T19:23:33Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 10, - "name": "IN PROGRESS", - "weight": 20, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 13, + "team": 25, + "user": 75, + "member": 75, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 22, + "model": "team.staff", + "pk": 76, "fields": { - "old_sk_id": 28, - "inserted": "2014-10-06T19:28:10Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2014-10-06T19:28:10Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 11, - "name": "IN PROGRESS", - "weight": 21, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 13, + "team": 25, + "user": 76, + "member": 76, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 23, + "model": "team.staff", + "pk": 77, "fields": { - "old_sk_id": 31, - "inserted": "2014-11-28T15:01:31Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2014-11-28T15:01:31Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 17, - "name": "STAFF WILL BE REJECTED", - "weight": 22, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 13, + "team": 26, + "user": 77, + "member": 77, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 24, + "model": "team.staff", + "pk": 78, "fields": { - "old_sk_id": 34, - "inserted": "2014-12-01T21:17:34Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2014-12-01T21:17:34Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 7, - "name": "REQUIRES DECLARATIONS", - "weight": 23, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 13, + "team": 26, + "user": 78, + "member": 78, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 25, + "model": "team.staff", + "pk": 79, "fields": { - "old_sk_id": 35, - "inserted": "2014-12-02T21:28:40Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2014-12-02T21:28:40Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 18, - "name": "STAFF WILL BE REJECTED", - "weight": 24, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 14, + "team": null, + "user": 79, + "member": 79, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 26, + "model": "team.staff", + "pk": 80, "fields": { - "old_sk_id": 36, - "inserted": "2015-06-10T15:26:36Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-06-10T15:26:36Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 17, - "name": "WAITING ON PLAYERS", - "weight": 25, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 14, + "team": 27, + "user": 80, + "member": 80, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 27, + "model": "team.staff", + "pk": 81, "fields": { - "old_sk_id": 37, - "inserted": "2015-07-07T13:20:41Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-07-07T13:20:41Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "MISSING PLAYER(S)", - "weight": 26, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 14, + "team": 27, + "user": 81, + "member": 81, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 28, + "model": "team.staff", + "pk": 82, "fields": { - "old_sk_id": 38, - "inserted": "2015-10-19T16:16:01Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-10-19T16:16:01Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 9, - "name": "STAFF REJECTED", - "weight": 27, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 14, + "team": 28, + "user": 82, + "member": 82, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 29, + "model": "team.staff", + "pk": 83, "fields": { - "old_sk_id": 39, - "inserted": "2015-10-19T16:29:48Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-10-19T16:29:48Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 20, - "name": "NO GOALIE", - "weight": 28, - "default": null + "season": 2, + "league": 4, + "division": 7, + "subdivision": 14, + "team": 28, + "user": 83, + "member": 83, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 30, + "model": "team.staff", + "pk": 84, "fields": { - "old_sk_id": 40, - "inserted": "2015-10-28T19:33:43Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-10-28T19:33:43Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "NO GOALIE", - "weight": 29, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": null, + "team": null, + "user": 84, + "member": 84, + "type": 24, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 31, + "model": "team.staff", + "pk": 85, "fields": { - "old_sk_id": 41, - "inserted": "2015-11-17T16:02:55Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-11-17T16:02:55Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "ON-ICE VOLUNTEER(S)", - "weight": 30, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 15, + "team": null, + "user": 85, + "member": 85, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 32, + "model": "team.staff", + "pk": 86, "fields": { - "old_sk_id": 42, - "inserted": "2015-11-24T17:59:55Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-11-24T17:59:55Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "TEAM & ON-ICE VOL'S", - "weight": 31, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 15, + "team": 29, + "user": 86, + "member": 86, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 33, + "model": "team.staff", + "pk": 87, "fields": { - "old_sk_id": 43, - "inserted": "2015-12-09T19:40:16Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2015-12-09T19:40:16Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 18, - "name": "PLAYERS ONLY", - "weight": 32, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 15, + "team": 29, + "user": 87, + "member": 87, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 34, + "model": "team.staff", + "pk": 88, "fields": { - "old_sk_id": 44, - "inserted": "2021-04-26T13:14:48Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2021-04-26T13:14:48Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 7, - "name": "REQUIRES POLICE CLEARANCE", - "weight": 33, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 15, + "team": 30, + "user": 88, + "member": 88, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 35, + "model": "team.staff", + "pk": 89, "fields": { - "old_sk_id": 1, - "inserted": "2012-07-21T20:43:42.760Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-07-21T20:43:42.760Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 15, - "name": "N/A", - "weight": 34, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 15, + "team": 30, + "user": 89, + "member": 89, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 36, + "model": "team.staff", + "pk": 90, "fields": { - "old_sk_id": 2, - "inserted": "2012-07-21T20:43:42.760Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-07-21T20:43:42.760Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 17, - "name": "N/A", - "weight": 35, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 16, + "team": null, + "user": 90, + "member": 90, + "type": 23, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 37, + "model": "team.staff", + "pk": 91, "fields": { - "old_sk_id": 3, - "inserted": "2012-07-21T20:43:42.760Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-07-21T20:43:42.760Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 18, - "name": "N/A", - "weight": 36, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 16, + "team": 31, + "user": 91, + "member": 91, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 38, + "model": "team.staff", + "pk": 92, "fields": { - "old_sk_id": 4, - "inserted": "2012-07-21T20:43:42.760Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-07-21T20:43:42.760Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 19, - "name": "N/A", - "weight": 37, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 16, + "team": 31, + "user": 92, + "member": 92, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 39, + "model": "team.staff", + "pk": 93, "fields": { - "old_sk_id": 5, - "inserted": "2012-07-21T20:43:42.760Z", + "old_sk_id": null, + "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, - "updated": "2012-07-21T20:43:42.760Z", + "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 20, - "name": "CERTIFICATIONS REQUIRED", - "weight": 38, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 16, + "team": 32, + "user": 93, + "member": 93, + "type": 22, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } }, { - "model": "team.teamstatusreason", - "pk": 40, + "model": "team.staff", + "pk": 94, "fields": { "old_sk_id": null, "inserted": "2022-01-01T05:00:00Z", "inserted_by": null, "updated": "2022-01-01T05:00:00Z", "updated_by": null, - "status": 21, - "name": "Fixture Approved Reason", - "weight": 39, - "default": null + "season": 2, + "league": 4, + "division": 8, + "subdivision": 16, + "team": 32, + "user": 94, + "member": 94, + "type": 21, + "status": 12, + "importer": false, + "affiliate": false, + "tryout": false, + "registration_date": null, + "release_date": null } } ] diff --git a/team/migrations/0001_initial.py b/team/migrations/0001_initial.py index e15ec87..5015f4e 100644 --- a/team/migrations/0001_initial.py +++ b/team/migrations/0001_initial.py @@ -1,9 +1,10 @@ -# Generated by Django 4.0.3 on 2022-03-12 20:43 +# Generated by Django 4.0.3 on 2022-03-13 16:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.db.models.expressions +import django.db.models.functions.text import django.utils.timezone import positions.fields @@ -670,6 +671,12 @@ class Migration(migrations.Migration): to="core.league", ), ), + ( + "member", + models.ForeignKey( + on_delete=django.db.models.deletion.PROTECT, to="core.member" + ), + ), ( "season", models.ForeignKey( @@ -743,4 +750,11 @@ class Migration(migrations.Migration): name="teamstatusreason_status_default_uniqueness", ), ), + migrations.AddConstraint( + model_name="teamstatus", + constraint=models.UniqueConstraint( + django.db.models.functions.text.Lower("name"), + name="teamstatus_name_uniqueness", + ), + ), ] diff --git a/team/migrations/0002_teamstatus_teamstatus_name_uniqueness.py b/team/migrations/0002_teamstatus_teamstatus_name_uniqueness.py deleted file mode 100644 index 67d99a7..0000000 --- a/team/migrations/0002_teamstatus_teamstatus_name_uniqueness.py +++ /dev/null @@ -1,21 +0,0 @@ -# Generated by Django 4.0.3 on 2022-03-12 21:00 - -from django.db import migrations, models -import django.db.models.functions.text - - -class Migration(migrations.Migration): - - dependencies = [ - ("team", "0001_initial"), - ] - - operations = [ - migrations.AddConstraint( - model_name="teamstatus", - constraint=models.UniqueConstraint( - django.db.models.functions.text.Lower("name"), - name="teamstatus_name_uniqueness", - ), - ), - ] diff --git a/team/models.py b/team/models.py index 46b33b3..2a96f3e 100644 --- a/team/models.py +++ b/team/models.py @@ -125,6 +125,11 @@ class Meta: default = models.BooleanField(default=None, null=True, blank=True) + def save(self, *args, **kwargs): + if self.default is False: + self.default = None + return super().save(*args, **kwargs) + class TeamStatusLog(_BaseModel): class Meta: @@ -276,8 +281,7 @@ class Meta: related_name="staff_assignments", ) - # TODO: Where is persons being stored? - # person = models.ForeignKey() + member = models.ForeignKey("core.Member", on_delete=models.PROTECT) type = models.ForeignKey(StaffType, on_delete=models.PROTECT) status = models.ForeignKey(StaffStatus, on_delete=models.PROTECT) diff --git a/team/tests.py b/team/tests.py index 026db62..67eaa51 100644 --- a/team/tests.py +++ b/team/tests.py @@ -1,7 +1,18 @@ from django.db.utils import IntegrityError from django.test import TestCase - -from core.models import Division, League, PermissionOverrides, Season, SubDivision, User +from django.utils import timezone + +from core.models import ( + Division, + Gender, + League, + Member, + MemberStatus, + PermissionOverrides, + Season, + SubDivision, + User, +) from core.perms import add_override_permission from core.test_helpers import FixtureBasedTestCase @@ -292,10 +303,29 @@ def setUp(self) -> None: return super().setUp() def create_staff(self, *args, **kwargs): + user = User.objects.create_user("test@domain.com", "12345") + + member = Member.objects.create( + first_name=user.username, + last_name="Hockey", + address1="123 Fake Street", + city="Toronto", + province="Ontario", + postal_code="1S34R6", + date_of_birth=timezone.make_aware( + timezone.datetime(2012, 1, 15, 0, 0, 0), + timezone.get_current_timezone(), + ).date(), + email=user.email, + gender=Gender.objects.create(name="test"), + status=MemberStatus.objects.create(name="test"), + ) + return Staff.objects.create( user=self.user, type=self.stafftype, status=self.staffstatus, + member=member, *args, **kwargs, )