TypeORM-readme-29.sh
· 659 B · Bash
Brut
+-------------+--------------+----------------------------+
| photo_metadata |
+-------------+--------------+----------------------------+
| id | int(11) | PRIMARY KEY AUTO_INCREMENT |
| height | int(11) | |
| width | int(11) | |
| comment | varchar(255) | |
| compressed | boolean | |
| orientation | varchar(255) | |
| photoId | int(11) | FOREIGN KEY |
+-------------+--------------+----------------------------+
1 | +-------------+--------------+----------------------------+ |
2 | | photo_metadata | |
3 | +-------------+--------------+----------------------------+ |
4 | | id | int(11) | PRIMARY KEY AUTO_INCREMENT | |
5 | | height | int(11) | | |
6 | | width | int(11) | | |
7 | | comment | varchar(255) | | |
8 | | compressed | boolean | | |
9 | | orientation | varchar(255) | | |
10 | | photoId | int(11) | FOREIGN KEY | |
11 | +-------------+--------------+----------------------------+ |