diff --git a/interface/sql/WARNING.txt b/interface/sql/WARNING.txt deleted file mode 100644 index dda07c1ddb73e23152ebb06a279fe9bb430e3115..0000000000000000000000000000000000000000 --- a/interface/sql/WARNING.txt +++ /dev/null @@ -1,10 +0,0 @@ - -WARNING ---------------------------------------------------------------------------------- - -The SQL dump in this directory is deprecated and is not maintained for a while. -It does not contain the latest database tables. The ispconfig3db.sql file -in this directory and the directory interface/sql/ will be removed. The latest -SQL dump is availabe in the directory install/sql/ispconfig3.sql - -Please move any installer related code to the installer/... tree. \ No newline at end of file diff --git a/interface/sql/db_installer_sandbox/defs.ftp_servers_sites_domains.php b/interface/sql/db_installer_sandbox/defs.ftp_servers_sites_domains.php deleted file mode 100644 index 4ee59131df54ed8e58ef8151e47de2b1c9894549..0000000000000000000000000000000000000000 --- a/interface/sql/db_installer_sandbox/defs.ftp_servers_sites_domains.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php - -//************************************************************************************* -// DNS -//************************************************************************************* - -//TODO - Enum -$tables['dns_rr'] = " -`id` I unsigned NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL, -`sys_groupid` I NOTNULL, -`sys_perm_user` C(5) NOTNULL, -`sys_perm_group` C(5) NOTNULL, -`sys_perm_other` C(5) NOTNULL, -`server_id` I NOTNULL DEFAULT '1', -`zone` I unsigned NOTNULL, -`name` C(64) NOTNULL, -`type` enum('A','AAAA','ALIAS','CNAME','HINFO','MX','NAPTR','NS','PTR','RP','SRV','TXT') , -`data` char(128) NOTNULL, -`aux` I unsigned NOTNULL DEFAULT '0', -`ttl` I unsigned NOTNULL DEFAULT '86400', -`active` enum('N','Y') NOTNULL DEFAULT 'Y' -"; - -//TODO char(255) -$tables['dns_soa'] = " -`id` I unsigned NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL, -`sys_groupid` I NOTNULL, -`sys_perm_user` C(5) NOTNULL, -`sys_perm_group` C(5) NOTNULL, -`sys_perm_other` C(5) NOTNULL, -`server_id` I NOTNULL DEFAULT '1', -`origin` char(255) NOTNULL, -`ns` char(255) NOTNULL, -`mbox` char(255) NOTNULL, -`serial` I NOTNULL DEFAULT '1', -`refresh` I NOTNULL DEFAULT '28800', -`retry` I NOTNULL DEFAULT '7200', -`expire` I NOTNULL DEFAULT '604800', -`minimum` I NOTNULL DEFAULT '86400', -`ttl` I unsigned NOTNULL DEFAULT '86400', -`active` enum('Y','N') NOTNULL, -`xfer` char(255) NOTNULL -"; - - -//************************************************************************************* -// Ftp Related -//************************************************************************************* - -$tables['ftp_user'] = " -`ftp_user_id` I8 NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL DEFAULT '0', -`sys_groupid` I NOTNULL DEFAULT '0', -`sys_perm_user` C(5), -`sys_perm_group` C(5), -`sys_perm_other` C(5), -`server_id` I NOTNULL DEFAULT '0', -`parent_domain_id` I NOTNULL DEFAULT '0', -`username` C(255), -`password` C(255), -`quota_size` I NOTNULL DEFAULT '-1', -`active` C(255) NOTNULL DEFAULT 'y', -`uid` C(255), -`gid` C(255), -`dir` C(255), -`quota_files` I NOTNULL DEFAULT '-1', -`ul_ratio` I NOTNULL DEFAULT '-1', -`dl_ratio` I NOTNULL DEFAULT '-1', -`ul_bandwidth` I NOTNULL DEFAULT '-1', -`dl_bandwidth` I NOTNULL DEFAULT '-1' -"; - -//************************************************************************************* -// Web Domain -//************************************************************************************* - -$tables['web_domain'] = " -`domain_id` I8 NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL DEFAULT '0', -`sys_groupid` I NOTNULL DEFAULT '0', -`sys_perm_user` C(5), -`sys_perm_group` C(5), -`sys_perm_other` C(5), -`server_id` I NOTNULL DEFAULT '0', -`ip_address` C(15) , -`domain` C(255) , -`type` C(255) NOTNULL DEFAULT 'y', -`parent_domain_id` I NOTNULL DEFAULT '0', -`vhost_type` C(255), -`document_root` C(255), -`system_user` C(255), -`system_group` C(255), -`hd_quota` I NOTNULL DEFAULT '0', -`traffic_quota` I NOTNULL DEFAULT '0', -`cgi` C(255) NOTNULL DEFAULT 'y', -`ssi` C(255) NOTNULL DEFAULT 'y', -`suexec` C(255) NOTNULL DEFAULT 'y', -`php` C(255) NOTNULL DEFAULT 'y', -`redirect_type` C(255), -`redirect_path` C(255), -`active` C(255) NOTNULL DEFAULT 'y' -"; -?> \ No newline at end of file diff --git a/interface/sql/db_installer_sandbox/defs.mail_spam.php b/interface/sql/db_installer_sandbox/defs.mail_spam.php deleted file mode 100644 index fd7d08dac658eb14fdea490abec359e1f651b41c..0000000000000000000000000000000000000000 --- a/interface/sql/db_installer_sandbox/defs.mail_spam.php +++ /dev/null @@ -1,392 +0,0 @@ -<?php - -//************************************************************************************* -// Mail Related -//************************************************************************************* - -$tables['mail_access'] = " -`access_id` int(11) NOT NULL AUTO PRIMARY, -`sys_userid` int(11) NOTNULL DEFAULT '0', -`sys_groupid` int(11) NOTNULL DEFAULT '0', -`sys_perm_user` C(5) NOTNULL DEFAULT '', -`sys_perm_group` C(5) NOTNULL DEFAULT '', -`sys_perm_other` C(5) NOTNULL DEFAULT '', -`server_id` I INDEX NOTNULL DEFAULT '0', -`source` C(255) INDEX NOT NULL, -`access` C(255) NOT NULL, -`type` set('recipient','sender','client') NOT NULL, -`active` enum('n','y') NOTNULL DEFAULT 'y' -"; - - -$tables['mail_blacklist'] = " -blacklist_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -address C(200) NOTNULL DEFAULT '', -recipient C(200) NOTNULL DEFAULT '', -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_box'] = " -mailbox_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -email C(255) NOTNULL DEFAULT '', -cryptpwd C(128) NOTNULL DEFAULT '', -clearpwd C(128) NOTNULL DEFAULT '', -name C(128) NOTNULL DEFAULT '', -uid int(10) unsigned NOTNULL DEFAULT '0', -gid int(10) unsigned NOTNULL DEFAULT '0', -maildir C(255) NOTNULL DEFAULT '', -quota C(255) NOTNULL DEFAULT '', -autoresponder enum('0','1') NOTNULL DEFAULT '0', -autoresponder_text tinytext NOTNULL, -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_content_filter'] = " -`content_filter_id` bigint(20) NOTNULL AUTO PRIMARY, -`sys_userid` int(11) NOTNULL DEFAULT '0', -`sys_groupid` int(11) NOTNULL DEFAULT '0', -`sys_perm_user` C(5), -`sys_perm_group` C(5), -`sys_perm_other` C(5), -`server_id` int(11) NOTNULL DEFAULT '0', -`type` C(255), -`pattern` C(255), -`data` C(255), -`action` C(255) , -`active` C(255) NOTNULL DEFAULT 'y' -"; - -$tables['mail_domain'] = " -domain_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I INDEX NOTNULL DEFAULT '0', -domain C(255) INDEX NOTNULL DEFAULT '', -type enum('local','relay','alias') NOTNULL DEFAULT 'local', -destination C(255) NOTNULL DEFAULT '', -active tinyint(4) NOTNULL DEFAULT '1' -"; - -$tables['mail_domain_catchall'] = " -domain_catchall_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -domain C(255) NOTNULL DEFAULT '', -destination C(255) NOTNULL DEFAULT '', -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_forwarding'] = " -`forwarding_id` int(11) NOTNULL AUTO PRIMARY, -`sys_userid` int(11) NOTNULL DEFAULT '0', -`sys_groupid` int(11) NOTNULL DEFAULT '0', -`sys_perm_user` C(5) NOTNULL DEFAULT '', -`sys_perm_group` C(5) NOTNULL DEFAULT '', -`sys_perm_other` C(5) NOTNULL DEFAULT '', -`server_id` I INDEX NOTNULL DEFAULT '0', -`source` C(255) INDEX NOTNULL, -`destination` C(255) NOTNULL DEFAULT '', -`type` enum('alias','forward','catchall') NOTNULL DEFAULT 'alias', -`active` enum('y','n') NOTNULL -"; - -$tables['mail_get'] = " -`mailget_id` bigint(20) NOT NULL AUTO PRIMARY, -`sys_userid` int(11) NOTNULL DEFAULT '0', -`sys_groupid` int(11) NOTNULL DEFAULT '0', -`sys_perm_user` C(5) , -`sys_perm_group` C(5) , -`sys_perm_other` C(5) , -`server_id` int(11) NOTNULL DEFAULT '0', -`type` C(255) , -`source_server` C(255) , -`source_username` C(255) , -`source_password` C(255) , -`source_delete` C(255) NOTNULL DEFAULT 'y', -`destination` C(255) , -`active` C(255) NOTNULL DEFAULT 'y' -" - -$tables['mail_greylist'] = " -greylist_id I NOTNULL AUTO PRIMARY, -relay_ip C(64), -from_domain C(255) DEFAULT NULL, -block_expires datetime', -record_expires datetime', -origin_type enum('MANUAL','AUTO') NOTNULL DEFAULT 'AUTO', -create_time datetime' -"; - -$tables['mail_mailman_domain'] = " -mailman_id I NOTNULL AUTO PRIMARY, -server_id I NOTNULL DEFAULT '0', -domain C(255) NOTNULL DEFAULT '', -mm_home C(255) NOTNULL DEFAULT '', -mm_wrap C(255) NOTNULL DEFAULT '', -mm_user C(50) NOTNULL DEFAULT '', -mm_group C(50) NOTNULL DEFAULT '' -"; - -$tables['mail_redirect'] = " -redirect_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -email C(255) NOTNULL DEFAULT '', -destination C(255) NOTNULL DEFAULT '', -type enum('alias','forward') NOTNULL DEFAULT 'alias', -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_spamfilter'] = " -spamfilter_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -email C(255) NOTNULL DEFAULT '', -spam_rewrite_score_int I NOTNULL DEFAULT '0', -spam_delete_score_int I NOTNULL DEFAULT '0', -spam_redirect_score_int I NOTNULL DEFAULT '0', -spam_rewrite_subject C(50) NOTNULL DEFAULT '***SPAM***', -spam_redirect_maildir C(255) NOTNULL DEFAULT '', -spam_redirect_maildir_purge I NOTNULL DEFAULT '7', -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_traffic'] = " -`traffic_id` I NOTNULL AUTO PRIMARY, -`mailuser_id` I NOTNULL, -`month` C(7) INDEX NOTNULL, -`traffic` bigint(20) unsigned NOT NULL -"; - -$tables['mail_transport'] = " -transport_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -domain C(255) NOTNULL DEFAULT '', -transport C(255) NOTNULL DEFAULT '', -sort_order I NOT NULL default '5', -destination C(255) NOTNULL DEFAULT '', -active enum('0','1') NOTNULL DEFAULT '1' -"; - -$tables['mail_user'] = " -`mailuser_id` I NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL DEFAULT '0', -`sys_groupid` I NOTNULL DEFAULT '0', -`sys_perm_user` C(5) NOTNULL DEFAULT '', -`sys_perm_group` C(5) NOTNULL DEFAULT '', -`sys_perm_other` C(5) NOTNULL DEFAULT '', -`server_id` I INDEX NOTNULL DEFAULT '0', -`email` C(255) INDEX NOTNULL DEFAULT '', -`password` C(255) NOTNULL, -`name` C(128) NOTNULL DEFAULT '', -`uid` int(10) unsigned NOTNULL DEFAULT '5000', -`gid` int(10) unsigned NOTNULL DEFAULT '5000', -`maildir` C(255) NOTNULL DEFAULT '', -`quota` I NOTNULL, -`homedir` C(255) NOTNULL, -`autoresponder` enum('n','y') NOTNULL DEFAULT 'n', -`autoresponder_text` tinytext NOTNULL, -`custom_mailfilter` text, -`postfix` enum('y','n') NOTNULL, -`access` enum('y','n') NOTNULL -"; - -$tables['mail_whitelist'] = " -whitelist_id I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_id I NOTNULL DEFAULT '0', -address C(255) NOTNULL DEFAULT '', -recipient C(255) NOTNULL DEFAULT '', -active enum('0','1') NOTNULL DEFAULT '1' -"; - - -//************************************************************************************* -// Spam spam spam spam, sing along.. -//************************************************************************************* - -$tables['spamfilter_policy'] = " -`id` I NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL, -`sys_groupid` I NOTNULL, -`sys_perm_user` C(5) NOTNULL, -`sys_perm_group` C(5) NOTNULL, -`sys_perm_other` C(5) NOTNULL, -`policy_name` C(32) , -`virus_lover` C(1) , -`spam_lover` C(1) , -`banned_files_lover` C(1) , -`bad_header_lover` C(1) , -`bypass_virus_checks` C(1) , -`bypass_spam_checks` C(1) , -`bypass_banned_checks` C(1) , -`bypass_header_checks` C(1) , -`spam_modifies_subj` C(1) , -`virus_quarantine_to` C(64) , -`spam_quarantine_to` C(64) , -`banned_quarantine_to` C(64) , -`bad_header_quarantine_to` C(64) , -`clean_quarantine_to` C(64) , -`other_quarantine_to` C(64) , -`spam_tag_level` F, -`spam_tag2_level` F, -`spam_kill_level` F, -`spam_dsn_cutoff_level` F, -`spam_quarantine_cutoff_level` F, -`addr_extension_virus` C(64) , -`addr_extension_spam` C(64) , -`addr_extension_banned` C(64) , -`addr_extension_bad_header` C(64) , -`warnvirusrecip` C(1) , -`warnbannedrecip` C(1) , -`warnbadhrecip` C(1) , -`newvirus_admin` C(64) , -`virus_admin` C(64) , -`banned_admin` C(64) , -`bad_header_admin` C(64) , -`spam_admin` C(64) , -`spam_subject_tag` C(64) , -`spam_subject_tag2` C(64) , -`message_size_limit` I , -`banned_rulenames` C(64) -"; - -//TODO Unique index on email -$tables['spamfilter_users'] = " -`id` int(10) NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL, -`sys_groupid` I NOTNULL, -`sys_perm_user` C(5) NOTNULL, -`sys_perm_group` C(5) NOTNULL, -`sys_perm_other` C(5) NOTNULL, -`server_id` int(10) unsigned NOTNULL, -`priority` I NOTNULL DEFAULT '7', -`policy_id` int(10) unsigned NOTNULL DEFAULT '1', -`email` C(255) INDEX NOTNULL, -`fullname` C(255) , -`local` char(1) -"; - -//TODO Enum -$tables['spamfilter_wblist'] = " -`wblist_id` I NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL, -`sys_groupid` I NOTNULL, -`sys_perm_user` C(5) NOTNULL, -`sys_perm_group` C(5) NOTNULL, -`sys_perm_other` C(5) NOTNULL, -`server_id` int(10) unsigned NOTNULL, -`wb` enum('W','B') NOTNULL DEFAULT 'W', -`rid` int(10) unsigned NOTNULL, -`email` C(255) NOTNULL, -`priority` I NOTNULL, -`active` enum('y','n') NOTNULL DEFAULT 'y' -"; - -$tables['rr'] = " -id int(10) unsigned NOTNULL AUTO PRIMARY, -zone int(10) unsigned NOTNULL DEFAULT '0', -name C(64) NOTNULL DEFAULT '', -type enum('A','AAAA','ALIAS','CNAME','HINFO','MX','NS','PTR','RP','SRV','TXT') DEFAULT NULL, -data C(128) NOTNULL DEFAULT '', -aux int(10) unsigned NOTNULL DEFAULT '0', -ttl int(10) unsigned NOTNULL DEFAULT '86400', -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '' -"; - -$tables['server'] = " -server_id bigint(20) NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -server_name C(255) NOTNULL DEFAULT '', -mail_server tinyint(4) NOTNULL DEFAULT '0', -web_server tinyint(4) NOTNULL DEFAULT '0', -dns_server tinyint(4) NOTNULL DEFAULT '0', -file_server tinyint(4) NOTNULL DEFAULT '0', -db_server tinyint(4) NOTNULL DEFAULT '0', -vserver_server tinyint(4) NOTNULL DEFAULT '0', -config text NOTNULL, -`update` tinyint(4) NOTNULL DEFAULT '0', -active tinyint(4) NOTNULL DEFAULT '1', -"; - - -$tables['server_ip'] = " -`server_ip_id` bigint(20) NOTNULL AUTO PRIMARY, -`sys_userid` I NOTNULL DEFAULT '0', -`sys_groupid` I NOTNULL DEFAULT '0', -`sys_perm_user` C(5) , -`sys_perm_group` C(5) , -`sys_perm_other` C(5) , -`server_id` int(10) unsigned NOTNULL DEFAULT '0', -`ip_address` C(15) , -`virtualhost` C(1) NOTNULL DEFAULT 'y' -"; - - -$tables['soa'] = " -id int(10) unsigned NOTNULL AUTO PRIMARY, -origin C(255) NOTNULL DEFAULT '', -ns C(255) NOTNULL DEFAULT '', -mbox C(255) NOTNULL DEFAULT '', -serial int(10) unsigned NOTNULL DEFAULT '1', -refresh int(10) unsigned NOTNULL DEFAULT '28800', -retry int(10) unsigned NOTNULL DEFAULT '7200', -expire int(10) unsigned NOTNULL DEFAULT '604800', -minimum int(10) unsigned NOTNULL DEFAULT '86400', -ttl int(10) unsigned NOTNULL DEFAULT '86400', -active enum('Y','N') NOTNULL DEFAULT 'Y', -xfer C(255) NOTNULL DEFAULT '', -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '' -"; - - - -?> \ No newline at end of file diff --git a/interface/sql/db_installer_sandbox/defs.resellers_clients.php b/interface/sql/db_installer_sandbox/defs.resellers_clients.php deleted file mode 100644 index d96247d8c0ca10fab62bc2f292c80f6b45acc87b..0000000000000000000000000000000000000000 --- a/interface/sql/db_installer_sandbox/defs.resellers_clients.php +++ /dev/null @@ -1,84 +0,0 @@ -<?php - - -//************************************************************************************* -// Resellers, clients etc -//************************************************************************************* -$tables['client'] = " -`client_id` bigint(20) NOT NULL AUTO PRIMARY, -`sys_userid` int(11) NOTNULL DEFAULT '0', -`sys_groupid` int(11) NOTNULL DEFAULT '0', -`sys_perm_user` C(5), -`sys_perm_group` C(5), -`sys_perm_other` C(5), -`company_name` C(255), -`contact_name` C(255), -`street` C(255), -`zip` C(255), -`city` C(255), -`state` C(255), -`country` C(255), -`telephone` C(255), -`mobile` C(255), -`fax` C(255), -`email` C(255), -`internet` C(255) NOTNULL DEFAULT 'http://', -`icq` C(255), -`notes` text, -`default_mailserver` int(11) NOTNULL DEFAULT '1', -`limit_maildomain` int(11) NOTNULL DEFAULT '-1', -`limit_mailbox` int(11) NOTNULL DEFAULT '-1', -`limit_mailalias` int(11) NOTNULL DEFAULT '-1', -`limit_mailforward` int(11) NOTNULL DEFAULT '-1', -`limit_mailcatchall` int(11) NOTNULL DEFAULT '-1', -`limit_mailrouting` int(11) NOTNULL DEFAULT '0', -`limit_mailfilter` int(11) NOTNULL DEFAULT '-1', -`limit_fetchmail` int(11) NOTNULL DEFAULT '-1', -`limit_mailquota` int(11) NOTNULL DEFAULT '-1', -`limit_spamfilter_wblist` int(11) NOTNULL DEFAULT '0', -`limit_spamfilter_user` int(11) NOTNULL DEFAULT '0', -`limit_spamfilter_policy` int(11) NOTNULL DEFAULT '0', -`default_webserver` int(11) NOT NULL, -`limit_web_ip` text NOT NULL, -`username` C(255) , -`password` C(255) , -`language` C(255) NOTNULL DEFAULT 'en', -`usertheme` C(255) NOTNULL DEFAULT 'default' -"; - - -$tables['reseller'] = " -reseller_id bigint(20) NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -company C(255) NOTNULL DEFAULT '', -title C(255) NOTNULL DEFAULT '', -firstname C(255) NOTNULL DEFAULT '', -surname C(255) NOTNULL DEFAULT '', -street C(255) NOTNULL DEFAULT '', -zip C(255) NOTNULL DEFAULT '', -city C(255) NOTNULL DEFAULT '', -country C(255) NOTNULL DEFAULT '', -telephone C(255) NOTNULL DEFAULT '', -mobile C(255) NOTNULL DEFAULT '', -fax C(255) NOTNULL DEFAULT '', -email C(255) NOTNULL DEFAULT '', -internet C(255) NOTNULL DEFAULT '', -icq C(255) NOTNULL DEFAULT '', -notes text NOTNULL, -limit_client I NOTNULL DEFAULT '-1', -limit_domain I NOTNULL DEFAULT '-1', -limit_subdomain I NOTNULL DEFAULT '-1', -limit_mailbox I NOTNULL DEFAULT '-1', -limit_mailalias I NOTNULL DEFAULT '-1', -limit_webquota I NOTNULL DEFAULT '-1', -limit_mailquota I NOTNULL DEFAULT '-1', -limit_database I NOTNULL DEFAULT '-1', -ip_address text NOTNULL -"; - - -?> \ No newline at end of file diff --git a/interface/sql/db_installer_sandbox/defs.system.php b/interface/sql/db_installer_sandbox/defs.system.php deleted file mode 100644 index f07401a37fa3aa551bd7c6ad33f1ab86761d05e4..0000000000000000000000000000000000000000 --- a/interface/sql/db_installer_sandbox/defs.system.php +++ /dev/null @@ -1,86 +0,0 @@ -<?php - -//************************************************************************************* -// System Related -//************************************************************************************* - -$tables['sys_datalog'] = " -datalog_id I8 NOTNULL AUTO PRIMARY, -server_id I NOTNULL, -dbtable C(255) NOTNULL DEFAULT '', -dbidx C(255) NOTNULL DEFAULT '', -action char(1) NOTNULL DEFAULT '', -tstamp I8 NOTNULL DEFAULT '0', -user C(255) NOTNULL DEFAULT '', -data X NOTNULL -"; - -$tables['sys_dbsync'] = " -id bigint(20) NOTNULL AUTO PRIMARY, -jobname C(255) NOTNULL DEFAULT '', -sync_interval_minutes I NOTNULL DEFAULT '0', -db_type C(255) NOTNULL DEFAULT '', -db_host C(255) NOTNULL DEFAULT '', -db_name C(255) NOTNULL DEFAULT '', -db_username C(255) NOTNULL DEFAULT '', -db_password C(255) NOTNULL DEFAULT '', -db_tables C(255) NOTNULL DEFAULT 'admin,forms', -empty_datalog I NOTNULL DEFAULT '0', -sync_datalog_external I NOTNULL DEFAULT '0', -active I NOTNULL DEFAULT '1', -last_datalog_id bigint(20) NOTNULL DEFAULT '0' -"; - - -$tables['sys_filesync'] = " -id bigint(20) NOTNULL AUTO PRIMARY, -jobname C(255) NOTNULL DEFAULT '', -sync_interval_minutes I NOTNULL DEFAULT '0', -ftp_host C(255) NOTNULL DEFAULT '', -ftp_path C(255) NOTNULL DEFAULT '', -ftp_username C(255) NOTNULL DEFAULT '', -ftp_password C(255) NOTNULL DEFAULT '', -local_path C(255) NOTNULL DEFAULT '', -wput_options C(255) NOTNULL DEFAULT '--timestamping --reupload --dont-continue', -active I NOTNULL DEFAULT '1' -"; - -$tables['sys_group'] = " -groupid I NOTNULL AUTO PRIMARY, -name C(255) NOTNULL DEFAULT '', -description text NOTNULL, -client_id int(11) NOT NULL default '0' -"; - -$tables['sys_user'] = " -userid I NOTNULL AUTO PRIMARY, -sys_userid I NOTNULL DEFAULT '0', -sys_groupid I NOTNULL DEFAULT '0', -sys_perm_user C(5) NOTNULL DEFAULT '', -sys_perm_group C(5) NOTNULL DEFAULT '', -sys_perm_other C(5) NOTNULL DEFAULT '', -username C(100) NOTNULL DEFAULT '', -passwort C(100) NOTNULL DEFAULT '', -modules C(255) NOTNULL DEFAULT '', -startmodule C(255) NOTNULL DEFAULT '', -app_theme C(100) NOTNULL DEFAULT 'default', -typ C(20) NOTNULL DEFAULT 'user', -active tinyint(4) NOTNULL DEFAULT '1', -name C(100) NOTNULL DEFAULT '', -vorname C(100) NOTNULL DEFAULT '', -unternehmen C(100) NOTNULL DEFAULT '', -strasse C(100) NOTNULL DEFAULT '', -ort C(100) NOTNULL DEFAULT '', -plz C(10) NOTNULL DEFAULT '', -land C(50) NOTNULL DEFAULT '', -email C(100) NOTNULL DEFAULT '', -url C(255) NOTNULL DEFAULT '', -telefon C(100) NOTNULL DEFAULT '', -fax C(100) NOTNULL DEFAULT '', -language C(10) NOTNULL DEFAULT 'de', -groups C(255) NOTNULL DEFAULT '', -default_group I NOTNULL DEFAULT '0', -client_id I INDEX -"; - -?> \ No newline at end of file diff --git a/interface/sql/ispconfig3db.sql b/interface/sql/ispconfig3db.sql deleted file mode 100644 index 1b79ac7426a26eeca2a0d201ed167a49980adaae..0000000000000000000000000000000000000000 --- a/interface/sql/ispconfig3db.sql +++ /dev/null @@ -1,571 +0,0 @@ -# phpMyAdmin MySQL-Dump -# version 2.4.0-rc1 -# http://www.phpmyadmin.net/ (download page) -# -# Host: localhost -# Erstellungszeit: 24. Februar 2006 um 10:32 -# Server Version: 4.0.23 -# PHP-Version: 5.0.3 -# Datenbank: `ispconfig3` -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_blacklist` -# - -DROP TABLE IF EXISTS mail_blacklist; -CREATE TABLE mail_blacklist ( - blacklist_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - address varchar(200) NOT NULL default '', - recipient varchar(200) NOT NULL default '', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (blacklist_id), - KEY server_id (server_id,address,recipient) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_blacklist` -# - -INSERT INTO mail_blacklist VALUES (2, 1, 0, 'riud', 'riud', '', 1, 'till@test.int', 'till@test.int', '0'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_box` -# - -DROP TABLE IF EXISTS mail_box; -CREATE TABLE mail_box ( - mailbox_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - email varchar(255) NOT NULL default '', - cryptpwd varchar(128) NOT NULL default '', - clearpwd varchar(128) NOT NULL default '', - name varchar(128) NOT NULL default '', - uid int(10) unsigned NOT NULL default '0', - gid int(10) unsigned NOT NULL default '0', - maildir varchar(255) NOT NULL default '', - quota varchar(255) NOT NULL default '', - autoresponder enum('0','1') NOT NULL default '0', - autoresponder_text tinytext NOT NULL, - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (mailbox_id), - KEY server_id (server_id,email) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_box` -# - -INSERT INTO mail_box VALUES (1, 1, 0, 'riud', 'riud', '', 1, 'tt@test.int', '$1$tRlfKeOB$iHJgCn8mH8x/dh/XWy6v0/', '', '', 0, 0, '/var/spool/mail/till', '100', '0', '', '1'); -INSERT INTO mail_box VALUES (2, 1, 0, 'riud', 'riud', '', 1, 'moin@test.int', '$1$Ee/.7y3.$wZ4BLXs/Pa80ka9X4ikN8.', '', '', 0, 0, '/var/spool/mail/test.int/moin', '10', '0', '', '1'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_domain` -# - -DROP TABLE IF EXISTS mail_domain; -CREATE TABLE mail_domain ( - domain_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - domain varchar(255) NOT NULL default '', - type enum('local','relay','alias') NOT NULL default 'local', - destination varchar(255) NOT NULL default '', - active tinyint(4) NOT NULL default '1', - PRIMARY KEY (domain_id), - KEY server_id (server_id,domain,type) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_domain` -# - -INSERT INTO mail_domain VALUES (1, 1, 0, 'riud', 'riud', '', 1, 'test.int', 'local', '', 1); -INSERT INTO mail_domain VALUES (2, 1, 0, 'riud', 'riud', '', 1, 'test2.int', 'alias', 'test.int', 1); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_domain_catchall` -# - -DROP TABLE IF EXISTS mail_domain_catchall; -CREATE TABLE mail_domain_catchall ( - domain_catchall_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - domain varchar(255) NOT NULL default '', - destination varchar(255) NOT NULL default '', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (domain_catchall_id), - KEY server_id (server_id,domain) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_domain_catchall` -# - -INSERT INTO mail_domain_catchall VALUES (1, 1, 1, 'riud', 'riud', '', 1, 'test.int', 'till@test.int', '1'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_greylist` -# - -DROP TABLE IF EXISTS mail_greylist; -CREATE TABLE mail_greylist ( - greylist_id int(11) NOT NULL auto_increment, - relay_ip varchar(64) default NULL, - from_domain varchar(255) default NULL, - block_expires datetime NOT NULL default '0000-00-00 00:00:00', - record_expires datetime NOT NULL default '0000-00-00 00:00:00', - origin_type enum('MANUAL','AUTO') NOT NULL default 'AUTO', - create_time datetime NOT NULL default '0000-00-00 00:00:00', - PRIMARY KEY (greylist_id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_greylist` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_mailman_domain` -# - -DROP TABLE IF EXISTS mail_mailman_domain; -CREATE TABLE mail_mailman_domain ( - mailman_id int(11) NOT NULL auto_increment, - server_id int(11) NOT NULL default '0', - domain varchar(255) NOT NULL default '', - mm_home varchar(255) NOT NULL default '', - mm_wrap varchar(255) NOT NULL default '', - mm_user varchar(50) NOT NULL default '', - mm_group varchar(50) NOT NULL default '', - PRIMARY KEY (mailman_id,server_id,domain) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_mailman_domain` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_redirect` -# - -DROP TABLE IF EXISTS mail_redirect; -CREATE TABLE mail_redirect ( - redirect_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - email varchar(255) NOT NULL default '', - destination varchar(255) NOT NULL default '', - type enum('alias','forward') NOT NULL default 'alias', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (redirect_id), - KEY server_id (server_id,email) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_redirect` -# - -INSERT INTO mail_redirect VALUES (1, 1, 0, 'riud', 'riud', '', 1, 'tom@test.int', 'tt@test.int', 'alias', '1'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_spamfilter` -# - -DROP TABLE IF EXISTS mail_spamfilter; -CREATE TABLE mail_spamfilter ( - spamfilter_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - email varchar(255) NOT NULL default '', - spam_rewrite_score_int int(11) NOT NULL default '0', - spam_delete_score_int int(11) NOT NULL default '0', - spam_redirect_score_int int(11) NOT NULL default '0', - spam_rewrite_subject varchar(50) NOT NULL default '***SPAM***', - spam_redirect_maildir varchar(255) NOT NULL default '', - spam_redirect_maildir_purge int(11) NOT NULL default '7', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (spamfilter_id), - KEY server_id (server_id,email) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_spamfilter` -# - -INSERT INTO mail_spamfilter VALUES (1, 0, 0, '', '', '', 1, 'till@test.int', 100, 100, 1, '***SPAM mag ich nicht***', '/var/spool/mail/spam', 0, '1'); -INSERT INTO mail_spamfilter VALUES (2, 1, 0, 'riud', 'riud', '', 1, 'till2@test.int', 500, 1500, 700, '***SPAM***', '/var/spool/mail/till', 14, '1'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_transport` -# - -DROP TABLE IF EXISTS mail_transport; -CREATE TABLE mail_transport ( - whitelist_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - domain varchar(255) NOT NULL default '', - destination varchar(255) NOT NULL default '', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (whitelist_id), - KEY server_id (server_id,destination), - KEY server_id_2 (server_id,domain) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_transport` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `mail_whitelist` -# - -DROP TABLE IF EXISTS mail_whitelist; -CREATE TABLE mail_whitelist ( - whitelist_id int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_id int(11) NOT NULL default '0', - address varchar(255) NOT NULL default '', - recipient varchar(255) NOT NULL default '', - active enum('0','1') NOT NULL default '1', - PRIMARY KEY (whitelist_id), - KEY server_id (server_id,address) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `mail_whitelist` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `reseller` -# - -DROP TABLE IF EXISTS reseller; -CREATE TABLE reseller ( - reseller_id bigint(20) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - company varchar(255) NOT NULL default '', - title varchar(255) NOT NULL default '', - firstname varchar(255) NOT NULL default '', - surname varchar(255) NOT NULL default '', - street varchar(255) NOT NULL default '', - zip varchar(255) NOT NULL default '', - city varchar(255) NOT NULL default '', - country varchar(255) NOT NULL default '', - telephone varchar(255) NOT NULL default '', - mobile varchar(255) NOT NULL default '', - fax varchar(255) NOT NULL default '', - email varchar(255) NOT NULL default '', - internet varchar(255) NOT NULL default '', - icq varchar(255) NOT NULL default '', - notes text NOT NULL, - limit_client int(11) NOT NULL default '-1', - limit_domain int(11) NOT NULL default '-1', - limit_subdomain int(11) NOT NULL default '-1', - limit_mailbox int(11) NOT NULL default '-1', - limit_mailalias int(11) NOT NULL default '-1', - limit_webquota int(11) NOT NULL default '-1', - limit_mailquota int(11) NOT NULL default '-1', - limit_database int(11) NOT NULL default '-1', - ip_address text NOT NULL, - PRIMARY KEY (reseller_id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `reseller` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `rr` -# - -DROP TABLE IF EXISTS rr; -CREATE TABLE rr ( - id int(10) unsigned NOT NULL auto_increment, - zone int(10) unsigned NOT NULL default '0', - name varchar(64) NOT NULL default '', - type enum('A','AAAA','ALIAS','CNAME','HINFO','MX','NS','PTR','RP','SRV','TXT') default NULL, - data varchar(128) NOT NULL default '', - aux int(10) unsigned NOT NULL default '0', - ttl int(10) unsigned NOT NULL default '86400', - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - PRIMARY KEY (id), - UNIQUE KEY rr (zone,name,type,data) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `rr` -# - -INSERT INTO rr VALUES (1, 2, '1', 'PTR', 'www.ensign.de.', 0, 86400, 1, 0, 'riud', 'riud', ''); -INSERT INTO rr VALUES (2, 1, 'www', 'A', '192.168.0.1', 0, 86400, 1, 0, 'riud', 'riud', ''); -INSERT INTO rr VALUES (3, 1, 'ensign.de', 'A', '192.168.0.1', 0, 86400, 1, 0, 'riud', 'riud', ''); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `server` -# - -DROP TABLE IF EXISTS server; -CREATE TABLE server ( - server_id bigint(20) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - server_name varchar(255) NOT NULL default '', - mail_server tinyint(4) NOT NULL default '0', - web_server tinyint(4) NOT NULL default '0', - dns_server tinyint(4) NOT NULL default '0', - file_server tinyint(4) NOT NULL default '0', - db_server tinyint(4) NOT NULL default '0', - vserver_server tinyint(4) NOT NULL default '0', - config text NOT NULL, - `update` tinyint(4) NOT NULL default '0', - active tinyint(4) NOT NULL default '1', - PRIMARY KEY (server_id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `server` -# - -INSERT INTO server VALUES (1, 1, 1, 'riud', 'riud', '', 'Server 1', 1, 0, 0, 0, 0, 0, '[global]\r\nwebserver=apache\r\nmailserver=exim\r\ndnsserver=mydns\r\n\r\n[mail]\r\nmodule=exim_mysql\r\nmaildir_path=/var/spool/mail/[domain]/[localpart]\r\nmailuser_uid=0\r\nmailuser_gid=0', 0, 1); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `soa` -# - -DROP TABLE IF EXISTS soa; -CREATE TABLE soa ( - id int(10) unsigned NOT NULL auto_increment, - origin varchar(255) NOT NULL default '', - ns varchar(255) NOT NULL default '', - mbox varchar(255) NOT NULL default '', - serial int(10) unsigned NOT NULL default '1', - refresh int(10) unsigned NOT NULL default '28800', - retry int(10) unsigned NOT NULL default '7200', - expire int(10) unsigned NOT NULL default '604800', - minimum int(10) unsigned NOT NULL default '86400', - ttl int(10) unsigned NOT NULL default '86400', - active enum('Y','N') NOT NULL default 'Y', - xfer varchar(255) NOT NULL default '', - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - PRIMARY KEY (id), - UNIQUE KEY origin (origin), - KEY active (active) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `soa` -# - -INSERT INTO soa VALUES (1, 'ensign.de.', 'ns1.example.com.', 'admin.example.com.', 2006012103, 28800, 7200, 604800, 86400, 86400, 'Y', '', 1, 0, 'riud', 'riud', ''); -INSERT INTO soa VALUES (2, '0.168.192.in-addr.arpa.', 'ns1.example.com.', 'admin.example.com.', 2006012101, 28800, 7200, 604800, 86400, 86400, 'Y', '', 1, 0, 'riud', 'riud', ''); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `sys_datalog` -# - -DROP TABLE IF EXISTS sys_datalog; -CREATE TABLE sys_datalog ( - datalog_id bigint(20) NOT NULL auto_increment, - dbtable varchar(255) NOT NULL default '', - dbidx varchar(255) NOT NULL default '', - server_id int(11) NOT NULL default '0', - action char(1) NOT NULL default '', - tstamp bigint(20) NOT NULL default '0', - user varchar(255) NOT NULL default '', - data text NOT NULL, - PRIMARY KEY (datalog_id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `sys_datalog` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `sys_dbsync` -# - -DROP TABLE IF EXISTS sys_dbsync; -CREATE TABLE sys_dbsync ( - id bigint(20) NOT NULL auto_increment, - jobname varchar(255) NOT NULL default '', - sync_interval_minutes int(11) NOT NULL default '0', - db_type varchar(255) NOT NULL default '', - db_host varchar(255) NOT NULL default '', - db_name varchar(255) NOT NULL default '', - db_username varchar(255) NOT NULL default '', - db_password varchar(255) NOT NULL default '', - db_tables varchar(255) NOT NULL default 'admin,forms', - empty_datalog int(11) NOT NULL default '0', - sync_datalog_external int(11) NOT NULL default '0', - active int(11) NOT NULL default '1', - last_datalog_id bigint(20) NOT NULL default '0', - PRIMARY KEY (id), - KEY last_datalog_id (last_datalog_id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `sys_dbsync` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `sys_filesync` -# - -DROP TABLE IF EXISTS sys_filesync; -CREATE TABLE sys_filesync ( - id bigint(20) NOT NULL auto_increment, - jobname varchar(255) NOT NULL default '', - sync_interval_minutes int(11) NOT NULL default '0', - ftp_host varchar(255) NOT NULL default '', - ftp_path varchar(255) NOT NULL default '', - ftp_username varchar(255) NOT NULL default '', - ftp_password varchar(255) NOT NULL default '', - local_path varchar(255) NOT NULL default '', - wput_options varchar(255) NOT NULL default '--timestamping --reupload --dont-continue', - active int(11) NOT NULL default '1', - PRIMARY KEY (id) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `sys_filesync` -# - -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `sys_group` -# - -DROP TABLE IF EXISTS sys_group; -CREATE TABLE sys_group ( - groupid int(11) NOT NULL auto_increment, - name varchar(255) NOT NULL default '', - description text NOT NULL, - PRIMARY KEY (groupid) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `sys_group` -# - -INSERT INTO sys_group VALUES (1, 'admin', 'Administrators group'); -INSERT INTO sys_group VALUES (2, 'user', 'Users Group'); -# -------------------------------------------------------- - -# -# Tabellenstruktur f�r Tabelle `sys_user` -# - -DROP TABLE IF EXISTS sys_user; -CREATE TABLE sys_user ( - userid int(11) NOT NULL auto_increment, - sys_userid int(11) NOT NULL default '0', - sys_groupid int(11) NOT NULL default '0', - sys_perm_user varchar(5) NOT NULL default '', - sys_perm_group varchar(5) NOT NULL default '', - sys_perm_other varchar(5) NOT NULL default '', - username varchar(100) NOT NULL default '', - passwort varchar(100) NOT NULL default '', - modules varchar(255) NOT NULL default '', - startmodule varchar(255) NOT NULL default '', - app_theme varchar(100) NOT NULL default 'default', - typ varchar(20) NOT NULL default 'user', - active tinyint(4) NOT NULL default '1', - name varchar(100) NOT NULL default '', - vorname varchar(100) NOT NULL default '', - unternehmen varchar(100) NOT NULL default '', - strasse varchar(100) NOT NULL default '', - ort varchar(100) NOT NULL default '', - plz varchar(10) NOT NULL default '', - land varchar(50) NOT NULL default '', - email varchar(100) NOT NULL default '', - url varchar(255) NOT NULL default '', - telefon varchar(100) NOT NULL default '', - fax varchar(100) NOT NULL default '', - language varchar(10) NOT NULL default 'de', - groups varchar(255) NOT NULL default '', - default_group int(11) NOT NULL default '0', - PRIMARY KEY (userid) -) TYPE=MyISAM; - -# -# Daten f�r Tabelle `sys_user` -# - -INSERT INTO sys_user VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin,designer,mail,dns', 'admin', 'default', 'admin', 1, '', 'Administrator', '', '', '', '', '', '', '', '', '', 'en', '1,2', 0); -