Skip to content

Commit 4b73908

Browse files
authored
Merge pull request #401 from sumocoders/fixes-og-image
Fixes og image
2 parents d7bff62 + 662ed0a commit 4b73908

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Backend/Core/Installer/Data/install.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `meta` (
1212
`data` longtext COLLATE utf8mb4_unicode_ci,
1313
`seo_follow` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '(DC2Type:seo_follow)',
1414
`seo_index` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '(DC2Type:seo_index)',
15+
`og_image` VARCHAR(255) DEFAULT NULL,
1516
PRIMARY KEY (`id`),
1617
KEY `idx_url` (`url`(191))
1718
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

tests/data/test_db.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,6 +2304,7 @@ CREATE TABLE `meta` (
23042304
`data` longtext COLLATE utf8mb4_unicode_ci,
23052305
`seo_follow` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '(DC2Type:seo_follow)',
23062306
`seo_index` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '(DC2Type:seo_index)',
2307+
`og_image` VARCHAR(255) DEFAULT NULL,
23072308
PRIMARY KEY (`id`),
23082309
KEY `idx_url` (`url`(191))
23092310
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -2584,6 +2585,7 @@ CREATE TABLE `pages` (
25842585
`allow_edit` tinyint(1) NOT NULL DEFAULT '1',
25852586
`allow_delete` tinyint(1) NOT NULL DEFAULT '1',
25862587
`sequence` int(11) NOT NULL,
2588+
`og_image` VARCHAR(255) DEFAULT NULL,
25872589
PRIMARY KEY (`revision_id`),
25882590
KEY `idx_id_status_hidden_language` (`id`,`status`,`hidden`,`language`)
25892591
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

0 commit comments

Comments
 (0)