From 6ab0b92258bae74da28f1b47a0dfff6391e2e925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Dav=C3=ADdek?= Date: Sat, 27 Mar 2021 16:12:44 +0100 Subject: [PATCH] Fixed CRLF to LF (#1450) --- lib/Zend/Queue/Adapter/Db/postgresql.sql | 98 ++++++++++++------------ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/lib/Zend/Queue/Adapter/Db/postgresql.sql b/lib/Zend/Queue/Adapter/Db/postgresql.sql index 0c6d6cd783c..eb6666c9557 100644 --- a/lib/Zend/Queue/Adapter/Db/postgresql.sql +++ b/lib/Zend/Queue/Adapter/Db/postgresql.sql @@ -1,49 +1,49 @@ -/* -Sample grant for PostgreSQL - -CREATE ROLE queue LOGIN - PASSWORD '[CHANGE ME]' - NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE; - -*/ - --- --- Table structure for table `queue` --- - -DROP TABLE IF EXISTS queue; - -CREATE TABLE queue -( - queue_id serial NOT NULL, - queue_name character varying(100) NOT NULL, - timeout smallint NOT NULL DEFAULT 30, - CONSTRAINT queue_pk PRIMARY KEY (queue_id) -) -WITH (OIDS=FALSE); -ALTER TABLE queue OWNER TO queue; - - --- -------------------------------------------------------- --- --- Table structure for table `message` --- - -DROP TABLE IF EXISTS message; - -CREATE TABLE message -( - message_id bigserial NOT NULL, - queue_id integer, - handle character(32), - body character varying(8192) NOT NULL, - md5 character(32) NOT NULL, - timeout double precision, - created integer, - CONSTRAINT message_pk PRIMARY KEY (message_id), - CONSTRAINT message_ibfk_1 FOREIGN KEY (queue_id) - REFERENCES queue (queue_id) MATCH SIMPLE - ON UPDATE CASCADE ON DELETE CASCADE -) -WITH (OIDS=FALSE); -ALTER TABLE message OWNER TO queue; +/* +Sample grant for PostgreSQL + +CREATE ROLE queue LOGIN + PASSWORD '[CHANGE ME]' + NOSUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE; + +*/ + +-- +-- Table structure for table `queue` +-- + +DROP TABLE IF EXISTS queue; + +CREATE TABLE queue +( + queue_id serial NOT NULL, + queue_name character varying(100) NOT NULL, + timeout smallint NOT NULL DEFAULT 30, + CONSTRAINT queue_pk PRIMARY KEY (queue_id) +) +WITH (OIDS=FALSE); +ALTER TABLE queue OWNER TO queue; + + +-- -------------------------------------------------------- +-- +-- Table structure for table `message` +-- + +DROP TABLE IF EXISTS message; + +CREATE TABLE message +( + message_id bigserial NOT NULL, + queue_id integer, + handle character(32), + body character varying(8192) NOT NULL, + md5 character(32) NOT NULL, + timeout double precision, + created integer, + CONSTRAINT message_pk PRIMARY KEY (message_id), + CONSTRAINT message_ibfk_1 FOREIGN KEY (queue_id) + REFERENCES queue (queue_id) MATCH SIMPLE + ON UPDATE CASCADE ON DELETE CASCADE +) +WITH (OIDS=FALSE); +ALTER TABLE message OWNER TO queue;