mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
First attempt at new month report.
This commit is contained in:
@@ -13,7 +13,7 @@ class ChangesForV322 extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ class ChangesForV322 extends Migration
|
||||
// rename tables:
|
||||
Schema::rename('piggybank_repetitions', 'piggy_bank_repetitions');
|
||||
Schema::rename('piggybanks', 'piggy_banks');
|
||||
|
||||
// rename fields
|
||||
Schema::table(
|
||||
'piggy_bank_events', function (Blueprint $table) {
|
||||
$table->renameColumn('piggybank_id', 'piggy_bank_id');
|
||||
@@ -38,6 +40,13 @@ class ChangesForV322 extends Migration
|
||||
$table->renameColumn('piggybank_id', 'piggy_bank_id');
|
||||
}
|
||||
);
|
||||
|
||||
// add soft delete to piggy banks
|
||||
Schema::table(
|
||||
'piggy_banks', function (Blueprint $table) {
|
||||
$table->softDeletes();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user