Created
April 3, 2017 21:05
-
-
Save Hoffs/d91830df7b156aeaccf7256ea346fc3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; | |
-- | |
-- Database: `hndatabase` | |
-- | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `users` | |
-- | |
CREATE TABLE `users` ( | |
`id` int(11) NOT NULL, | |
`username` text COLLATE utf8_bin NOT NULL, | |
`password` text COLLATE utf8_bin NOT NULL, | |
`email` text COLLATE utf8_bin NOT NULL, | |
`first` text COLLATE utf8_bin NOT NULL, | |
`last` text COLLATE utf8_bin NOT NULL, | |
`gender` text COLLATE utf8_bin NOT NULL, | |
`address` text COLLATE utf8_bin NOT NULL, | |
`authKey` text COLLATE utf8_bin NOT NULL, | |
`accessToken` text COLLATE utf8_bin NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
-- | |
-- Indexes for table `users` | |
-- | |
ALTER TABLE `users` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- AUTO_INCREMENT for table `users` | |
-- | |
ALTER TABLE `users` | |
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment