1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 01:46:35 +02:00

Update for composer branch

This commit is contained in:
Toby Zerner
2015-10-11 18:01:29 +10:30
parent 7fe52f2494
commit cdcf68cf5a
23 changed files with 535 additions and 253 deletions

View File

@@ -8,18 +8,13 @@
* file that was distributed with this source code.
*/
namespace Flarum\Migrations\Suspend;
namespace Flarum\Suspend\Migration;
use Flarum\Database\AbstractMigration;
use Illuminate\Database\Schema\Blueprint;
use Flarum\Migrations\Migration;
class AddSuspendedUntilToUsersTable extends Migration
class AddSuspendedUntilToUsersTable extends AbstractMigration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$this->schema->table('users', function (Blueprint $table) {
@@ -27,11 +22,6 @@ class AddSuspendedUntilToUsersTable extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
$this->schema->table('users', function (Blueprint $table) {

View File

@@ -8,18 +8,13 @@
* file that was distributed with this source code.
*/
namespace Flarum\Migrations\Suspend;
namespace Flarum\Suspend\Migration;
use Flarum\Database\AbstractMigration;
use Illuminate\Database\Schema\Blueprint;
use Flarum\Migrations\Migration;
class RenameSuspendedUntilColumn extends Migration
class RenameSuspendedUntilColumn extends AbstractMigration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$this->schema->table('users', function (Blueprint $table) {
@@ -27,11 +22,6 @@ class RenameSuspendedUntilColumn extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
$this->schema->table('users', function (Blueprint $table) {