summaryrefslogtreecommitdiff
path: root/db/migrations/0197_wide_infant_terrible.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0197_wide_infant_terrible.sql')
-rw-r--r--db/migrations/0197_wide_infant_terrible.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrations/0197_wide_infant_terrible.sql b/db/migrations/0197_wide_infant_terrible.sql
new file mode 100644
index 00000000..ccf685ac
--- /dev/null
+++ b/db/migrations/0197_wide_infant_terrible.sql
@@ -0,0 +1,5 @@
+CREATE TYPE "public"."score_type" AS ENUM('fixed', 'variable');--> statement-breakpoint
+ALTER TABLE "reg_eval_criteria" ADD COLUMN "variable_score_min " numeric(5, 2);--> statement-breakpoint
+ALTER TABLE "reg_eval_criteria" ADD COLUMN "variable_score_max " numeric(5, 2);--> statement-breakpoint
+ALTER TABLE "reg_eval_criteria" ADD COLUMN "variable_score_unit " varchar(100);--> statement-breakpoint
+ALTER TABLE "reg_eval_criteria" ADD COLUMN "score_type" "score_type" DEFAULT 'fixed' NOT NULL; \ No newline at end of file