   `public` tinyint(1) unsigned NOT NULL DEFAULT '0',
   `mandatory` tinyint(1) unsigned NOT NULL DEFAULT '0',
   `search` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `propagates` tinyint(1) unsigned NOT NULL DEFAULT '0',
   `autocomplete` tinyint(1) unsigned NOT NULL DEFAULT '0',
-  `classifying_entity_definition_keyname` varchar(25) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
+  `classifying_entity_definition_keyname` varchar(100) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
   `old_id` varchar(200) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
-  `propagates` tinyint(1) DEFAULT NULL,
   PRIMARY KEY (`keyname`),
   UNIQUE KEY `keyname` (`keyname`),
   UNIQUE KEY `old_id` (`old_id`),

  KEY `deleted` (`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_estonian_ci;

-- Create syntax for TABLE 'tmp_file'
CREATE TABLE `tmp_file` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `created` datetime DEFAULT NULL,

  `deleted` datetime DEFAULT NULL,
  `deleted_by` varchar(100) COLLATE utf8_estonian_ci DEFAULT NULL,
  `dataproperty` varchar(24) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
  `datatype` enum('boolean','counter','counter_value','decimal','date','datetime','file','integer','reference','string','text') COLLATE utf8_estonian_ci NOT NULL DEFAULT 'string',
  `defaultvalue` varchar(500) COLLATE utf8_estonian_ci DEFAULT NULL,
  `estonian_fieldset` varchar(500) COLLATE utf8_estonian_ci DEFAULT NULL,
  `estonian_label` varchar(500) COLLATE utf8_estonian_ci DEFAULT NULL,
