Skip to content

Commit

Permalink
Merge pull request #38 from tylerhall/fix-37
Browse files Browse the repository at this point in the history
Fixes #37 Increase size of users.nid column to varchar(40)
  • Loading branch information
tylerhall committed Oct 12, 2020
2 parents 9d40c01 + 28945d2 commit 4ae734d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CREATE TABLE `sessions` (

CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nid` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
`nid` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
`username` varchar(65) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`password` varchar(65) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`level` enum('user','admin') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'user',
Expand Down

0 comments on commit 4ae734d

Please sign in to comment.