aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_postgres.sql
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-05-31 11:01:24 +0200
committerMario Vavti <mario@mariovavti.com>2016-05-31 11:01:24 +0200
commit380f65d309a6ab01d8e804f704962d5baef9820a (patch)
tree896fd1d53ccb3863380653d1b065c7fc4ef7a641 /install/schema_postgres.sql
parent90f29590765f79fe4bd1e3d59e47ce932ec04d0d (diff)
parent670e83b30050201e3ac069c9dfa86a92aff2431d (diff)
downloadvolse-hubzilla-380f65d309a6ab01d8e804f704962d5baef9820a.tar.gz
volse-hubzilla-380f65d309a6ab01d8e804f704962d5baef9820a.tar.bz2
volse-hubzilla-380f65d309a6ab01d8e804f704962d5baef9820a.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r--install/schema_postgres.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index e2c078dc1..76a3a013e 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -94,16 +94,16 @@ create index "account_level" on account ("account_level");
create index "account_password_changed" on account ("account_password_changed");
CREATE TABLE "addon" (
"id" serial NOT NULL,
- "name" text NOT NULL,
+ "aname" text NOT NULL,
"version" text NOT NULL DEFAULT '0',
"installed" numeric(1) NOT NULL DEFAULT '0',
"hidden" numeric(1) NOT NULL DEFAULT '0',
- "timestamp" numeric(20) NOT NULL DEFAULT '0',
+ "tstamp" numeric(20) NOT NULL DEFAULT '0',
"plugin_admin" numeric(1) NOT NULL DEFAULT '0',
PRIMARY KEY ("id")
);
create index "addon_hidden_idx" on addon ("hidden");
-create index "addon_name_idx" on addon ("name");
+create index "addon_name_idx" on addon ("aname");
create index "addon_installed_idx" on addon ("installed");
CREATE TABLE "app" (
"id" serial NOT NULL,
@@ -514,7 +514,7 @@ CREATE TABLE "hook" (
"id" serial NOT NULL,
"hook" text NOT NULL,
"file" text NOT NULL,
- "function" text NOT NULL,
+ "fn" text NOT NULL,
"priority" bigint NOT NULL DEFAULT '0',
"hook_version" smallint NOT NULL DEFAULT '0',
PRIMARY KEY ("id")