Migration done for the backend
This commit is contained in:
@@ -5,9 +5,9 @@ drop table if exists Notes;
|
||||
|
||||
CREATE TABLE `Notes`
|
||||
(
|
||||
`uuid` binary(16) PRIMARY KEY,
|
||||
`title` varchar(50) NOT NULL,
|
||||
`user_id` int NOT NULL,
|
||||
`uuid` binary(16) PRIMARY KEY,
|
||||
`title` varchar(50) NOT NULL,
|
||||
`user_id` int NOT NULL,
|
||||
`updated_at` datetime
|
||||
);
|
||||
|
||||
@@ -27,9 +27,10 @@ ALTER TABLE `Tags`
|
||||
CREATE TABLE `Chapters`
|
||||
(
|
||||
`id` int PRIMARY KEY AUTO_INCREMENT,
|
||||
`number` int NOT NULL,
|
||||
`content` text NOT NULL,
|
||||
`note_uuid` binary(16) NOT NULL
|
||||
`number` int NOT NULL,
|
||||
`title` varchar(50) NOT NULL,
|
||||
`content` text NOT NULL,
|
||||
`note_uuid` binary(16) NOT NULL
|
||||
);
|
||||
|
||||
ALTER TABLE `Chapters`
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<root level="INFO">
|
||||
<root level="TRACE">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
<logger name="org.eclipse.jetty" level="INFO"/>
|
||||
|
||||
Reference in New Issue
Block a user