mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Code cleanup.
This commit is contained in:
@@ -60,7 +60,6 @@ class CreateMainTables extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
//
|
||||
$this->createAccountTables();
|
||||
$this->createPiggyBanksTable();
|
||||
$this->createAttachmentsTable();
|
||||
@@ -433,7 +432,6 @@ class CreateMainTables extends Migration
|
||||
$table->boolean('active')->default(1);
|
||||
$table->boolean('stop_processing')->default(0);
|
||||
|
||||
|
||||
// link rule id to rules table
|
||||
$table->foreign('rule_id')->references('id')->on('rules')->onDelete('cascade');
|
||||
}
|
||||
@@ -454,7 +452,6 @@ class CreateMainTables extends Migration
|
||||
$table->boolean('active')->default(1);
|
||||
$table->boolean('stop_processing')->default(0);
|
||||
|
||||
|
||||
// link rule id to rules table
|
||||
$table->foreign('rule_id')->references('id')->on('rules')->onDelete('cascade');
|
||||
}
|
||||
@@ -583,7 +580,6 @@ class CreateMainTables extends Migration
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
if (!Schema::hasTable('piggy_bank_events')) {
|
||||
Schema::create(
|
||||
'piggy_bank_events',
|
||||
|
||||
Reference in New Issue
Block a user