Skip to content

Commit

Permalink
FIX: Installation duplicate column hash for prefix_notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jul 4, 2017
1 parent 07c899a commit becef6f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion installer/sql/create-mssql.sql
Expand Up @@ -605,7 +605,6 @@ CREATE TABLE prefix_notifications (
[hash] nvarchar(64) DEFAULT NULL,
[created] datetime NOT NULL,
[first_read] datetime DEFAULT NULL,
[hash] nvarchar(64) DEFAULT '',
PRIMARY KEY ([id])
);
CREATE INDEX [notif_index] ON [prefix_notifications] ([entity_id],[entity],[status]);
Expand Down
1 change: 0 additions & 1 deletion installer/sql/create-mysql.sql
Expand Up @@ -611,7 +611,6 @@ CREATE TABLE IF NOT EXISTS `prefix_notifications` (
`hash` VARCHAR(64) DEFAULT NULL COMMENT 'Hash of title, message and entity to avoid duplication',
`created` DATETIME NOT NULL,
`first_read` DATETIME DEFAULT NULL,
`hash` VARCHAR(64) DEFAULT '',
PRIMARY KEY (`id`),
INDEX(`entity`, `entity_id`, `status`),
INDEX(`hash`)
Expand Down
1 change: 0 additions & 1 deletion installer/sql/create-pgsql.sql
Expand Up @@ -614,7 +614,6 @@ CREATE TABLE prefix_notifications (
"hash" character varying(64) DEFAULT NULL,
"created" timestamp NOT NULL,
"first_read" timestamp DEFAULT NULL,
"hash" character varying(64) DEFAULT '',
CONSTRAINT prefix_notifications_pkey PRIMARY KEY (id)
);
CREATE INDEX prefix_index ON prefix_notifications USING btree (entity, entity_id, status);
Expand Down

0 comments on commit becef6f

Please sign in to comment.