v0.2.14
0.2.14
Patch Changes
-
af8faeb: Make
0001_rls.sqlreplayable, and ship the migration test that proves itcreate policyhas noif not exists, so applying the migration folder a second time answered
policy "notes_ws_isolation" for table "notes" already exists. A module's migrations are the first
thing the kernel runs, so that is a host service that never binds its port — not a broken feature.
The policy is now preceded bydrop policy if exists, as it is in every first-party module.src/server/migrations.test.tsis new and ships in the tarball. It applies the folder to a database
created from nothing, applies it again, and asks the Postgres catalogue which tables carrying
workspace_idare actually secured — so a tenant table added without a policy fails by name rather
than being silently readable. It needs aDATABASE_URLit can create databases from; CI already
starts one.