It's mysql_schema, not mysql_scheme
This commit is contained in:
@@ -40,6 +40,7 @@ INSERT INTO `groups` (`id`, `name`, `description`) VALUES
|
|||||||
('356a192b7913b04c', 'admins', 'Administrators'),
|
('356a192b7913b04c', 'admins', 'Administrators'),
|
||||||
('da4b9237bacccdf1', 'users', 'Users');
|
('da4b9237bacccdf1', 'users', 'Users');
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `jobs` (
|
CREATE TABLE IF NOT EXISTS `jobs` (
|
||||||
`id` varchar(40) NOT NULL,
|
`id` varchar(40) NOT NULL,
|
||||||
`experiment_id` varchar(40) NOT NULL,
|
`experiment_id` varchar(40) NOT NULL,
|
||||||
@@ -72,14 +73,13 @@ CREATE TABLE IF NOT EXISTS `parameters` (
|
|||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
INSERT INTO `parameters` (`id`, `program_id`, `name`, `readable`, `unit`, `default_value`, `description`, `type`, `sort_number`) VALUES
|
INSERT INTO `parameters` (`id`, `program_id`, `name`, `readable`, `unit`, `default_value`, `description`, `type`, `sort_number`) VALUES
|
||||||
('7effed917effed91', '28dc3aee', 'refractive_idx_im', 'Refractive index (Im)', NULL, '', 'Imaginary part of refractive index', 'float', 4),
|
('7effed917effed91', '28dc3aee', 'refractive_idx_im', 'Refractive index (Im)', NULL, '', 'Imaginary part of refractive index', 'float', 3),
|
||||||
('76676cbe76676cbe', '28dc3aee', 'refractive_idx_re', 'Refractive index (Re)', NULL, '', 'Real part of refractive index', 'float', 3),
|
('76676cbe76676cbe', '28dc3aee', 'refractive_idx_re', 'Refractive index (Re)', NULL, '', 'Real part of refractive index', 'float', 4),
|
||||||
('bccf34eabccf34ea', '28dc3aee', 'lung_de_unda', 'Wavelength', 'µm', '', 'Wavelength of the light', 'float', 6),
|
('bccf34eabccf34ea', '28dc3aee', 'lung_de_unda', 'Wavelength', 'nm', '', 'Wavelength of the light', 'float', 6),
|
||||||
('f0f2c64af0f2c64a', '28dc3aee', 'Nrank', 'Nrank', NULL, '10', NULL, 'integer', 2),
|
('f0f2c64af0f2c64a', '28dc3aee', 'Nrank', 'Nrank', NULL, '10', NULL, 'integer', 2),
|
||||||
('6ce5f99f6ce5f99f', '28dc3aee', 'Mrank', 'Mrank', '', '5', '', 'integer', 1),
|
('6ce5f99f6ce5f99f', '28dc3aee', 'Mrank', 'Mrank', '', '5', '', 'integer', 1),
|
||||||
('930a320e930a320e', '28dc3aee', 'radius_norm', 'Radius for normalization', NULL, '', NULL, 'float', 5),
|
('930a320e930a320e', '28dc3aee', 'radius_norm', 'Radius for normalization', NULL, '', NULL, 'float', 5);
|
||||||
('56434914c460f829', '3cc9f0cb', 'time', 'Time', 's', '', 'The time', 'integer', 1),
|
|
||||||
('b55579734a6f24a7', '28dc3aee', 'boolean', 'Boolean that is true or false', '', '', 'Boolean that is true or false depending on whatever', 'boolean', 7);
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `programs` (
|
CREATE TABLE IF NOT EXISTS `programs` (
|
||||||
`id` varchar(8) NOT NULL,
|
`id` varchar(8) NOT NULL,
|
||||||
@@ -92,20 +92,20 @@ CREATE TABLE IF NOT EXISTS `programs` (
|
|||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
INSERT INTO `programs` (`id`, `name`, `driver`, `config_template`, `output_line`) VALUES
|
INSERT INTO `programs` (`id`, `name`, `driver`, `config_template`, `output_line`) VALUES
|
||||||
('28dc3aee', 'SScaTT', 'scatt', '&calculation_parameters\ngeo_file_name=default.obj;\ntmat_file_name=default.tma;\nscat_diag_file_name=default.out;\n{parameters}\n{name}={value};\n{/parameters}\n', '0'),
|
('28dc3aee', 'SScaTT', 'scatt', '&calculation_parameters\ngeo_file_name=default.obj;\ntmat_file_name=default.tma;\nscat_diag_file_name=default.out;\n{parameters}\n{name}={value};\n{/parameters}\n', '0');
|
||||||
('3cc9f0cb', 'Sample Program', 'lmsm', '{type} {param} = {value}\r\n', '0');
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `projects` (
|
CREATE TABLE IF NOT EXISTS `projects` (
|
||||||
`id` varchar(40) NOT NULL,
|
`id` varchar(40) NOT NULL,
|
||||||
`name` varchar(100) NOT NULL,
|
`name` varchar(100) NOT NULL,
|
||||||
`description` text NOT NULL,
|
`description` text NOT NULL,
|
||||||
`owner` varchar(16) NOT NULL,
|
`owner` varchar(16) NOT NULL,
|
||||||
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`created` timestamp NOT NULL default '0000-00-00 00:00:00',
|
||||||
`last_access` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`last_access` timestamp NOT NULL default '0000-00-00 00:00:00',
|
||||||
`browsable` tinyint(1) NOT NULL,
|
`browsable` tinyint(1) NOT NULL,
|
||||||
`public` tinyint(1) NOT NULL,
|
`public` tinyint(1) NOT NULL,
|
||||||
`default_model` varchar(255) DEFAULT NULL,
|
`default_model` varchar(255) default NULL,
|
||||||
`default_config` varchar(255) DEFAULT NULL,
|
`default_config` varchar(255) default NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `owner` (`owner`)
|
KEY `owner` (`owner`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
@@ -121,7 +121,7 @@ CREATE TABLE IF NOT EXISTS `servers` (
|
|||||||
`location` varchar(255) NOT NULL,
|
`location` varchar(255) NOT NULL,
|
||||||
`owner` varchar(16) NOT NULL,
|
`owner` varchar(16) NOT NULL,
|
||||||
`available` tinyint(1) NOT NULL,
|
`available` tinyint(1) NOT NULL,
|
||||||
`last_update` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`last_update` timestamp NOT NULL default '0000-00-00 00:00:00',
|
||||||
`workload` double NOT NULL,
|
`workload` double NOT NULL,
|
||||||
`ip_address` varchar(15) NOT NULL,
|
`ip_address` varchar(15) NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
@@ -129,9 +129,6 @@ CREATE TABLE IF NOT EXISTS `servers` (
|
|||||||
KEY `secret` (`secret`)
|
KEY `secret` (`secret`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
INSERT INTO `servers` (`id`, `secret`, `description`, `hardware`, `os`, `uptime`, `location`, `owner`, `available`, `last_update`, `workload`, `ip_address`) VALUES
|
|
||||||
('SP-KHEIKEN-01', 'd769926f814ba466736875ed4ff4da2b4c53b3e7', 'Linux', 'Intel Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2 Cores', 'Linux', '419855.42', 'Hochschule Emden, Technikum, Raum E10', '215cd70f310ae6ae', 1, '2011-09-29 14:45:29', 0.0680576254346746, '127.0.0.1'),
|
|
||||||
('SP-KHEIKEN-02', 'aeeb9921fb2c6abc3c0ebe240d7ae727b6959327', 'Virtuelle Windows-XP Maschine auf dem Laptop.', 'Intel Core(TM)2 Duo CPU P8400 @ 2.26GHz, 1 Core', 'Windows XP', '33304.0', 'Virtuelle Maschine, Sony Vaio Laptop', '215cd70f310ae6ae', 0, '2011-09-28 19:20:29', 0.0401376146788991, '127.0.0.2');
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `sessions` (
|
CREATE TABLE IF NOT EXISTS `sessions` (
|
||||||
`session_id` varchar(40) NOT NULL DEFAULT '0',
|
`session_id` varchar(40) NOT NULL DEFAULT '0',
|
||||||
@@ -144,6 +141,7 @@ CREATE TABLE IF NOT EXISTS `sessions` (
|
|||||||
KEY `last_activity` (`last_activity`)
|
KEY `last_activity` (`last_activity`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `settings` (
|
CREATE TABLE IF NOT EXISTS `settings` (
|
||||||
`id` varchar(8) NOT NULL,
|
`id` varchar(8) NOT NULL,
|
||||||
`name` varchar(100) NOT NULL,
|
`name` varchar(100) NOT NULL,
|
||||||
@@ -156,6 +154,7 @@ INSERT INTO `settings` (`id`, `name`, `value`) VALUES
|
|||||||
('ef7858ab', 'offline', '0'),
|
('ef7858ab', 'offline', '0'),
|
||||||
('6fc4f295', 'offline_message', 'ScattPort is currently offline for maintenance.');
|
('6fc4f295', 'offline_message', 'ScattPort is currently offline for maintenance.');
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `shares` (
|
CREATE TABLE IF NOT EXISTS `shares` (
|
||||||
`project_id` varchar(40) NOT NULL,
|
`project_id` varchar(40) NOT NULL,
|
||||||
`user_id` varchar(16) NOT NULL,
|
`user_id` varchar(16) NOT NULL,
|
||||||
@@ -187,6 +186,7 @@ CREATE TABLE IF NOT EXISTS `users` (
|
|||||||
INSERT INTO `users` (`id`, `username`, `password`, `salt`, `remember_code`, `forgotten_password_code`, `firstname`, `lastname`, `institution`, `phone`, `email`, `last_login`, `last_activity`, `group_id`) VALUES
|
INSERT INTO `users` (`id`, `username`, `password`, `salt`, `remember_code`, `forgotten_password_code`, `firstname`, `lastname`, `institution`, `phone`, `email`, `last_login`, `last_activity`, `group_id`) VALUES
|
||||||
('c092f1529716b4b5', 'demouser', 'e66297e0d522e00f261184c7b3d5bdb7472d155d', '97a7d092f69397607fb1cd974b2607d72b7e141f', '092cafd4413e0a15afa9ba02c973046fcab9bc1b', NULL, 'Demo', 'User', '', '', 'demo@localhost.de', 1317298881, 1317303227, '356a192b7913b04c');
|
('c092f1529716b4b5', 'demouser', 'e66297e0d522e00f261184c7b3d5bdb7472d155d', '97a7d092f69397607fb1cd974b2607d72b7e141f', '092cafd4413e0a15afa9ba02c973046fcab9bc1b', NULL, 'Demo', 'User', '', '', 'demo@localhost.de', 1317298881, 1317303227, '356a192b7913b04c');
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `users_settings` (
|
CREATE TABLE IF NOT EXISTS `users_settings` (
|
||||||
`user_id` varchar(40) NOT NULL,
|
`user_id` varchar(40) NOT NULL,
|
||||||
`projects_sort_recently` tinyint(1) NOT NULL DEFAULT '1',
|
`projects_sort_recently` tinyint(1) NOT NULL DEFAULT '1',
|
||||||
Reference in New Issue
Block a user