mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Initial work on client contracts, Added Contracts Table
This commit is contained in:
25
db.sql
25
db.sql
@@ -241,6 +241,29 @@ CREATE TABLE `contacts` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `contracts`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `contracts`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `contracts` (
|
||||
`contract_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`contract_title` varchar(200) NOT NULL,
|
||||
`contract_description` longtext DEFAULT NULL,
|
||||
`contract_start_date` date DEFAULT NULL,
|
||||
`contract_end_date` date NOT NULL,
|
||||
`contract_created_at` datetime NOT NULL,
|
||||
`contract_updated_at` datetime DEFAULT NULL,
|
||||
`contract_archived_at` datetime DEFAULT NULL,
|
||||
`vendor_id` int(11) NOT NULL,
|
||||
`client_id` int(11) NOT NULL,
|
||||
`company_id` int(11) NOT NULL,
|
||||
PRIMARY KEY (`contract_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `documents`
|
||||
--
|
||||
@@ -982,4 +1005,4 @@ CREATE TABLE `vendors` (
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2021-04-07 16:59:12
|
||||
-- Dump completed on 2021-04-30 17:52:53
|
||||
|
||||
Reference in New Issue
Block a user