CREATE TABLE `users` (
  `id_user` varchar(20) NOT NULL,
  `nama_lengkap` varchar(255) NOT NULL,
  `no_telp` varchar(20) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `saldo` int(11) NOT NULL DEFAULT 0,
  `foto_profile` varchar(10) NOT NULL,
  `status_akun` enum('aktif','tidak aktif','suspend') NOT NULL DEFAULT 'aktif',
  `tanggal_daftar` datetime NOT NULL,
  `otp` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`id_user`),
  UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
