mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
All of this should contain one working test.
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class ExpandRemindersTable extends Migration
|
||||
{
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table(
|
||||
'reminders', function (Blueprint $table) {
|
||||
$table->string('title');
|
||||
$table->text('data');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
}
|
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class ExtendPiggybankEvents extends Migration
|
||||
{
|
||||
|
@@ -26,10 +26,8 @@ class EventTableAdditions1 extends Migration
|
||||
// remove some fields:
|
||||
Schema::table(
|
||||
'reminders', function (Blueprint $table) {
|
||||
$table->dropColumn('title');
|
||||
$table->dropColumn('data');
|
||||
$table->integer('remembersable_id')->unsigned()->nullable();
|
||||
$table->string('remembersable_type');
|
||||
$table->string('remembersable_type')->nullable();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user