mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
osm data
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
/**
|
||||
* Run the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('cities', function (Blueprint $table) {
|
||||
$table->json('osm_relation')
|
||||
->nullable();
|
||||
$table->json('simplified_geojson')
|
||||
->nullable();
|
||||
$table->unsignedBigInteger('population')
|
||||
->nullable();
|
||||
$table->string('population_date')
|
||||
->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('cities', function (Blueprint $table) {
|
||||
//
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -125,6 +125,13 @@ class DatabaseSeeder extends Seeder
|
||||
'longitude' => 8.65639,
|
||||
'created_by' => 1,
|
||||
]);
|
||||
City::create([
|
||||
'country_id' => 1,
|
||||
'name' => 'Hessen',
|
||||
'latitude' => 50.526501,
|
||||
'longitude' => 9.004440,
|
||||
'created_by' => 1,
|
||||
]);
|
||||
Venue::create([
|
||||
'city_id' => 1,
|
||||
'name' => 'The Blue Studio Coworking (Füssen)',
|
||||
@@ -376,9 +383,9 @@ Deshalb werden Sie von mir in diesem Kurs leicht verständlich an das Thema hera
|
||||
Artisan::call(ReadAndSyncPodcastFeeds::class);
|
||||
Artisan::call(SyncOpenBooks::class);
|
||||
Meetup::create([
|
||||
'city_id' => 1,
|
||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
||||
'city_id' => 6,
|
||||
'name' => 'Einundzwanzig Hessen',
|
||||
'telegram_link' => 'https://t.me/EinundzwanzigHessen',
|
||||
'created_by' => 1,
|
||||
]);
|
||||
MeetupEvent::create([
|
||||
|
||||
Reference in New Issue
Block a user