diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-29 10:35:56 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-29 10:35:56 +0100 |
commit | bb91064416e7217553c2caa4e250d0214b6ed2e4 (patch) | |
tree | 1c7bc910b127bf9a3df52ec347ed72f7e21cc932 /install/schema_postgres.sql | |
parent | 72d2fe2fd46ccd37a22b2bda8b25ab366e8ba920 (diff) | |
download | volse-hubzilla-bb91064416e7217553c2caa4e250d0214b6ed2e4.tar.gz volse-hubzilla-bb91064416e7217553c2caa4e250d0214b6ed2e4.tar.bz2 volse-hubzilla-bb91064416e7217553c2caa4e250d0214b6ed2e4.zip |
Add expires for photo
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 44f98b944..1b6cab51b 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -928,6 +928,7 @@ CREATE TABLE "photo" ( "resource_id" text NOT NULL, "created" timestamp NOT NULL, "edited" timestamp NOT NULL, + "expires" timestamp NOT NULL, "title" text NOT NULL, "description" text NOT NULL, "album" text NOT NULL, @@ -961,6 +962,7 @@ create index "photo_aid" on photo ("aid"); create index "photo_xchan" on photo ("xchan"); create index "photo_filesize" on photo ("filesize"); create index "photo_resource_id" on photo ("resource_id"); +create index "photo_expires_idx" on photo ("expires"); create index "photo_usage" on photo ("photo_usage"); create index "photo_is_nsfw" on photo ("is_nsfw"); create index "photo_os_storage" on photo ("os_storage"); |