Added pictureLikes sql scheme
parent
39610d1c3d
commit
d26e092905
12
scheme.sql
12
scheme.sql
|
@ -47,6 +47,18 @@ CREATE TABLE `pictures` (
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `picture_likes`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `picture_likes` (
|
||||||
|
`user_id` CHAR(36) NOT NULL,
|
||||||
|
`picture_id` CHAR(36) NOT NULL,
|
||||||
|
`liked_at` datetime NOT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `sessions`
|
-- Table structure for table `sessions`
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue