From d8ee7076a6d464d9fb839a804cf240534cfb687e Mon Sep 17 00:00:00 2001 From: Samuel Hawksby-Robinson Date: Mon, 26 Oct 2020 13:06:50 +0000 Subject: [PATCH] Added primary key to identity_images table migration --- appdatabase/migrations/sql/0013_identity_images.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdatabase/migrations/sql/0013_identity_images.up.sql b/appdatabase/migrations/sql/0013_identity_images.up.sql index 03616dcd2..91ec84741 100644 --- a/appdatabase/migrations/sql/0013_identity_images.up.sql +++ b/appdatabase/migrations/sql/0013_identity_images.up.sql @@ -1,5 +1,5 @@ CREATE TABLE IF NOT EXISTS identity_images( - type VARCHAR, + type VARCHAR PRIMARY KEY ON CONFLICT REPLACE, image_payload BLOB NOT NULL, width int, height int,