mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
fix(db): bootstrap only declared legacy fences
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
--
|
||||
-- Everything SchemaBot cannot apply lives in this directory's other
|
||||
-- subdirectories: `types/`, `functions/`, `partitions/`, `triggers/` (including
|
||||
-- write-fence attachment), `seeds/`, and the `community_write_fence.sql`
|
||||
-- bootstrap. This file composes all of them into one fresh database, in load
|
||||
-- order: types → functions → tables → partitions → triggers → seeds → fence.
|
||||
-- explicit legacy write-fence attachment), and `seeds/`. This file composes
|
||||
-- them into one fresh database, in load order:
|
||||
-- types → functions → tables → partitions → triggers → seeds.
|
||||
--
|
||||
-- `./bin/pgschema apply --file schema/schema.sql` resolves the `\i` includes
|
||||
-- relative to this file (it refuses `..`). `pgschema` skips INSERTs and some
|
||||
@@ -215,4 +215,3 @@ CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
\i seeds/storage_accounting_snapshots.sql
|
||||
|
||||
-- Fence any community-scoped table that lacks an explicit attach.
|
||||
\i community_write_fence.sql
|
||||
|
||||
Reference in New Issue
Block a user