Initial commit
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
-- ============================================================
|
||||
-- seed.sql — sample events and demo messages.
|
||||
-- Run AFTER 0001_init.sql.
|
||||
--
|
||||
-- Promote yourself to admin (replace with your email):
|
||||
-- select public.promote_user_to_admin('you@example.com');
|
||||
-- ============================================================
|
||||
|
||||
insert into public.events (slug, title, description, starts_at, ends_at, venue_name, status) values
|
||||
(
|
||||
'open-air-cinema-under-the-stars',
|
||||
'{"ua": "Кіно просто неба: «Тіні забутих предків»", "en": "Open-air cinema: Shadows of Forgotten Ancestors"}',
|
||||
'{"ua": "Культова стрічка на великому екрані під зоряним небом. Беріть плед, гарячий чай і друзів — початок після заходу сонця.", "en": "A cult film on the big screen under the starry sky. Bring a blanket, hot tea and friends — we start after sunset."}',
|
||||
now() + interval '3 days',
|
||||
now() + interval '3 days' + interval '2 hours',
|
||||
'Devodytyji',
|
||||
'published'
|
||||
),
|
||||
(
|
||||
'summer-evening-acoustic-concert',
|
||||
'{"ua": "Акустичний вечір: українські виконавці", "en": "Acoustic evening: Ukrainian artists"}',
|
||||
'{"ua": "Теплий літній вечір, живий звук і кращі українські інді-гурти. Вхід вільний, обовʼязковий гарний настрій.", "en": "A warm summer evening, live sound and the best Ukrainian indie bands. Free entry, good mood mandatory."}',
|
||||
now() + interval '10 days',
|
||||
now() + interval '10 days' + interval '3 hours',
|
||||
'Devodytyji',
|
||||
'published'
|
||||
),
|
||||
(
|
||||
'feria-of-crafts-and-food',
|
||||
'{"ua": "Ярмарок крафту та їжі", "en": "Crafts and food fair"}',
|
||||
'{"ua": "Десятки локальних майстрів, фермерські продукти, жива музика та дитяча зона. Ідеальний день для всієї родини.", "en": "Dozens of local makers, farm produce, live music and a kids area. A perfect day for the whole family."}',
|
||||
now() + interval '21 days',
|
||||
now() + interval '21 days' + interval '6 hours',
|
||||
'Devodytyji',
|
||||
'published'
|
||||
),
|
||||
(
|
||||
'night-lecture-on-astronomy',
|
||||
'{"ua": "Нічна лекція з астрономії", "en": "Night lecture on astronomy"}',
|
||||
'{"ua": "Дивимось у небо і розбираємось, що там відбувається. Телескопи — наші, запитання — ваші.", "en": "We look at the sky and figure out what is going on up there. Telescopes are ours, questions are yours."}',
|
||||
now() + interval '6 days',
|
||||
now() + interval '6 days' + interval '2 hours',
|
||||
'Devodytyji',
|
||||
'draft'
|
||||
);
|
||||
|
||||
insert into public.contact_messages (name, email, message, read) values
|
||||
(
|
||||
'Оксана Мельник',
|
||||
'oksana@example.com',
|
||||
'Добрий день! Чи можна прийти з собакою на кіновечір? І чи є теплі пледи?',
|
||||
false
|
||||
),
|
||||
(
|
||||
'Ivan Petrenko',
|
||||
'ivan@example.com',
|
||||
'Hi! Do you host private events / birthday parties? What are the rates for a Saturday?',
|
||||
true
|
||||
);
|
||||
Reference in New Issue
Block a user