AI-Generated Summary: This pull request includes the addition of a new feature to seed speakers data into the application's database. It implements a new speakers.exs seed script, where each speaker's 'name', 'bio', and 'organization_id' attributes are set. The speaker's names are read from a students.txt file in the priv/fake/ directory. The script avoids seeding if there are already any speaker records present in the database. Moreover, the seeds.exs file has been updated to include the new seed file, allowing it to run along with other seed files. Overall, this makes adding mock speaker data for testing and development purposes significantly more convenient.
AI-Generated Summary: This pull request includes the addition of a new feature to seed speakers data into the application's database. It implements a new
speakers.exs
seed script, where each speaker's 'name', 'bio', and 'organization_id' attributes are set. The speaker's names are read from astudents.txt
file in thepriv/fake/
directory. The script avoids seeding if there are already any speaker records present in the database. Moreover, the seeds.exs file has been updated to include the new seed file, allowing it to run along with other seed files. Overall, this makes adding mock speaker data for testing and development purposes significantly more convenient.