Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

498 B
Raw Blame
DROP TABLE IF EXISTS `post_content_revision`;

CREATE TABLE `post_content_revision` (
  `post_id`  INT UNSIGNED NOT NULL,
  `language_id` INT UNSIGNED NOT NULL,
  `content` TEXT,
  `admin_id` INT UNSIGNED NOT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
--  PRIMARY KEY (`post_id`,`language_id`, `created_at`)
--  FULLTEXT `search` (`name`,`content`)
);

CREATE INDEX `post_content_revision_primary` ON `post_content_revision` (`post_id`,`language_id`, `created_at`,`admin_id`);