Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 7bb3cda

Browse files
authored
Merge pull request #1225 from dnauck/pgsql-patch-1
Fixes for PostgreSQL update scripts
2 parents 788da1d + 17ba1bf commit 7bb3cda

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/src/plugins/mq.sql/create.pgsql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CREATE TABLE IF NOT EXISTS ajxp_mq_queues (
22
channel_name varchar(255) NOT NULL,
3-
content BLOB NOT NULL,
4-
constraint pk primary key(channel_name)
5-
);
3+
content bytea NOT NULL,
4+
primary key(channel_name)
5+
);

dist/php/6.5.3.pgsql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
3434
/* SEPARATOR */
3535
CREATE TABLE IF NOT EXISTS ajxp_mq_queues (
3636
channel_name varchar(255) NOT NULL,
37-
content BLOB NOT NULL,
37+
content bytea NOT NULL,
3838
PRIMARY KEY (channel_name)
39-
);
39+
);

0 commit comments

Comments
 (0)