-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDB-Scripts.sql
More file actions
11 lines (11 loc) · 837 Bytes
/
DB-Scripts.sql
File metadata and controls
11 lines (11 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
------------------------OTP TABLE----------------------
create table if not exists user_otps ( id bigint unsigned auto_increment primary key, user_id bigint unsigned not null, otp varchar(255) not null, created_at timestamp null, updated_at timestamp null );
--------------------DB-SCRIPTS(OTP_LOGIN)---------------------------
ALTER TABLE ride_requests CHANGE minimum_fare night_fare double;
ALTER TABLE services CHANGE minimum_fare night_fare double;
ALTER TABLE users ADD isRiderRegistered boolean;
---------------------new changes-----------------------------------------
alter table users modify column email varchar(250) Null;
alter table users modify column username varchar(250) Null;
alter table users modify column password varchar(250) Null;
-----------------------------------------------------------------------------