From 6af82e33b01ab91be1f0f3e9f54cffc1ec4c760e Mon Sep 17 00:00:00 2001 From: Repellent Date: Sun, 7 Aug 2016 21:49:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- import/sql.php | 102 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) 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` +";