mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 15:11:08 +00:00
Initial commit of Seafile server core.
This commit is contained in:
12
scripts/upgrade/sql/3.0.0/sqlite3/seahub.sql
Normal file
12
scripts/upgrade/sql/3.0.0/sqlite3/seahub.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE IF NOT EXISTS "api2_tokenv2" (
|
||||
"key" varchar(40) NOT NULL PRIMARY KEY,
|
||||
"user" varchar(255) NOT NULL,
|
||||
"platform" varchar(32) NOT NULL,
|
||||
"device_id" varchar(40) NOT NULL,
|
||||
"device_name" varchar(40) NOT NULL,
|
||||
"platform_version" varchar(16) NOT NULL,
|
||||
"client_version" varchar(16) NOT NULL,
|
||||
"last_accessed" datetime NOT NULL,
|
||||
"last_login_ip" char(39),
|
||||
UNIQUE ("user", "platform", "device_id")
|
||||
);
|
Reference in New Issue
Block a user