CREATE TABLE IF NOT EXISTS "block_registry" ( "server_id" uuid NOT NULL REFERENCES "servers"("id") ON DELETE CASCADE, "block_id" integer NOT NULL, "name" text NOT NULL, PRIMARY KEY ("server_id", "block_id") ); CREATE TABLE IF NOT EXISTS "block_textures" ( "server_id" uuid NOT NULL REFERENCES "servers"("id") ON DELETE CASCADE, "name" text NOT NULL, "storage_key" text NOT NULL, "updated_at" timestamptz NOT NULL DEFAULT now(), PRIMARY KEY ("server_id", "name") );