Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7fead5486b | |||
5cc214a29b |
6
db.sql
6
db.sql
@ -77,7 +77,7 @@ CREATE TABLE `models` (
|
|||||||
-- Table structure for table `rents`
|
-- Table structure for table `rents`
|
||||||
--
|
--
|
||||||
|
|
||||||
DROP TABLE IF EXISTS 'rents';
|
DROP TABLE IF EXISTS `rents`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `rents` (
|
CREATE TABLE `rents` (
|
||||||
@ -88,7 +88,7 @@ CREATE TABLE `rents` (
|
|||||||
`eat` date NOT NULL,
|
`eat` date NOT NULL,
|
||||||
`need_survey` tinyint(1) DEFAULT NULL,
|
`need_survey` tinyint(1) DEFAULT NULL,
|
||||||
`km_at_start` int(11) DEFAULT NULL,
|
`km_at_start` int(11) DEFAULT NULL,
|
||||||
`id` tinyint(1) NOT NULL,
|
`id` varchar(36) NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `rent_vehicles_id_fk` (`vehicle_id`),
|
KEY `rent_vehicles_id_fk` (`vehicle_id`),
|
||||||
KEY `rent_users_id_fk` (`user_id`),
|
KEY `rent_users_id_fk` (`user_id`),
|
||||||
@ -152,4 +152,4 @@ CREATE TABLE `vehicles` (
|
|||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2024-04-29 14:54:00
|
-- Dump completed on 2024-05-03 14:56:07
|
||||||
|
BIN
schema-db.png
BIN
schema-db.png
Binary file not shown.
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 198 KiB |
Loading…
x
Reference in New Issue
Block a user