diff --git a/loaf_billing.sql b/loaf_billing.sql index e28e689..c45a5f6 100644 --- a/loaf_billing.sql +++ b/loaf_billing.sql @@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS `loaf_invoices` ( `id` VARCHAR(15), -- unique bill id - `issued` DATE DEFAULT CURRENT_DATE, -- the date the bill was issued + `issued` DATE DEFAULT (CURRENT_DATE), -- the date the bill was issued `biller` VARCHAR(150) NOT NULL, -- the identifier who issued the bill `biller_name` VARCHAR(150) NOT NULL, -- the name of the person who issued the bill @@ -25,4 +25,4 @@ CREATE TABLE IF NOT EXISTS `loaf_invoices` ( `signature` LONGTEXT, -- image data (url/base64) for the signature PRIMARY KEY (`id`) -); \ No newline at end of file +);