From 67665a3484ef2169c67f6ea1d6ab427b3f462756 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 15 Mar 2018 10:04:46 +0100 Subject: [PATCH] P5-2400 --- migrations/000.057.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 migrations/000.057.sql diff --git a/migrations/000.057.sql b/migrations/000.057.sql new file mode 100644 index 0000000..919a0c8 --- /dev/null +++ b/migrations/000.057.sql @@ -0,0 +1,5 @@ +ALTER TABLE designers DROP COLUMN IF EXISTS logotype; + +ALTER TABLE designers ADD COLUMN logotype varchar; + +UPDATE designers SET logotype = '/designers/' || designerid || '.jpg'; \ No newline at end of file