feat(sql): add demo schema additions and synthetic seed data

Add additive schema for demo (user.display_name, innovation.tags, FLEXIBLE free-form fields) and a fully synthetic seed with organizations, personas, problems, submissions, innovations, knowledge items, grant calls, ideas and tester feedback. Verified on SurrealDB 3.2.4: migrations apply cleanly and are idempotent.
This commit is contained in:
Rafał Tyński
2026-10-04 01:24:18 +02:00
parent 6df1027699
commit 0a5ef715eb
3 changed files with 134 additions and 1 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ Migracje w SurrealQL, wersjonowane w git. Backend (plik/RocksDB) jest źródłem
|---|---|
| `0001_schema.surql` | tabele, pola, indeksy (w tym HNSW + pełnotekstowy), `ACCESS`, `PERMISSIONS`, `ASSERT` |
| `0002_taxonomy_seed.surql` | 8 obszarów (`social_challenge`), tagi, próbka lokalizacji |
| `0003_demo_seed.surql` | dane syntetyczne (dodawane w kroku 09) |
| `0003_demo_schema.surql` | dodatki schematu pod demo: `user.display_name`, `innovation.tags`, pola `FLEXIBLE` |
| `0004_demo_seed.surql` | dane syntetyczne (persony, problemy, innowacje, wiedza, nabory) |
## Zasady