-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1452cad
commit 2d6a92a
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php namespace Tschallacka\FormTools\Updates; | ||
|
||
use Schema; | ||
use October\Rain\Database\Schema\Blueprint; | ||
use October\Rain\Database\Updates\Migration; | ||
use Tschallacka\FormTools\Traits\ConsoleLoggerTrait; | ||
|
||
class CreateFormToolsDemosTable extends Migration | ||
{ | ||
use ConsoleLoggerTrait; | ||
|
||
public function up() | ||
{ | ||
Schema::table('tschallacka_formtools_form_tools_demos', function(Blueprint $table) { | ||
$table->string('color', 255)->change(); | ||
}); | ||
} | ||
|
||
public function down() | ||
{ | ||
Schema::table('tschallacka_formtools_form_tools_demos', function(Blueprint $table) { | ||
$table->string('color', 15)->change(); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters