Skip to content

Commit

Permalink
Added initial sql for PostgreSQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschultze committed Nov 20, 2024
1 parent ef1fe79 commit 47225ab
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions module/VuFind/sql/pgsql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,52 @@ revoked boolean NOT NULL DEFAULT '0',
PRIMARY KEY (id, type)
);

--
-- Table structure for table `notifications_broadcasts`
--

DROP TABLE IF EXISTS "notifications_broadcasts";

CREATE TABLE notifications_broadcasts (
id serial,
broadcast_id int DEFAULT NULL,
visibility tinyint DEFAULT NULL,
visibility_global tinyint DEFAULT NULL,
priority int DEFAULT NULL,
author_id int DEFAULT NULL,
content text DEFAULT NULL,
color varchar(255) DEFAULT NULL,
startdate date DEFAULT NULL,
enddate date DEFAULT NULL,
change_date date DEFAULT NULL,
create_date date DEFAULT NULL,
language varchar(255) DEFAULT NULL,
PRIMARY KEY (id)
);

--
-- Table structure for table `notifications_pages`
--

DROP TABLE IF EXISTS "notifications_pages";

CREATE TABLE notifications_pages (
id serial,
page_id int DEFAULT NULL,
visibility tinyint DEFAULT NULL,
is_external_url tinyint DEFAULT NULL,
priority int DEFAULT NULL,
author_id int DEFAULT NULL,
headline varchar(255) DEFAULT NULL,
nav_title varchar(255) DEFAULT NULL,
content text DEFAULT NULL,
external_url varchar(255) DEFAULT NULL,
change_date date DEFAULT NULL,
create_date date DEFAULT NULL,
language varchar(255) DEFAULT NULL,
PRIMARY KEY (id)
);

--
-- Table structure for table `login_token`
--
Expand Down

0 comments on commit 47225ab

Please sign in to comment.