Skip to content

Commit 15a4c8d

Browse files
committed
Allow NULL and default to NULL
1 parent 240ee95 commit 15a4c8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data/add_academic.sql

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
ALTER TABLE `departments` ADD `academic` BOOLEAN NOT NULL DEFAULT '0' COMMENT 'Flag to indicate if department is academic' AFTER `website`
1+
ALTER TABLE `departments` ADD `academic` BOOLEAN NULL DEFAULT NULL COMMENT 'Flag to indicate if department is academic' AFTER `website` ,
2+
ADD INDEX ( `academic` )

0 commit comments

Comments
 (0)