diff --git a/import/sql.php b/import/sql.php index 5019484..30aad47 100644 --- a/import/sql.php +++ b/import/sql.php @@ -1,4 +1,5 @@ \ No newline at end of file + +// Name +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_name` `name` varchar(255) NOT NULL; +"; +// RubID +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_rub` `rub_id` int(10) unsigned NOT NULL; +"; +// Parser +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_parser` `parser` varchar(255) NOT NULL; +"; +// Docs off +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_delete_docs` `docs_disable` enum('0','1') NOT NULL default '0'; +"; +// Docs create +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_docs_create` `docs_create` enum('0','1') NOT NULL default '0'; +"; +// File +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_default_file` `file` varchar(255) NOT NULL; +"; +// Monitor +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_monitor_file` `monitor` enum('0','1') NOT NULL default '0'; +"; +// Tags +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + ADD + `tags` text NOT NULL + AFTER + `monitor` +"; +// Fields +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_text` `fields` LONGTEXT NOT NULL AFTER `tags`; +"; +// Time Edit +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + CHANGE + `import_last_update` `time_edited` int(10) unsigned NOT NULL; +"; +// LastRun +$module_sql_update[] = " + ALTER TABLE + `CPPREFIX_module_import` + ADD + `time_run` int(10) unsigned NOT NULL + AFTER + `time_edited` +";