Skip to content

Commit f45348e

Browse files
committed
fix(docs): split code block to fix blacken-docs parse error in spec
Signed-off-by: Sébastien Han <seb@redhat.com>
1 parent b1b7942 commit f45348e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs/superpowers/specs/2026-05-18-alembic-migrations-design.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,20 @@ VECTOR_STORE_FILE_BATCHES_SCHEMA = { ... }
146146

147147
Service files change their `create_table()` calls to import from `schema.py`:
148148

149+
Before (inline schema):
150+
149151
```python
150-
# Before (inline schema):
151152
await self.sql_store.create_table("prompts", {
152153
"id": ColumnDefinition(type=ColumnType.STRING, primary_key=True),
153154
"prompt_id": ColumnType.STRING,
154-
...
155155
})
156+
```
157+
158+
After (imported schema):
156159

157-
# After (imported schema):
160+
```python
158161
from ogx.core.storage.schema import PROMPTS_SCHEMA
162+
159163
await self.sql_store.create_table(TABLE_PROMPTS, PROMPTS_SCHEMA)
160164
```
161165

0 commit comments

Comments
 (0)