Skip to content

Commit

Permalink
Allow institution to be nullable in table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Jan 11, 2024
1 parent 308e29d commit 8a0173b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/create_student_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CREATE TABLE Students (
verification_code varchar(50) COLLATE utf8_unicode_ci NOT NULL UNIQUE,
username varchar(64) COLLATE utf8_unicode_ci NOT NULL UNIQUE,
password varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
institution varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
institution varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
age int(5),
gender varchar(20) COLLATE utf8_unicode_ci,
ip varchar(50) COLLATE utf8_unicode_ci,
Expand Down

0 comments on commit 8a0173b

Please sign in to comment.