Updated pictures scheme
parent
e238240998
commit
ec8de61412
|
@ -37,7 +37,7 @@ CREATE TABLE `users` (
|
||||||
|
|
||||||
CREATE TABLE `pictures` (
|
CREATE TABLE `pictures` (
|
||||||
`user_id` CHAR(36) NOT NULL,
|
`user_id` CHAR(36) NOT NULL,
|
||||||
`picture_id` int(11) NOT NULL,
|
`picture_id` CHAR(36) NOT NULL,
|
||||||
`likes` int(11) DEFAULT 0,
|
`likes` int(11) DEFAULT 0,
|
||||||
`location` varchar(20) NOT NULL,
|
`location` varchar(20) NOT NULL,
|
||||||
`description` varchar(250) DEFAULT NULL,
|
`description` varchar(250) DEFAULT NULL,
|
||||||
|
|
Loading…
Reference in New Issue