@@ 15-21 (lines=7) @@ | ||
12 | */ |
|
13 | public function boot() |
|
14 | { |
|
15 | if (!class_exists('CreateSpecificationsAttributesTable')) { |
|
16 | $timestamp = date('Y_m_d_His', time()); |
|
17 | ||
18 | $this->publishes([ |
|
19 | __DIR__ . '/../database/migrations/create_specifications_attributes_table.php.stub' => database_path('migrations/' . $timestamp . '_create_specifications_attributes_table.php'), |
|
20 | ], 'migrations'); |
|
21 | } |
|
22 | ||
23 | if (!class_exists('CreateSpecificationsScoresTable')) { |
|
24 | $timestamp = date('Y_m_d_His', time() + 1); |
|
@@ 23-29 (lines=7) @@ | ||
20 | ], 'migrations'); |
|
21 | } |
|
22 | ||
23 | if (!class_exists('CreateSpecificationsScoresTable')) { |
|
24 | $timestamp = date('Y_m_d_His', time() + 1); |
|
25 | ||
26 | $this->publishes([ |
|
27 | __DIR__ . '/../database/migrations/create_specifications_scores_table.php.stub' => database_path('migrations/' . $timestamp . '_create_specifications_scores_table.php'), |
|
28 | ], 'migrations'); |
|
29 | } |
|
30 | } |
|
31 | ||
32 | /** |