prepaeres to some code for the tests

This commit is contained in:
Berkay Güre
2018-07-14 13:22:33 +03:00
parent 1745f0a41e
commit 12bdb951f9
23 changed files with 1559 additions and 163 deletions

View File

@ -29,10 +29,18 @@ class AddCurrencyColumns extends Migration
{
Schema::table('currencies', function ($table) {
$table->dropColumn('precision');
$table->dropColumn('symbol');
$table->dropColumn('symbol_first');
$table->dropColumn('decimal_mark');
$table->dropColumn('thousands_separator');
});
Schema::table('currencies', function ($table) {
$table->dropColumn('symbol');
});
Schema::table('currencies', function ($table) {
$table->dropColumn('symbol_first');
});
Schema::table('currencies', function ($table) {
$table->dropColumn('decimal_mark');
});
Schema::table('currencies', function ($table) {
$table->dropColumn('thousands_separator');
});
}
}

View File

@ -12,11 +12,11 @@ class AddCategoryColumnInvoicesBills extends Migration
public function up()
{
Schema::table('invoices', function ($table) {
$table->integer('category_id');
$table->integer('category_id')->nullable();
});
Schema::table('bills', function ($table) {
$table->integer('category_id');
$table->integer('category_id')->nullable();
});
}