meobda-website/database/seeders/MeobdaData2526.php

84 lines
4.8 KiB
PHP

<?php
namespace Database\Seeders;
use App\Models\SiteDataItem;
use Illuminate\Database\Seeder;
class MeobdaData2526 extends Seeder
{
public function run(): void
{
$defaults = [
['key' => 'concertAuditionFee', 'description' => 'Concert Entry Fee', 'value' => '$10.00', 'type' => 'string'],
['key' => 'concertClinicDates', 'description' => 'Concert Clinic Dates', 'value' => 'February 2-3, 2026', 'type' => 'string'],
['key' => 'concertClinicLocation', 'description' => 'Concert Clinic Location', 'value' => 'Oologah High School', 'type' => 'string'],
['key' => 'beginnerClinicDates', 'description' => 'Beginner Clinic Dates', 'value' => 'April 7, 2026', 'type' => 'string'],
['key' => 'beginnerClinicLocation', 'description' => 'Beginner Clinic Location', 'value' => 'Wagoner High School', 'type' => 'string'],
['key' => 'concertAuditionDate', 'description' => 'Concert Audition Date', 'value' => 'January 12, 2026', 'type' => 'string'],
['key' => 'concertAuditionLocation', 'description' => 'Concert Audition Location', 'value' => 'Wagoner High School', 'type' => 'string'],
['key' => 'concertEntryDeadline', 'description' => 'Concert Entry Deadline', 'value' => 'December 19, 2025', 'type' => 'string'],
['key' => 'beginnerEntryDeadline', 'description' => 'Beginner Entry Deadline', 'value' => 'March 13, 2026', 'type' => 'string'],
[
'key' => 'officers',
'description' => 'Officers',
'value' => json_encode([
['office' => 'President', 'name' => 'Keysto Stotz', 'school' => 'Skiatook'],
['office' => 'Vice President', 'name' => 'Jon Matthews', 'school' => 'Oologah'],
['office' => 'Secretary', 'name' => 'Kate Aldridge', 'school' => 'Wagoner'],
['office' => 'Treasurer & Audition Coordinator', 'name' => 'Matt Young', 'school' => 'Vinita'],
]),
'type' => 'json',
],
[
'key' => 'concertEnsembles',
'description' => 'Concert Ensembles',
'value' => json_encode([
['name' => 'High School Band', 'chair' => 'Bruce Thompson', 'clinician' => ''],
['name' => 'Junior High Band', 'chair' => 'Doug Finley', 'clinician' => ''],
['name' => '7th Grade Band', 'chair' => 'Tyler Reeves', 'clinician' => ''],
]),
'type' => 'json',
],
[
'key' => 'beginnerEnsembles',
'description' => 'Beginner Ensembles',
'value' => json_encode([
['name' => 'First & Second Year A', 'chair' => 'Renee Roberts', 'clinician' => ''],
['name' => 'First & Second Year B', 'chair' => 'Madison West', 'clinician' => ''],
['name' => 'First & Second Year C', 'chair' => 'Denton Bodine', 'clinician' => ''],
]),
'type' => 'json',
],
[
'key' => 'jazzEnsembles',
'description' => 'Jazz Ensembles',
'value' => json_encode([
['name' => 'Jazz Band', 'chair' => 'Eric Noble', 'clinician' => ''],
]),
'type' => 'json',
],
[
'key' => 'concertAuditionAdditionalInformation',
'description' => 'Additional information regarding concert auditions',
'value' => '9th Graders may audition for the Jr. High and/or HS Band. Those auditioning for both bands must pay a $10.00 audition fee for each instrument they audition on for each band. (A 9th grade trumpet player auditioning for the Jr. High and HS band would pay $20.00; a 9th grade sax player auditioning on alto and tenor for the Jr. High and HS band would pay $40.00).
9th Graders, auditioning for both Jr. High and HS, who score well enough to be in the HS band will be placed in the HS band.',
'type' => 'text',
],
[
'key' => 'beginnerAuditionAdditionalInformation',
'description' => 'Additional information regarding beginner nomination',
'value' => 'Students are selected by director recommendation. Directors may being up to 9 students for each band, but no more than one drummer or two alto saxes for either. Entry fee is $10.00 and includes lunch.',
'type' => 'text',
],
];
foreach ($defaults as $item) {
SiteDataItem::updateOrCreate(
['key' => $item['key']],
['description' => $item['description'], 'value' => $item['value'], 'type' => $item['type']]
);
}
}
}