mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed “down” migration
This commit is contained in:
parent
eebb463601
commit
569905ad06
|
@ -28,8 +28,9 @@ class PassportUpgrade extends Migration
|
|||
public function down()
|
||||
{
|
||||
if (Schema::hasTable('oauth_clients')) {
|
||||
Schema::table('oauth_clients', function (Blueprint $table) {
|
||||
$table->string('secret', 100)->change();
|
||||
Schema::table('oauth_clients', function(Blueprint $table)
|
||||
{
|
||||
$table->dropColumn('secret');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue