Fix db:seed config, add quickbooks sdk
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CurrencyChangeThreecode extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('ab_currency', function (Blueprint $table) {
|
||||
$table->renameColumn('three_digit','iso_code');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('ab_currency', function (Blueprint $table) {
|
||||
$table->renameColumn('iso_code','three_digit');
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user