changed the table for projects
This commit is contained in:
parent
4379a34e09
commit
fff40177f0
|
|
@ -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();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -24,3 +24,6 @@ v1.0.8:
|
||||||
v1.0.9:
|
v1.0.9:
|
||||||
- 'Created table tps_tps_cartoons'
|
- 'Created table tps_tps_cartoons'
|
||||||
- builder_table_create_tps_tps_cartoons.php
|
- builder_table_create_tps_tps_cartoons.php
|
||||||
|
v1.0.10:
|
||||||
|
- 'Updated table tps_tps_projects'
|
||||||
|
- builder_table_update_tps_tps_projects_2.php
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue