-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `aptivaa`
--

-- --------------------------------------------------------

--
-- Table structure for table `apt_admin`
--

CREATE TABLE `apt_admin` (
  `id` int(100) NOT NULL,
  `full_name` varchar(50) NOT NULL,
  `username` varchar(50) NOT NULL,
  `password` varchar(255) NOT NULL,
  `role` enum('admin','editor') NOT NULL DEFAULT 'editor',
  `last_modified` datetime DEFAULT NULL ON UPDATE current_timestamp(),
  `created` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf32;

--
-- Dumping data for table `apt_admin`
--

INSERT INTO `apt_admin` (`id`, `full_name`, `username`, `password`, `role`, `last_modified`, `created`) VALUES
(1, 'Super', 'info@aptivaa.com', '$2y$10$AyoCsJtu4ATygehZO1HAh.6pd3T.6pEMg8rJ8pLfTgvIOebDbImy6', 'admin', '2020-07-03 15:49:37', '2020-03-12 12:00:04');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `apt_admin`
--
ALTER TABLE `apt_admin`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `apt_admin`
--
ALTER TABLE `apt_admin`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;

