meetup landing page

This commit is contained in:
Benjamin Takats
2023-01-16 16:00:49 +01:00
parent 5a0428fe61
commit 6dd898e6d2
11 changed files with 283 additions and 41 deletions

View File

@@ -0,0 +1,33 @@
<?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('meetups', function (Blueprint $table) {
$table->renameColumn('link', 'telegram_link');
$table->string('webpage')
->nullable();
$table->string('twitter_username')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('meetups', function (Blueprint $table) {
//
});
}
};

View File

@@ -0,0 +1,29 @@
<?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('meetups', function (Blueprint $table) {
$table->string('telegram_link')
->nullable()
->change();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
//
}
};