diff options
author | Mario <mario@mariovavti.com> | 2021-12-17 19:48:09 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-12-17 19:48:09 +0100 |
commit | bfd3da43ac9226e53188a03ff1414a18422e91b4 (patch) | |
tree | b183e7c1c76aa8d39310fd702985bff7945e7053 /install/schema_postgres.sql | |
parent | 32a9eaf3b6a68626580078a3302f8dd8e85eb165 (diff) | |
download | volse-hubzilla-bfd3da43ac9226e53188a03ff1414a18422e91b4.tar.gz volse-hubzilla-bfd3da43ac9226e53188a03ff1414a18422e91b4.tar.bz2 volse-hubzilla-bfd3da43ac9226e53188a03ff1414a18422e91b4.zip |
access token refactor
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index c1cbc832b..96d0cc33c 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -147,12 +147,14 @@ create index "app_system" on app ("app_system"); CREATE TABLE "atoken" ( "atoken_id" serial NOT NULL, + "atoken_guid" varchar(255) NOT NULL DEFAULT '', "atoken_aid" bigint NOT NULL DEFAULT 0, "atoken_uid" bigint NOT NULL DEFAULT 0, "atoken_name" varchar(255) NOT NULL DEFAULT '', "atoken_token" varchar(255) NOT NULL DEFAULT '', "atoken_expires" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00', PRIMARY KEY ("atoken_id")); +create index atoken_guid on atoken (atoken_guid); create index atoken_aid on atoken (atoken_aid); create index atoken_uid on atoken (atoken_uid); create index atoken_name on atoken (atoken_name); |