aboutsummaryrefslogtreecommitdiff
path: root/tables.sql
diff options
context:
space:
mode:
authorMarvin Borner2021-02-20 18:59:19 +0100
committerGitHub2021-02-20 18:59:19 +0100
commitc64c22d6b71fff2c8a7802f69638e382c73d1b0c (patch)
tree27bab254530ab4c10d54d6f50f2a98312ce73f6f /tables.sql
parentd12e95c9b92411567dca8b30e257f4181937b480 (diff)
parent8ef918222c285f64bec6e7a14c7cb0df250b9b1d (diff)
Merged LARS :O
Profile images super duper pr
Diffstat (limited to 'tables.sql')
-rw-r--r--tables.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/tables.sql b/tables.sql
index c638cab..66363b6 100644
--- a/tables.sql
+++ b/tables.sql
@@ -198,3 +198,14 @@ CREATE TABLE IF NOT EXISTS secrets
CONSTRAINT `fk_user_secret` FOREIGN KEY (user_id) REFERENCES users (id)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
+
+CREATE TABLE IF NOT EXISTS profile_image_ratios
+(
+ id INTEGER PRIMARY KEY AUTO_INCREMENT,
+ question_id INTEGER NOT NULL UNIQUE,
+ x INTEGER NOT NULL,
+ y INTEGER NOT NULL,
+
+ CONSTRAINT `fk_profile_image_question` FOREIGN KEY (question_id) REFERENCES profile_questions (id)
+) ENGINE = InnoDB
+ DEFAULT CHARSET = utf8; \ No newline at end of file