From fff40177f0cdee637ef245fec646401b6f10f74c Mon Sep 17 00:00:00 2001 From: mrNikto9 Date: Tue, 16 Jul 2024 10:06:06 +0500 Subject: [PATCH] changed the table for projects --- ...uilder_table_update_tps_tps_projects_2.php | 23 +++++++++++++++++++ plugins/tps/tps/updates/version.yaml | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 plugins/tps/tps/updates/builder_table_update_tps_tps_projects_2.php diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_projects_2.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_projects_2.php new file mode 100644 index 0000000..86d2c7b --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_projects_2.php @@ -0,0 +1,23 @@ +text('image')->nullable()->change(); + }); + } + + public function down() + { + Schema::table('tps_tps_projects', function($table) + { + $table->text('image')->nullable(false)->change(); + }); + } +} diff --git a/plugins/tps/tps/updates/version.yaml b/plugins/tps/tps/updates/version.yaml index 1d7bfb0..ef98915 100644 --- a/plugins/tps/tps/updates/version.yaml +++ b/plugins/tps/tps/updates/version.yaml @@ -24,3 +24,6 @@ v1.0.8: v1.0.9: - 'Created table tps_tps_cartoons' - builder_table_create_tps_tps_cartoons.php +v1.0.10: + - 'Updated table tps_tps_projects' + - builder_table_update_tps_tps_projects_2.php