changed the table for projects

This commit is contained in:
mrNikto9 2024-07-16 10:06:06 +05:00
parent 4379a34e09
commit fff40177f0
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?php namespace Tps\Tps\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateTpsTpsProjects2 extends Migration
{
public function up()
{
Schema::table('tps_tps_projects', function($table)
{
$table->text('image')->nullable()->change();
});
}
public function down()
{
Schema::table('tps_tps_projects', function($table)
{
$table->text('image')->nullable(false)->change();
});
}
}

View File

@ -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