mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 14:53:10 +08:00
Clean up
This commit is contained in:
parent
e8b23e9ec0
commit
17dbeefabe
|
@ -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