|
@@ 78-82 (lines=5) @@
|
| 75 |
|
protected function publishMigrations() |
| 76 |
|
{ |
| 77 |
|
if ($this->app->runningInConsole()) { |
| 78 |
|
if (! class_exists(CreateRelaysTable::class)) { |
| 79 |
|
$this->publishes([ |
| 80 |
|
self::PACKAGE_RELAYS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_relays_table.php'), |
| 81 |
|
], 'missive-migrations'); |
| 82 |
|
} |
| 83 |
|
if (! class_exists(CreateSMSsTable::class)) { |
| 84 |
|
$this->publishes([ |
| 85 |
|
self::PACKAGE_SMSS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_s_m_s_s_table.php'), |
|
@@ 83-87 (lines=5) @@
|
| 80 |
|
self::PACKAGE_RELAYS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_relays_table.php'), |
| 81 |
|
], 'missive-migrations'); |
| 82 |
|
} |
| 83 |
|
if (! class_exists(CreateSMSsTable::class)) { |
| 84 |
|
$this->publishes([ |
| 85 |
|
self::PACKAGE_SMSS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_s_m_s_s_table.php'), |
| 86 |
|
], 'missive-migrations'); |
| 87 |
|
} |
| 88 |
|
if (! class_exists(CreateContactsTable::class)) { |
| 89 |
|
$this->publishes([ |
| 90 |
|
self::PACKAGE_CONTACTS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_contacts_table.php'), |
|
@@ 88-92 (lines=5) @@
|
| 85 |
|
self::PACKAGE_SMSS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_s_m_s_s_table.php'), |
| 86 |
|
], 'missive-migrations'); |
| 87 |
|
} |
| 88 |
|
if (! class_exists(CreateContactsTable::class)) { |
| 89 |
|
$this->publishes([ |
| 90 |
|
self::PACKAGE_CONTACTS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_contacts_table.php'), |
| 91 |
|
], 'missive-migrations'); |
| 92 |
|
} |
| 93 |
|
if (! class_exists(CreateAirtimesTable::class)) { |
| 94 |
|
$this->publishes([ |
| 95 |
|
self::PACKAGE_AIRTIMES_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()+60).'_create_airtimes_table.php'), |
|
@@ 93-97 (lines=5) @@
|
| 90 |
|
self::PACKAGE_CONTACTS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()).'_create_contacts_table.php'), |
| 91 |
|
], 'missive-migrations'); |
| 92 |
|
} |
| 93 |
|
if (! class_exists(CreateAirtimesTable::class)) { |
| 94 |
|
$this->publishes([ |
| 95 |
|
self::PACKAGE_AIRTIMES_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()+60).'_create_airtimes_table.php'), |
| 96 |
|
], 'missive-migrations'); |
| 97 |
|
} |
| 98 |
|
if (! class_exists(CreateTopupsTable::class)) { |
| 99 |
|
$this->publishes([ |
| 100 |
|
self::PACKAGE_TOPUPS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()+60).'_create_topups_table.php'), |
|
@@ 98-102 (lines=5) @@
|
| 95 |
|
self::PACKAGE_AIRTIMES_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()+60).'_create_airtimes_table.php'), |
| 96 |
|
], 'missive-migrations'); |
| 97 |
|
} |
| 98 |
|
if (! class_exists(CreateTopupsTable::class)) { |
| 99 |
|
$this->publishes([ |
| 100 |
|
self::PACKAGE_TOPUPS_TABLE_MIGRATION_STUB => database_path('migrations/'.date('Y_m_d_His', time()+60).'_create_topups_table.php'), |
| 101 |
|
], 'missive-migrations'); |
| 102 |
|
} |
| 103 |
|
} |
| 104 |
|
} |
| 105 |
|
|