Move to SQLite (#13)

This commit is contained in:
Natsu Kagami 2021-06-19 22:36:17 +09:00 committed by GitHub
parent 750ddb7762
commit 1799b70bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 2122 additions and 394 deletions

View file

@ -0,0 +1,12 @@
-- Add migration script here
CREATE TABLE osu_users (
user_id BIGINT NOT NULL PRIMARY KEY,
id BIGINT NOT NULL UNIQUE,
last_update DATETIME NOT NULL,
pp_std REAL NULL,
pp_taiko REAL NULL,
pp_mania REAL NULL,
pp_catch REAL NULL,
failures INT NOT NULL DEFAULT 0
);