Skip to content
Snippets Groups Projects
Commit 40a7e2b8 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Doc: add alter table person

parent fc10e51d
No related branches found
Tags v0.25.14
1 merge request!588New version v23.6.0
Pipeline #9461 passed
......@@ -90,13 +90,16 @@ Table: Person
`firstName` varchar(64) NOT NULL DEFAULT '',
`email` varchar(128) NOT NULL,
`account` varchar(128) NOT NULL,
`auth` varchar(32) NOT NULL,
`auth` varchar(32) NOT NULL DEFAULT '',
`authExpire` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 PACK_KEYS=1;
ALTER TABLE `Person` ADD PRIMARY KEY (`id`);
ALTER TABLE `Person` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;
or::
ALTER TABLE `person` ADD `auth` VARCHAR(32) NOT NULL DEFAULT '' AFTER `account`, ADD `auth_expired` DATETIME DEFAULT NULL AFTER `auth`;
Registration
^^^^^^^^^^^^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment