Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create(config('mailman.storage.database.table'), function (Blueprint $table) { |
||
16 | $table->increments('id')->unsigned(); |
||
17 | |||
18 | $table->string('message_id', 512); |
||
19 | $table->string('content_type', 64); |
||
20 | |||
21 | $table->enum('status', ['allowed', 'denied']); |
||
22 | |||
23 | $table->mediumText('from', 512); |
||
24 | $table->mediumText('to', 512); |
||
25 | $table->mediumText('reply_to', 512)->nullable(); |
||
26 | |||
27 | $table->mediumText('cc')->nullable(); |
||
28 | $table->mediumText('bcc')->nullable(); |
||
29 | |||
30 | $table->string('subject'); |
||
31 | $table->mediumText('body'); |
||
32 | |||
33 | $table->mediumText('instance'); |
||
34 | |||
35 | $table->timestamps(); |
||
36 | }); |
||
37 | } |
||
38 | |||
49 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.