1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 07:14:04 +00:00
This commit is contained in:
Abrar Ahmad 2022-09-29 16:11:08 +05:00
parent e1229ef446
commit 8aea33c0f2
4 changed files with 228 additions and 2 deletions

View file

@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TestCreateResourceUsersWithNoExtraFieldsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('resource_users', function (Blueprint $table) {
$table->increments('id');
$table->string('global_id')->unique();
$table->string('name');
$table->string('email');
$table->string('password');
});
}
public function down()
{
Schema::dropIfExists('resource_users');
}
}