diff options
author | Marvin Borner | 2021-02-20 18:59:19 +0100 |
---|---|---|
committer | GitHub | 2021-02-20 18:59:19 +0100 |
commit | c64c22d6b71fff2c8a7802f69638e382c73d1b0c (patch) | |
tree | 27bab254530ab4c10d54d6f50f2a98312ce73f6f /tables.sql | |
parent | d12e95c9b92411567dca8b30e257f4181937b480 (diff) | |
parent | 8ef918222c285f64bec6e7a14c7cb0df250b9b1d (diff) |
Merged LARS :O
Profile images super duper pr
Diffstat (limited to 'tables.sql')
-rw-r--r-- | tables.sql | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |