/* Script for MYSQL to make the DB tables needed for CrushFTP. */ CREATE TABLE `domain_root_list` ( `userid` int(11) NOT NULL default '0', `domain` varchar(255) default NULL, `path` varchar(255) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `events` ( `userid` int(11) NOT NULL default '0', `SQL_FIELD_name` varchar(255) NOT NULL default '', `command` varchar(255) NOT NULL default '', `event_dir_data` varchar(255) NOT NULL default '', `event_if_list` varchar(255) NOT NULL default '', `event_action_list` varchar(255) NOT NULL default '', `event_user_action_list` varchar(255) NOT NULL default '', `event_after_list` varchar(255) NOT NULL default '', `event_plugin_list` varchar(255) NOT NULL default '', `SQL_FIELD_from` varchar(255) NOT NULL default '', `SQL_FIELD_to` varchar(255) NOT NULL default '', `cc` varchar(255) NOT NULL default '', `bcc` varchar(255) NOT NULL default '', `subject` varchar(255) NOT NULL default '', `body` varchar(255) NOT NULL default '', `event_always_cb` varchar(10) NOT NULL default 'false', `event_after_cb` varchar(10) NOT NULL default 'false', `event_now_cb` varchar(10) NOT NULL default 'false', `event_if_cb` varchar(10) NOT NULL default 'false', `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `inheritance` ( `userid` int(11) default NULL, `inherit_username` varchar(255) default NULL, `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `ip_restrictions` ( `userid` int(11) NOT NULL default '0', `start_ip` varchar(255) default NULL, `type` varchar(1) default NULL, `stop_ip` varchar(255) default NULL, `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `user_properties` ( `userid` int(11) default NULL, `prop_name` varchar(255) default NULL, `prop_value` varchar(255) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `users` ( `userid` int(11) NOT NULL auto_increment, `username` varchar(255) default NULL, `password` varchar(255) default NULL, `server_group` varchar(50) default NULL, PRIMARY KEY (`userid`) ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; CREATE TABLE `vfs` ( `userid` int(11) default NULL, `url` varchar(255) default NULL, `type` varchar(50) default NULL, `path` varchar(255) default NULL, `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `vfs_permissions` ( `userid` int(11) default NULL, `path` varchar(255) default NULL, `privs` varchar(255) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `web_buttons` ( `userid` int(11) NOT NULL default '0', `sql_field_key` varchar(255) default NULL, `sql_field_value` varchar(255) default NULL, `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `web_customizations` ( `userid` int(11) NOT NULL default '0', `sql_field_key` varchar(255) default NULL, `sql_field_value` varchar(255) default NULL, `sort_order` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE `groups` ( `groupname` varchar(255) default NULL, `userid` int(11) default NULL, `server_group` varchar(50) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 09-Oct-2016 18:14 by Ben Spink.
G’day (anonymous guest)
Log in
JSPWiki