Skip to content

Commit

Permalink
Merge pull request #100 from Carifio24/nullable-institution
Browse files Browse the repository at this point in the history
Allow institution to be nullable
  • Loading branch information
Carifio24 authored Jan 11, 2024
2 parents 308e29d + 8a0173b commit 7d1012a
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 7d1012a

Please sign in to comment.