IO-1914 Add manual inventory and edit.

This commit is contained in:
Patrick Fic
2022-06-08 17:45:58 -07:00
parent 82db7a1f14
commit 4844c42425
24 changed files with 738 additions and 36 deletions

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "manualinvoicenumber" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "manualinvoicenumber" text
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "comment" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "comment" text
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "manualvendor" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "manualvendor" text
null;

View File

@@ -0,0 +1 @@
ALTER TABLE "public"."inventory" ALTER COLUMN "quantity" drop default;

View File

@@ -0,0 +1 @@
alter table "public"."inventory" alter column "quantity" set default '1';