Browse Source

Forgot the DB migration

pull/978/head
Timothée Jaussoin 5 years ago
parent
commit
b205d9a7b9
  1. 21
      database/migrations/20210120213740_add_firebaseauthorizationkey_to_configuration_table.php

21
database/migrations/20210120213740_add_firebaseauthorizationkey_to_configuration_table.php

@ -0,0 +1,21 @@
<?php
use Movim\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddFirebaseauthorizationkeyToConfigurationTable extends Migration
{
public function up()
{
$this->schema->table('configuration', function (Blueprint $table) {
$table->string('firebaseauthorizationkey')->nullable();
});
}
public function down()
{
$this->schema->table('configuration', function (Blueprint $table) {
$table->dropColumn('firebaseauthorizationkey');
});
}
}
Loading…
Cancel
Save