mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Clean up
This commit is contained in:
parent
1c89f62165
commit
4f17b104b5
|
@ -1,29 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Flarum\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateTestTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$this->schema->create('test', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
$this->schema->drop('test');
|
||||
}
|
||||
}
|
|
@ -30,8 +30,6 @@ class ApiServiceProvider extends ServiceProvider
|
|||
return new UrlGenerator($this->app->make('flarum.api.routes'));
|
||||
}
|
||||
);
|
||||
|
||||
$this->app->register('Flarum\Locale\LocaleServiceProvider');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,8 +26,6 @@ class ForumServiceProvider extends ServiceProvider
|
|||
return new UrlGenerator($this->app->make('flarum.forum.routes'));
|
||||
}
|
||||
);
|
||||
|
||||
$this->app->register('Flarum\Locale\LocaleServiceProvider');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user