Start working on handling multiple countries at once
This commit is contained in:
@@ -76,6 +76,17 @@ class Migrate extends Command
|
||||
});
|
||||
}
|
||||
}
|
||||
public function createCountriesTable(): void
|
||||
{
|
||||
if (!Capsule::schema()->hasTable('countries')) {
|
||||
Capsule::schema()->create('countries', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->text('countryName');
|
||||
$table->text('productsUrl');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public function createStocksTable(): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user