1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/QtClient/JoplinQtClient/schema.sql

23 lines
345 B
MySQL
Raw Normal View History

2016-12-18 23:44:45 +02:00
CREATE TABLE folders (
id INTEGER PRIMARY KEY,
title TEXT,
created_time INT,
updated_time INT,
remote_id TEXT
);
CREATE TABLE notes (
id INTEGER PRIMARY KEY,
title TEXT,
body TEXT,
parent_id INT,
created_time INT,
updated_time INT,
remote_id TEXT
);
CREATE TABLE version (
version INT
);
INSERT INTO version (version) VALUES (1);