Applies Changes
This commit is contained in:
committed by
Berkay Güre
parent
c39b9870ef
commit
253f0f1451
@@ -26,21 +26,13 @@ class AddCurrencyColumns extends Migration
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('currencies', function ($table) {
|
||||
$table->dropColumn('precision');
|
||||
});
|
||||
{
|
||||
Schema::table('currencies', function ($table) {
|
||||
$table->dropColumn('precision');
|
||||
$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');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -4,35 +4,35 @@ use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AddCategoryColumnInvoicesBills extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('invoices', function ($table) {
|
||||
$table->integer('category_id')->nullable();
|
||||
});
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('invoices', function ($table) {
|
||||
$table->integer('category_id');
|
||||
});
|
||||
|
||||
Schema::table('bills', function ($table) {
|
||||
$table->integer('category_id')->nullable();
|
||||
});
|
||||
}
|
||||
Schema::table('bills', function ($table) {
|
||||
$table->integer('category_id');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('invoices', function ($table) {
|
||||
$table->dropColumn('category_id');
|
||||
});
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('invoices', function ($table) {
|
||||
$table->dropColumn('category_id');
|
||||
});
|
||||
|
||||
Schema::table('bills', function ($table) {
|
||||
$table->dropColumn('category_id');
|
||||
});
|
||||
}
|
||||
Schema::table('bills', function ($table) {
|
||||
$table->dropColumn('category_id');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user