@@ -668,11 +668,7 @@ CREATE TABLE reference_values (
668668 id bigint NOT NULL ,
669669 created_at timestamp with time zone NOT NULL ,
670670 updated_at timestamp with time zone NOT NULL ,
671- node_function_id bigint NOT NULL ,
672- depth integer DEFAULT 0 NOT NULL ,
673- node integer DEFAULT 0 NOT NULL ,
674- scope integer [] DEFAULT ' {}' ::integer [] NOT NULL ,
675- data_type_identifier_id bigint NOT NULL
671+ node_function_id bigint NOT NULL
676672);
677673
678674CREATE SEQUENCE reference_values_id_seq
@@ -1213,8 +1209,6 @@ CREATE INDEX index_parameter_definitions_on_runtime_parameter_definition_id ON p
12131209
12141210CREATE INDEX index_reference_paths_on_reference_value_id ON reference_paths USING btree (reference_value_id);
12151211
1216- CREATE INDEX index_reference_values_on_data_type_identifier_id ON reference_values USING btree (data_type_identifier_id);
1217-
12181212CREATE INDEX index_reference_values_on_node_function_id ON reference_values USING btree (node_function_id);
12191213
12201214CREATE INDEX index_runtime_function_definitions_on_return_type_id ON runtime_function_definitions USING btree (return_type_id);
@@ -1375,9 +1369,6 @@ ALTER TABLE ONLY flow_type_settings
13751369ALTER TABLE ONLY flows
13761370 ADD CONSTRAINT fk_rails_ab927e0ecb FOREIGN KEY (project_id) REFERENCES namespace_projects(id) ON DELETE CASCADE ;
13771371
1378- ALTER TABLE ONLY reference_values
1379- ADD CONSTRAINT fk_rails_bb34a5d62c FOREIGN KEY (data_type_identifier_id) REFERENCES data_type_identifiers(id) ON DELETE RESTRICT;
1380-
13811372ALTER TABLE ONLY flows
13821373 ADD CONSTRAINT fk_rails_bb587eff6a FOREIGN KEY (input_type_id) REFERENCES data_types(id) ON DELETE RESTRICT;
13831374
0 commit comments