INSERT INTO `#__content_types` (
    `type_id`,
    `type_title`,
    `type_alias`,
    `table`,
    `rules`,
    `field_mappings`,
    `router`,
    `content_history_options`)
VALUES (NULL,
        'Eventgallery Event',
        'com_eventgallery.event',
        '{"special":{"dbtable":"#__eventgallery_folder","key":"folder","type":"Event","prefix":"EventgalleryTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}',
        '',
        '{"common":{"core_content_item_id":"id","core_title":"description","core_state":"published","core_alias":"null","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"text", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"null", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special": {"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}',
        'EventgalleryHelpersRoute::getEventRoute',
        '');