 "field_type" varchar(255) COLLATE "default",
 "field_type_args" jsonb,
 "not_null" bool,
-"parent_collection_field_id" int4,
-"schema_id" int4
+"parent_collection_field_id" int4
 )
 WITH (OIDS=FALSE)
 

-- ----------------------------
-- Foreign Key structure for table "public"."collection"
-- ----------------------------
ALTER TABLE "public"."collection" ADD FOREIGN KEY ("collection_vshard_id") REFERENCES "public"."collection_vshard" ("_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE "public"."collection" ADD FOREIGN KEY ("database_id") REFERENCES "public"."database" ("_id") ON DELETE NO ACTION ON UPDATE NO ACTION;

-- ----------------------------
-- Foreign Key structure for table "public"."collection_field"
-- ----------------------------
ALTER TABLE "public"."collection_field" ADD FOREIGN KEY ("parent_collection_field_id") REFERENCES "public"."collection_field" ("_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE "public"."collection_field" ADD FOREIGN KEY ("schema_id") REFERENCES "public"."schema" ("_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE "public"."collection_field" ADD FOREIGN KEY ("collection_id") REFERENCES "public"."collection" ("_id") ON DELETE NO ACTION ON UPDATE NO ACTION;

-- ----------------------------

 INCREMENT 1
 MINVALUE 1
 MAXVALUE 9223372036854775807
 START 65
 CACHE 1;
SELECT setval('"public"."database_vshard_instance__id_seq"', 65, true);

-- ----------------------------
-- Sequence structure for database_vshard_instance_datastore_shard__id_seq
