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:
parent
c95ac03680
commit
33d6793758
6
db.sql
6
db.sql
@ -74,13 +74,13 @@ CREATE TABLE `models` (
|
|||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!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 @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `rent` (
|
CREATE TABLE `rents` (
|
||||||
`vehicle_id` varchar(36) NOT NULL,
|
`vehicle_id` varchar(36) NOT NULL,
|
||||||
`user_id` varchar(36) NOT NULL,
|
`user_id` varchar(36) NOT NULL,
|
||||||
`active` tinyint(1) NOT NULL,
|
`active` tinyint(1) NOT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user