1- CREATE TABLE serialized_components (
1+ CREATE TABLE share . serialized_components (
22 -- The user the term is sandboxed to.
33 user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE ,
44 component_hash_id INTEGER NOT NULL REFERENCES component_hashes(id) ON DELETE CASCADE ,
@@ -11,7 +11,7 @@ CREATE TABLE serialized_components (
1111 PRIMARY KEY (user_id, component_hash_id) INCLUDE (bytes_id)
1212);
1313
14- CREATE TABLE serialized_namespaces (
14+ CREATE TABLE share . serialized_namespaces (
1515 namespace_hash_id INTEGER NOT NULL REFERENCES branch_hashes(id) ON DELETE CASCADE ,
1616
1717 -- The serialized namespace
@@ -22,15 +22,15 @@ CREATE TABLE serialized_namespaces (
2222 PRIMARY KEY (namespace_hash_id) INCLUDE (bytes_id)
2323);
2424
25- CREATE TABLE serialized_patches (
25+ CREATE TABLE share . serialized_patches (
2626 patch_id INTEGER NOT NULL REFERENCES patches(id) ON DELETE CASCADE ,
2727 bytes_id INTEGER NOT NULL REFERENCES bytes(id) ON DELETE NO ACTION,
2828 created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
2929
3030 PRIMARY KEY (patch_id) INCLUDE (bytes_id)
3131);
3232
33- CREATE TABLE serialized_causals (
33+ CREATE TABLE share . serialized_causals (
3434 causal_id INTEGER NOT NULL REFERENCES causals(id) ON DELETE CASCADE ,
3535 bytes_id INTEGER NOT NULL REFERENCES bytes(id) ON DELETE NO ACTION,
3636 created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
0 commit comments