1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00
tenancy/tests/Etc/2019_08_08_000001_add_custom_column.php
Samuel Štancl f4421af6c5
Fix custom columns, add tests (#122)
* Fix custom columns & add test

* Apply fixes from StyleCI
2019-09-04 16:53:01 +02:00

26 lines
474 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCustomColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('tenants', function (Blueprint $table) {
$table->string('foo')->nullable();
});
}
public function down()
{
}
}