Skip to content

Commit

Permalink
Promise and schedule promise
Browse files Browse the repository at this point in the history
  • Loading branch information
gmorales254 committed Apr 27, 2022
1 parent 59de991 commit 3775bda
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DB/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ CREATE TABLE IF NOT EXISTS ccrepo.CRMLite_customersV2 (
`agent` varchar(100) NOT NULL DEFAULT '' COMMENT 'name of the agent who creates this registy',
`created` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'create datetime',
`updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'last update',
`promise` MEDIUMTEXT NULL DEFAULT NULL COMMENT 'LOAN FIELD' COLLATE 'utf8_general_ci',
`schedule_promise` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'LOAN FIELD',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `phone` (`phone`),
KEY `indx_id` (`id`) USING BTREE,
Expand Down
2 changes: 2 additions & 0 deletions DB/v2.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ INSERT INTO CRMLite_customersV2_history (`id`, `name`, `phone`, `email`, `inform
VALUES (NEW.id, NEW.name, NEW.phone, NEW.email, NEW.information, NEW.files, NEW.active, NEW.agent, 'UPDATED', NEW.promise, NEW.schedule_promise)//
DELIMITER ;

ALTER TABLE ccrepo.CRMLite_customersV2 ADD COLUMN `promise` MEDIUMTEXT NULL AFTER `updated`;
ALTER TABLE ccrepo.CRMLite_customersV2 ADD COLUMN `schedule_promise` TIMESTAMP NULL DEFAULT NULL AFTER `promise`;
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ wget -L https://raw.githubusercontent.com/gmorales254/CRMLite-Manager/main/insta
chmod +x ./installCRMLite.sh
sh ./installCRMLite.sh
```

## Spanish videos>
[Como actualizar mi CRMLite](https://www.loom.com/share/60726b9fbc5145299eef16cf8aaa7d61)

0 comments on commit 3775bda

Please sign in to comment.