Jenderal92

Untitled

Aug 23rd, 2022
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. CREATE TABLE `phone_verification` (
  2. `pv_id` int(11) NOT NULL,
  3. `phone` varchar(15) DEFAULT NULL,
  4. `otp` varchar(10) DEFAULT NULL,
  5. `is_verified` int(11) NOT NULL DEFAULT 0,
  6. `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  7. `updated_at` timestamp NULL DEFAULT NULL
  8. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  9.  
  10. ALTER TABLE `phone_verification`
  11. ADD PRIMARY KEY (`pv_id`);
  12.  
  13. ALTER TABLE `phone_verification`
  14. MODIFY `pv_id` int(11) NOT NULL AUTO_INCREMENT;
  15. COMMIT;
Advertisement
Add Comment
Please, Sign In to add comment