forked from Business/AccountHub
Add mobile code login for Station client
parent
1a6ea182e2
commit
e5294bbecd
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `onetimekeys` (
|
||||||
|
`key` VARCHAR(10) NOT NULL,
|
||||||
|
`uid` INT(11) NOT NULL,
|
||||||
|
`expires` DATETIME NOT NULL,
|
||||||
|
INDEX `fk_onetimekeys_accounts1_idx` (`uid` ASC),
|
||||||
|
PRIMARY KEY (`key`),
|
||||||
|
UNIQUE INDEX `key_UNIQUE` (`key` ASC),
|
||||||
|
CONSTRAINT `fk_onetimekeys_accounts1`
|
||||||
|
FOREIGN KEY (`uid`)
|
||||||
|
REFERENCES `accounthub`.`accounts` (`uid`)
|
||||||
|
ON DELETE NO ACTION
|
||||||
|
ON UPDATE NO ACTION)
|
||||||
|
ENGINE = InnoDB
|
||||||
|
DEFAULT CHARACTER SET = utf8
|
@ -0,0 +1,9 @@
|
|||||||
|
<#if licenseFirst??>
|
||||||
|
${licenseFirst}
|
||||||
|
</#if>
|
||||||
|
${licensePrefix}This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
${licensePrefix}License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
${licensePrefix}file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
<#if licenseLast??>
|
||||||
|
${licenseLast}
|
||||||
|
</#if>
|
Loading…
Reference in New Issue