mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
remove qty from inoice & estimate migration change
This commit is contained in:
@ -66,11 +66,9 @@ class Version201 extends Listener
|
|||||||
private function changeMigrations()
|
private function changeMigrations()
|
||||||
{
|
{
|
||||||
\Schema::table('invoices', function (Blueprint $table) {
|
\Schema::table('invoices', function (Blueprint $table) {
|
||||||
$table->decimal('quantity', 15, 2)->change();
|
|
||||||
$table->decimal('discount', 15, 2)->nullable()->change();
|
$table->decimal('discount', 15, 2)->nullable()->change();
|
||||||
});
|
});
|
||||||
\Schema::table('estimates', function (Blueprint $table) {
|
\Schema::table('estimates', function (Blueprint $table) {
|
||||||
$table->decimal('quantity', 15, 2)->change();
|
|
||||||
$table->decimal('discount', 15, 2)->nullable()->change();
|
$table->decimal('discount', 15, 2)->nullable()->change();
|
||||||
});
|
});
|
||||||
\Schema::table('invoice_items', function (Blueprint $table) {
|
\Schema::table('invoice_items', function (Blueprint $table) {
|
||||||
|
|||||||
Reference in New Issue
Block a user