From 33d67937588c43c54b75b28647c2d9500301e677 Mon Sep 17 00:00:00 2001 From: Mathis Date: Fri, 3 May 2024 09:51:42 +0200 Subject: [PATCH] refactor(others): rename database table `rent` to `rents` The database table `rent` has been renamed to `rents` to better align with naming conventions. The related DROP TABLE and CREATE TABLE commands have been updated accordingly in `db.sql`. Signed-off-by: Mathis --- db.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db.sql b/db.sql index c9941b9..5abbcd2 100644 --- a/db.sql +++ b/db.sql @@ -74,13 +74,13 @@ CREATE TABLE `models` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `rent` +-- Table structure for table `rents` -- -DROP TABLE IF EXISTS `rent`; +DROP TABLE IF EXISTS 'rents'; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `rent` ( +CREATE TABLE `rents` ( `vehicle_id` varchar(36) NOT NULL, `user_id` varchar(36) NOT NULL, `active` tinyint(1) NOT NULL,