Remove Illuminate references
This commit is contained in:
parent
4d113dd041
commit
ff52ad6595
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendUsers extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('backend_users', function (Blueprint $table) {
|
||||
Schema::create('backend_users', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('first_name')->nullable();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendUserGroups extends Migration
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendUsersGroups extends Migration
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendUserThrottle extends Migration
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendUserPreferences extends Migration
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendAccessLog extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('backend_access_log', function (Blueprint $table) {
|
||||
Schema::create('backend_access_log', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->integer('user_id')->unsigned();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbBackendAddDescriptionField extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('backend_user_groups', function (Blueprint $table) {
|
||||
Schema::table('backend_user_groups', function ($table) {
|
||||
$table->string('code')->nullable()->index('code_index');
|
||||
$table->text('description')->nullable();
|
||||
$table->boolean('is_new_user_default')->default(false);
|
||||
|
|
@ -16,7 +15,7 @@ class DbBackendAddDescriptionField extends Migration
|
|||
|
||||
public function down()
|
||||
{
|
||||
// Schema::table('backend_user_groups', function (Blueprint $table) {
|
||||
// Schema::table('backend_user_groups', function ($table) {
|
||||
// $table->dropColumn('code');
|
||||
// $table->dropColumn('description');
|
||||
// $table->dropColumn('is_new_user_default');
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
use Backend\Models\User as AdminModel;
|
||||
|
||||
class DbBackendAddSuperuserFlag extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('backend_users', function (Blueprint $table) {
|
||||
Schema::table('backend_users', function ($table) {
|
||||
$table->boolean('is_superuser')->default(false);
|
||||
});
|
||||
|
||||
|
|
@ -22,7 +21,7 @@ class DbBackendAddSuperuserFlag extends Migration
|
|||
|
||||
public function down()
|
||||
{
|
||||
// Schema::table('backend_users', function (Blueprint $table) {
|
||||
// Schema::table('backend_users', function ($table) {
|
||||
// $table->dropColumn('is_superuser');
|
||||
// });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbCmsThemeData extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('cms_theme_data', function (Blueprint $table) {
|
||||
Schema::create('cms_theme_data', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('theme')->nullable()->index();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbDeferredBindings extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('deferred_bindings', function (Blueprint $table) {
|
||||
Schema::create('deferred_bindings', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('master_type')->index();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemFiles extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_files', function (Blueprint $table) {
|
||||
Schema::create('system_files', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('disk_name');
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemPluginVersions extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_plugin_versions', function (Blueprint $table) {
|
||||
Schema::create('system_plugin_versions', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('code')->index();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemPluginHistory extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_plugin_history', function (Blueprint $table) {
|
||||
Schema::create('system_plugin_history', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('code')->index();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemSettings extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_settings', function (Blueprint $table) {
|
||||
Schema::create('system_settings', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('item')->nullable()->index();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemParameters extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_parameters', function (Blueprint $table) {
|
||||
Schema::create('system_parameters', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('namespace', 100);
|
||||
|
|
|
|||
|
|
@ -1,20 +1,19 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemAddDisabledFlag extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('system_plugin_versions', function (Blueprint $table) {
|
||||
Schema::table('system_plugin_versions', function ($table) {
|
||||
$table->boolean('is_disabled')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('system_plugin_versions', function (Blueprint $table) {
|
||||
Schema::table('system_plugin_versions', function ($table) {
|
||||
$table->dropColumn('is_disabled');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemMailTemplates extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_mail_templates', function (Blueprint $table) {
|
||||
Schema::create('system_mail_templates', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('code')->nullable();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemMailLayouts extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_mail_layouts', function (Blueprint $table) {
|
||||
Schema::create('system_mail_layouts', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('name')->nullable();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbJobs extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('jobs', function (Blueprint $table) {
|
||||
Schema::create('jobs', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->bigIncrements('id');
|
||||
$table->string('queue');
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemEventLogs extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_event_logs', function (Blueprint $table) {
|
||||
Schema::create('system_event_logs', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('level')->nullable()->index();
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemRequestLogs extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_request_logs', function (Blueprint $table) {
|
||||
Schema::create('system_request_logs', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->integer('status_code')->nullable();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemSessions extends Migration
|
||||
{
|
||||
|
|
@ -13,7 +12,7 @@ class DbSystemSessions extends Migration
|
|||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('sessions', function (Blueprint $table) {
|
||||
Schema::create('sessions', function ($table) {
|
||||
$table->string('id')->unique();
|
||||
$table->text('payload')->nullable();
|
||||
$table->integer('last_activity')->nullable();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
use System\Models\MailLayout;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemMailLayoutRename extends Migration
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,20 +1,19 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemAddFrozenFlag extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('system_plugin_versions', function (Blueprint $table) {
|
||||
Schema::table('system_plugin_versions', function ($table) {
|
||||
$table->boolean('is_frozen')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('system_plugin_versions', function (Blueprint $table) {
|
||||
Schema::table('system_plugin_versions', function ($table) {
|
||||
$table->dropColumn('is_frozen');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbCache extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('cache', function (Blueprint $table) {
|
||||
Schema::create('cache', function ($table) {
|
||||
$table->string('key')->unique();
|
||||
$table->text('value');
|
||||
$table->integer('expiration');
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbSystemRevisions extends Migration
|
||||
{
|
||||
|
||||
public function up()
|
||||
{
|
||||
Schema::create('system_revisions', function (Blueprint $table) {
|
||||
Schema::create('system_revisions', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->integer('user_id')->unsigned()->nullable()->index();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class DbFailedJobs extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('failed_jobs', function (Blueprint $table) {
|
||||
Schema::create('failed_jobs', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->text('connection');
|
||||
|
|
|
|||
Loading…
Reference in New Issue