diff options
author | redmatrix <git@macgirvin.com> | 2016-07-17 21:40:04 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-17 21:40:04 -0700 |
commit | de4f9d68bdaade902a8030888f9df035fa1329ec (patch) | |
tree | 5021daad0c4002ce9b7c89233b7c8446552b5a07 /install/schema_postgres.sql | |
parent | 191cd21028ab108c2a7f982c654601d780865eff (diff) | |
parent | 571b8cc85b3a770f16aed021bb39b889e0275ed6 (diff) | |
download | volse-hubzilla-de4f9d68bdaade902a8030888f9df035fa1329ec.tar.gz volse-hubzilla-de4f9d68bdaade902a8030888f9df035fa1329ec.tar.bz2 volse-hubzilla-de4f9d68bdaade902a8030888f9df035fa1329ec.zip |
Merge branch 'dev' into perms
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index c48007317..44711c190 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -137,6 +137,21 @@ create index "app_created" on app ("app_created"); create index "app_edited" on app ("app_edited"); create index "app_deleted" on app ("app_deleted"); create index "app_system" on app ("app_system"); + +CREATE TABLE "atoken" ( + "atoken_id" serial NOT NULL, + "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_aid on atoken (atoken_aid); +create index atoken_uid on atoken (atoken_uid); +create index atoken_name on atoken (atoken_name); +create index atoken_token on atoken (atoken_token); +create index atoken_expires on atoken (atoken_expires); + CREATE TABLE "attach" ( "id" serial NOT NULL, "aid" bigint NOT NULL DEFAULT '0', |