From 5c9fd90aa0b3b80e63a524bd776cb72bf2494450 Mon Sep 17 00:00:00 2001 From: Kerim Date: Tue, 18 Apr 2023 09:18:56 +0500 Subject: [PATCH] migrate --- ...r_table_create_tps_tps_test_categories.php | 23 --------------- ...er_table_create_tps_tps_test_questions.php | 23 --------------- ...er_table_update_tps_tps_test_questions.php | 29 ------------------- .../builder_table_update_tps_tps_tests.php | 17 ----------- 4 files changed, 92 deletions(-) delete mode 100644 plugins/tps/tps/updates/builder_table_create_tps_tps_test_categories.php delete mode 100644 plugins/tps/tps/updates/builder_table_create_tps_tps_test_questions.php delete mode 100644 plugins/tps/tps/updates/builder_table_update_tps_tps_test_questions.php delete mode 100644 plugins/tps/tps/updates/builder_table_update_tps_tps_tests.php diff --git a/plugins/tps/tps/updates/builder_table_create_tps_tps_test_categories.php b/plugins/tps/tps/updates/builder_table_create_tps_tps_test_categories.php deleted file mode 100644 index 0827e5b05..000000000 --- a/plugins/tps/tps/updates/builder_table_create_tps_tps_test_categories.php +++ /dev/null @@ -1,23 +0,0 @@ -engine = 'InnoDB'; - $table->increments('id')->unsigned(); - $table->string('title'); - $table->text('description'); - }); - } - - public function down() - { - Schema::dropIfExists('tps_tps_test_categories'); - } -} diff --git a/plugins/tps/tps/updates/builder_table_create_tps_tps_test_questions.php b/plugins/tps/tps/updates/builder_table_create_tps_tps_test_questions.php deleted file mode 100644 index 6bbe3a880..000000000 --- a/plugins/tps/tps/updates/builder_table_create_tps_tps_test_questions.php +++ /dev/null @@ -1,23 +0,0 @@ -engine = 'InnoDB'; - $table->increments('id')->unsigned(); - $table->string('title'); - $table->text('description')->nullable(); - }); - } - - public function down() - { - Schema::dropIfExists('tps_tps_test_questions'); - } -} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_test_questions.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_test_questions.php deleted file mode 100644 index 40b74d9ea..000000000 --- a/plugins/tps/tps/updates/builder_table_update_tps_tps_test_questions.php +++ /dev/null @@ -1,29 +0,0 @@ -integer('test_id'); - $table->string('question'); - $table->text('answers'); - $table->dropColumn('title'); - }); - } - - public function down() - { - Schema::table('tps_tps_test_questions', function($table) - { - $table->dropColumn('test_id'); - $table->dropColumn('question'); - $table->dropColumn('answers'); - $table->string('title', 191); - }); - } -} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_tests.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_tests.php deleted file mode 100644 index 56c290f0f..000000000 --- a/plugins/tps/tps/updates/builder_table_update_tps_tps_tests.php +++ /dev/null @@ -1,17 +0,0 @@ -