@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function up() |
23 | 23 | { |
24 | - Schema::create(config('easy_panel_config.database.crud_table'), function (Blueprint $table) { |
|
24 | + Schema::create(config('easy_panel_config.database.crud_table'), function(Blueprint $table) { |
|
25 | 25 | $table->id(); |
26 | 26 | $table->string('name')->unique(); |
27 | 27 | $table->string('model')->unique(); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function up() |
22 | 22 | { |
23 | - Schema::create(config('easy_panel_config.database.panel_admin_table'), function (Blueprint $table) { |
|
23 | + Schema::create(config('easy_panel_config.database.panel_admin_table'), function(Blueprint $table) { |
|
24 | 24 | $table->id(); |
25 | 25 | $table->foreignId('user_id')->constrained(); |
26 | 26 | $table->boolean('is_superuser'); |
@@ -10,10 +10,10 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * Create a new Eloquent model instance. |
|
14 | - * |
|
15 | - * @param array $attributes |
|
16 | - */ |
|
13 | + * Create a new Eloquent model instance. |
|
14 | + * |
|
15 | + * @param array $attributes |
|
16 | + */ |
|
17 | 17 | public function __construct(array $attributes = []) |
18 | 18 | { |
19 | 19 | $connection = config('easy_panel_config.database.connection') ?: config('database.default'); |