#
# Table structure for table 'tx_newssync_domain_model_syncconfiguration'
#
CREATE TABLE tx_newssync_domain_model_syncconfiguration (

	uid int(11) NOT NULL auto_increment,
	pid int(11) DEFAULT '0' NOT NULL,

	title varchar(255) DEFAULT '' NOT NULL,
	uri varchar(2048) DEFAULT '' NOT NULL,
	description text NOT NULL,
	processingfolder varchar(255) DEFAULT '' NOT NULL,
	lastsync datetime DEFAULT '0000-00-00 00:00:00',
	lastsynclog longtext NOT NULL,
	auto_clear_cache_for_plugin tinyint(1) unsigned DEFAULT '0' NOT NULL,
	news_type varchar(100) NOT NULL DEFAULT '0',
	news_is_hidden_after_import tinyint(1) unsigned DEFAULT '0' NOT NULL,
	news_is_top_news tinyint(1) unsigned DEFAULT '0' NOT NULL,
	storage_pid int(11) unsigned DEFAULT '0',
	clear_cache_pages int(11) unsigned DEFAULT '0' NOT NULL,

	tstamp int(11) unsigned DEFAULT '0' NOT NULL,
	crdate int(11) unsigned DEFAULT '0' NOT NULL,
	cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
	deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
	hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
	starttime int(11) unsigned DEFAULT '0' NOT NULL,
	endtime int(11) unsigned DEFAULT '0' NOT NULL,

	t3ver_oid int(11) DEFAULT '0' NOT NULL,
	t3ver_id int(11) DEFAULT '0' NOT NULL,
	t3ver_wsid int(11) DEFAULT '0' NOT NULL,
	t3ver_label varchar(255) DEFAULT '' NOT NULL,
	t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
	t3ver_stage int(11) DEFAULT '0' NOT NULL,
	t3ver_count int(11) DEFAULT '0' NOT NULL,
	t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
	t3ver_move_id int(11) DEFAULT '0' NOT NULL,

	sys_language_uid int(11) DEFAULT '0' NOT NULL,
	l10n_parent int(11) DEFAULT '0' NOT NULL,
	l10n_diffsource mediumblob,

	PRIMARY KEY (uid),
	KEY parent (pid),
	KEY t3ver_oid (t3ver_oid,t3ver_wsid),
 KEY language (l10n_parent,sys_language_uid)

);

#
# Table structure for table 'tx_newssync_domain_model_syncconfiguration'
#
CREATE TABLE tx_newssync_domain_model_syncconfiguration (
	categories int(11) unsigned DEFAULT '0' NOT NULL,
);

#
# Table structure for table 'tx_newssync_syncconfiguration_clearcachepages_page_mm'
#
CREATE TABLE tx_newssync_syncconfiguration_clearcachepages_page_mm (
	uid_local int(11) unsigned DEFAULT '0' NOT NULL,
	uid_foreign int(11) unsigned DEFAULT '0' NOT NULL,
	sorting int(11) unsigned DEFAULT '0' NOT NULL,
	sorting_foreign int(11) unsigned DEFAULT '0' NOT NULL,

	KEY uid_local (uid_local),
	KEY uid_foreign (uid_foreign)
);

## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
