From dfe9016498d3812dfb66324ceeb90f359f914f72 Mon Sep 17 00:00:00 2001 From: Rosanny <rosanny.sihombing@hft-stuttgart.de> Date: Wed, 4 Mar 2020 13:55:41 +0100 Subject: [PATCH] add salutation to user table --- database/alter.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 database/alter.sql diff --git a/database/alter.sql b/database/alter.sql new file mode 100644 index 00000000..80d0ad77 --- /dev/null +++ b/database/alter.sql @@ -0,0 +1,4 @@ +// add `salutation` column and alter `title` to be not mandatory +ALTER TABLE `userdb`.`user` +ADD COLUMN `salutation` VARCHAR(45) NULL DEFAULT NULL AFTER `email`, +CHANGE COLUMN `title` `title` VARCHAR(45) NULL DEFAULT NULL ; \ No newline at end of file -- GitLab