1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-26 05:28:50 +00:00

Update migration script

This commit is contained in:
Pierre HUBERT 2021-02-13 16:46:28 +01:00
parent adefbed4f7
commit 88b22a34c6

View File

@ -20,4 +20,10 @@ CREATE TABLE `comunic_user_access_tokens` (
`token` VARCHAR(255) NOT NULL,
`last_refresh` INT NOT NULL,
`timeout` INT NOT NULL,
PRIMARY KEY (`id`));
PRIMARY KEY (`id`));
-- Insert official API clients
INSERT INTO comunic_clients (name, domain) VALUES ('ComunicWEB', "communiquons.org");
INSERT INTO comunic_clients (name) VALUES ('ComunicAndroid');
INSERT INTO comunic_clients (name) VALUES ('ComunicFlutter');
INSERT INTO comunic_clients (name) VALUES ('ComunicWatcher');