/
NoWay1co
/
AudioAnalytics
Обзор
Документация
Войти
/
NoWay1co
/
AudioAnalytics
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
PostgreSQL/script2.sql
21 строка
709 B
Ivan
добавлена дефолтная организация в схему postgre + обновлен скрипт
07 фев 2026, 08:41
07 фев 2026, 08:41
d544ad2
Код
Авторство
О чём код?
-- script2.sql -- This file is mounted as /docker-entrypoint-initdb.d/02-data.sql -- It runs once when the PostgreSQL volume is first created. -- -- Only creates a default organization. All other data is managed through the API. -- ============================================================ -- Default Organization -- ============================================================ INSERT INTO organizations (id, name, legal_name, inn, email, phone, settings, is_active, created_at) VALUES ( 'a0000000-0000-0000-0000-000000000001', 'AudioAI', 'AudioAI Platform', '0000000000', 'org@audioai.ru', NULL, '{"show_mock_data": false}', true, NOW() ) ON CONFLICT (id) DO NOTHING;