Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 15 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
26 | 1 | public function boot() |
|
27 | { |
||
28 | 1 | $time = time(); |
|
29 | |||
30 | // publish migrations |
||
31 | 1 | $this->publishes([ |
|
32 | 1 | __DIR__ . '/../resources/migrations/create_subscriptions_table_for_cashier_fastspring.php' => sprintf( |
|
33 | 1 | database_path('migrations') . '/%s_create_subscriptions_table_for_cashier_fastspring.php', |
|
34 | 1 | date('Y_m_d_His', $time) |
|
35 | ), |
||
36 | 1 | __DIR__ . '/../resources/migrations/upgrade_user_table_for_cashier_fastspring.php' => sprintf( |
|
37 | 1 | database_path('migrations') . '/%s_upgrade_user_table_for_cashier_fastspring.php', |
|
38 | 1 | date('Y_m_d_His', ++$time) |
|
39 | ), |
||
40 | 1 | __DIR__ . '/../resources/migrations/create_invoices_table_for_cashier_fastspring.php' => sprintf( |
|
41 | 1 | database_path('migrations') . '/%s_create_invoices_table_for_cashier_fastspring.php', |
|
42 | 1 | date('Y_m_d_His', ++$time) |
|
43 | ), |
||
44 | 1 | __DIR__ . '/../resources/migrations/create_subscription_periods_table_for_cashier_fastspring.php' => sprintf( |
|
45 | 1 | database_path('migrations') . '/%s_create_subscription_periods_table_for_cashier_fastspring.php', |
|
46 | 1 | date('Y_m_d_His', ++$time) |
|
47 | ), |
||
61 |