From f6d7567aab4b5d84ebc916bfdcec2cdecad0fe71 Mon Sep 17 00:00:00 2001 From: Jo Asplin Date: Mon, 12 Feb 2024 17:00:47 +0100 Subject: [PATCH] Fixed typo --- datastore/migrate/data/migrations/1707380318_add_columns.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore/migrate/data/migrations/1707380318_add_columns.up.sql b/datastore/migrate/data/migrations/1707380318_add_columns.up.sql index cdba189f..52d269b9 100644 --- a/datastore/migrate/data/migrations/1707380318_add_columns.up.sql +++ b/datastore/migrate/data/migrations/1707380318_add_columns.up.sql @@ -2,7 +2,7 @@ ALTER TABLE time_series ADD COLUMN IF NOT EXISTS level TEXT, ADD COLUMN IF NOT EXISTS period TEXT, ADD COLUMN IF NOT EXISTS function TEXT, - ADD COLUMN IT NOT EXISTS parameter_name TEXT, + ADD COLUMN IF NOT EXISTS parameter_name TEXT, DROP CONSTRAINT IF EXISTS unique_main, ADD CONSTRAINT unique_main UNIQUE NULLS NOT DISTINCT (version, type, title, summary, keywords, keywords_vocabulary, license, conventions, naming_authority, creator_type, creator_name,