From 9a17a05ef8611c2ef26985ff9082d86f6da240b5 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 16 Mar 2018 15:57:37 +0100 Subject: [PATCH] P5-2400 add designer logotype column --- migrations/000.058.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 migrations/000.058.sql diff --git a/migrations/000.058.sql b/migrations/000.058.sql new file mode 100644 index 0000000..b596bbc --- /dev/null +++ b/migrations/000.058.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