From e3041b80fd28d88b5f9ba063cb8147b9b0a61668 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 19 Jan 2015 20:06:12 -0800 Subject: oauth permissions table --- install/schema_postgres.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'install/schema_postgres.sql') diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index 85eb802d2..a1b5a76fb 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -1149,6 +1149,16 @@ create index "xlink_xchan" on xlink ("xlink_xchan"); create index "xlink_link" on xlink ("xlink_link"); create index "xlink_updated" on xlink ("xlink_updated"); create index "xlink_rating" on xlink ("xlink_rating"); +CREATE TABLE "xperm" ( + "xp_id" serial NOT NULL, + "xp_client" varchar( 20 ) NOT NULL DEFAULT '', + "xp_channel" bigint NOT NULL DEFAULT '0', + "xp_perm" varchar( 64 ) NOT NULL DEFAULT '', + PRIMARY_KEY ("xp_id") +); +create index "xp_client" on xperm ("xp_client"); +create index "xp_channel" on xperm ("xp_channel"); +create index "xp_perm" on xperm ("xp_perm"); CREATE TABLE "xprof" ( "xprof_hash" text NOT NULL, "xprof_age" numeric(3) NOT NULL DEFAULT '0', -- cgit v1.2.3