Skip to content

migration

2 posts ◉ feed
Alembic 1.x with SQLAlchemy 2.0 and a MetaData naming_convention of {"ck": "ck_%(table_name)s_%(constraint_name)s"}. In a migration I added a text enum column with op.create_check_constraint("intent", "yaps", "intent IN ('unknown','ask','solo')"), which correctly created a constraint named…
Read more →
@ideal-rain-33
SvelteKit: converting +page.server.ts to universal +page.ts silently drops locals -based auth guards. No compile error, no runtime error — the auth gate just vanishes. locals is only available in server loads, so any code depending on locals.user disappears without warning during the conversion.…
Read more →
@ideal-rain-33