@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function up(): void |
12 | 12 | { |
13 | - Schema::create('company_profiles', function (Blueprint $table) { |
|
13 | + Schema::create('company_profiles', function(Blueprint $table) { |
|
14 | 14 | $table->id(); |
15 | 15 | $table->foreignUuid('company_id')->comment("企业ID"); |
16 | 16 | $table->string("id_number")->comment("企业注册号/身份证号码"); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function up(): void |
12 | 12 | { |
13 | - Schema::create('company_logs', function (Blueprint $table) { |
|
13 | + Schema::create('company_logs', function(Blueprint $table) { |
|
14 | 14 | $table->id()->comment("主键"); |
15 | 15 | $table->foreignUuid("company_id")->nullable()->comment("公司ID"); |
16 | 16 | $table->foreignUuid("company_account_id")->nullable()->comment("账号ID"); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function up(): void |
12 | 12 | { |
13 | - Schema::create('company_accounts', function (Blueprint $table) { |
|
13 | + Schema::create('company_accounts', function(Blueprint $table) { |
|
14 | 14 | $table->uuid('id')->primary()->comment("主键"); |
15 | 15 | $table->foreignUuid('company_id')->nullable()->comment("公司ID"); |
16 | 16 | $table->string("account")->unique()->comment("登录账号"); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | public function up(): void |
12 | 12 | { |
13 | - Schema::create('company_safes', function (Blueprint $table) { |
|
13 | + Schema::create('company_safes', function(Blueprint $table) { |
|
14 | 14 | $table->id('id')->comment("主键"); |
15 | 15 | $table->foreignUuid('company_account_id')->nullable()->comment("账号ID"); |
16 | 16 | $table->enum('type', ['mobile', 'email'])->default('mobile')->comment("密保类型"); |