prepaeres to some code for the tests
This commit is contained in:
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user