Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function up() |
||
11 | { |
||
12 | $config = Helper::getConfig(); |
||
13 | |||
14 | Schema::connection($config['database_connection'])->create($config['table_name'], function (Blueprint $table) { |
||
15 | $table->bigIncrements('id'); |
||
16 | $table->string('client', 50)->index(); |
||
17 | $table->string('method', 6); |
||
18 | $table->string('endpoint', 2083)->index(); |
||
19 | $table->longText('params'); |
||
20 | $table->char('response_code', 3); |
||
21 | $table->longText('response'); |
||
22 | $table->timestamps(); |
||
23 | $table->index('created_at'); |
||
24 | }); |
||
34 |