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 <yidhra@tuta.io>
This commit is contained in:
Mathis H (Avnyr) 2024-05-03 09:51:42 +02:00
parent c95ac03680
commit 33d6793758
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

6
db.sql
View File

@ -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,