   DROP COLUMN meta_headline,
   DROP COLUMN meta_text,
   DROP COLUMN meta_image,
+  -- todo: move to properties.
   ADD COLUMN  `disabled_language_show_rule` varchar(32) NOT NULL DEFAULT 'DO_NOT_SHOW';
   --  COMMENT 'Possible values: DO_NOT_SHOW, SHOW_IN_DEFAULT_LANGUAGE';
 

  `date_modified`
FROM `meta`;


CREATE TABLE imcms_doc_default_version (
    id int AUTO_INCREMENT PRIMARY KEY,
    doc_id int NOT NULL,


) ENGINE=InnoDB DEFAULT CHARSET=utf8;


-- Delete duplicates from text table
DELETE FROM texts l USING texts l, texts r WHERE l.meta_id = r.meta_id and l.name = r.name and l.counter < r.counter;

INSERT INTO imcms_text_doc_texts (
    doc_id,
