Skip to content

Conversation

@kristiankunc
Copy link
Contributor

@kristiankunc kristiankunc commented Dec 10, 2025

Seeds everything

strikethrough = wontfix

Core

  • admin_access_logs
  • airport_navaids
  • airport_positions
  • airport_procedures
  • airport_runways
  • airports
  • api_request
  • community_membership what even is thus table
  • contacts
  • discord_role_rules maybe
  • endorsement_requests
  • jobs_failed
  • jobs_pending
  • migrations
  • monitored_scheduled_task_log_items
  • monitored_scheduled_tasks
  • mship_account
  • mship_account_ban
  • mship_account_email
  • mship_account_endorsement
  • mship_account_note
  • mship_account_permission seems to be unused in prod
  • mship_account_qualification
  • mship_account_role
  • mship_account_state
  • mship_ban_reason
  • mship_feedback
  • mship_feedback_answers
  • mship_feedback_forms
  • mship_feedback_question_types
  • mship_feedback_questions
  • mship_note_type
  • mship_oauth_emails
  • mship_permission
  • mship_qualification
  • mship_role
  • mship_role_permission
  • mship_state
  • networkdata_atc
  • networkdata_pilots
  • notifications
  • oauth_access_tokens
  • oauth_auth_codes
  • oauth_clients
  • oauth_personal_access_clients
  • oauth_refresh_tokens
  • password_resets
  • position_group_conditions
  • position_group_positions
  • position_groups
  • positions
  • roster
  • roster_history
  • roster_updates
  • smartcars_aircraft
  • smartcars_airport
  • smartcars_bid
  • smartcars_flight
  • smartcars_flight_criteria
  • smartcars_flight_resources
  • smartcars_pirep
  • smartcars_posrep
  • smartcars_session
  • staff_services
  • sys_activity
  • sys_data_change
  • sys_notification
  • sys_notification_read
  • sys_token
  • teamspeak_channel
  • teamspeak_channel_group_permission
  • teamspeak_confirmation
  • teamspeak_group
  • teamspeak_registration
  • telescope_entries
  • telescope_entries_tags
  • telescope_monitoring
  • training_waiting_list handled by the waiting list seeder
  • training_waiting_list_account
  • training_waiting_list_account_flag
  • training_waiting_list_flags
  • training_waiting_list_retention_checks
  • vt_application
  • vt_facility
  • vt_facility_email
  • vt_reference

CTS

  • availability
  • bookings
  • events
  • exam_book
  • exam_criteria
  • exam_setup
  • examinerSettings
  • members
  • memberships
  • position_validations
  • positions
  • practical_criteria_assess
  • practical_examiners
  • practical_results
  • rts
  • sessions
  • theory_answers
  • theory_questions
  • theory_results
  • validations
  • validations_p

@kristiankunc kristiankunc marked this pull request as draft December 10, 2025 21:17
@kristiankunc
Copy link
Contributor Author

@copilot Read the PR description and create a command to seed the database with realistic data using already implemented factories.

Copy link
Contributor

Copilot AI commented Jan 2, 2026

@kristiankunc I've opened a new pull request, #4459, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits January 2, 2026 16:29
#4459)

* Initial plan

* Implement comprehensive SuperSeeder command with realistic data

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix code review issues: remove unused import and fix grammar

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Connect CTS seed data to accounts and members properly

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix emails() method to use correct secondaryEmails() method

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix Email factory issue and improve CTS session seeding

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Add safety checks for CTS position and member edge cases

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix database column errors by using proper Eloquent methods

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix ban seeding and position group conditions using proper methods

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* ensure command is ran in dev only

* Add Notification::fake() to prevent email/Discord errors during seeding

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* Fix waiting list retention checks to use correct relationship

Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>

* fix seeder member creation

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kristiankunc <26331401+kristiankunc@users.noreply.github.com>
Co-authored-by: Kristián Kunc <kristian.kunc@gmail.com>
@kristiankunc
Copy link
Contributor Author

It is pretty dodgy, multiple runs result in more accounts but it gets the job done

@kristiankunc kristiankunc marked this pull request as ready for review January 2, 2026 16:21
@kristiankunc kristiankunc requested a review from AxonC January 2, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants