diff --git a/db/migration/000008_add_tag_tagvalues_columns.up.sql b/db/migration/000008_add_tag_tagvalues_columns.up.sql index 6bf28f0..b146a57 100644 --- a/db/migration/000008_add_tag_tagvalues_columns.up.sql +++ b/db/migration/000008_add_tag_tagvalues_columns.up.sql @@ -3,8 +3,8 @@ alter table tag add column if not exists active boolean not null default false; alter table tag add column if not exists display_order smallint NOT NULL DEFAULT 0; alter table tag_value add column if not exists active boolean not null default false; insert into tag ("name","label","place_holder","action_id","type","created_at","updated_at","deleted_at","active","optional","display_order") -values - ('contributing_factors','Contributing factors','select contributing factors','contributing_factors_action_id','single_value','2023-12-01 07:10:20.550404','2023-12-01 07:10:20.550404',NULL,TRUE,FALSE,2), +values + ('contributing-factors','Contributing factors','select contributing factors','contributing_factors_action_id','single_value','2023-12-01 07:10:20.550404','2023-12-01 07:10:20.550404',NULL,TRUE,FALSE,2), ('business_affected','Business affected','select business affected','business_affected_action_id','multi_value','2023-12-01 07:10:20.550404','2023-12-01 07:10:20.550404',NULL,TRUE,FALSE,1), ('additional_tags','Additional tags','select additional tags','additional_tags_action_id','multi_value','2023-12-01 07:10:20.550404','2023-12-01 07:10:20.550404',NULL,TRUE,TRUE,3); insert into tag_value ("tag_id","value","create_at","updated_at","deleted_at","active")