Skip to content

Commit

Permalink
update sql file
Browse files Browse the repository at this point in the history
update sql file
  • Loading branch information
abedputra committed Oct 21, 2018
1 parent 6dbeefd commit 63c0870
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions SQL-File.sql
Expand Up @@ -43,6 +43,19 @@ CREATE TABLE `absent` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


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

--
-- Table structure for table `history_qr`
--

CREATE TABLE `history_qr` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `settings`
--
Expand Down Expand Up @@ -122,6 +135,12 @@ ALTER TABLE `settings`
ALTER TABLE `tokens`
ADD PRIMARY KEY (`id`);

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

--
-- Indexes for table `users`
--
Expand Down Expand Up @@ -153,6 +172,12 @@ ALTER TABLE `tokens`
ALTER TABLE `users`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;COMMIT;

--
-- AUTO_INCREMENT for table `history_qr`
--
ALTER TABLE `history_qr`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 comments on commit 63c0870

Please sign in to comment.