mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-18 14:48:42 -05:00
Company name can be DEFAULT NULL in database
This commit is contained in:
@@ -41,4 +41,4 @@ ALTER TABLE `ospos_sales`
|
||||
ADD INDEX `sale_time` (`sale_time`);
|
||||
|
||||
ALTER TABLE `ospos_customers`
|
||||
`company_name` varchar(255) NOT NULL;
|
||||
`company_name` varchar(255) DEFAULT NULL;
|
||||
|
||||
@@ -77,7 +77,7 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
|
||||
CREATE TABLE `ospos_customers` (
|
||||
`person_id` int(10) NOT NULL,
|
||||
`company_name` varchar(255) NOT NULL,
|
||||
`company_name` varchar(255) DEFAULT NULL,
|
||||
`account_number` varchar(255) DEFAULT NULL,
|
||||
`taxable` int(1) NOT NULL DEFAULT '1',
|
||||
`deleted` int(1) NOT NULL DEFAULT '0',
|
||||
|
||||
Reference in New Issue
Block a user