place id column first

This commit is contained in:
Kakajan SH 2020-06-20 18:58:12 +05:00 committed by GitHub
parent 3554f7d34b
commit cb4e79f1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ That said, automatic tenancy will still work the same way.
});
Schema::table('domains', function (Blueprint $table) {
$table->increments('id')->before('domain');
$table->increments('id')->first();
$table->unique('domain');
$table->timestamps();
});