mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 10:45:56 +02:00
* @method for view properties. WIP... hacked in, needs cleaned up & DRY
* Messing around with different approaches to last callers...
This commit is contained in:
parent
542327460b
commit
99ea870ebc
8 changed files with 337 additions and 17 deletions
|
@ -69,6 +69,14 @@ function createUserTables() {
|
|||
' FOREIGN KEY(group_id) REFERENCES user_group(group_id) ON DELETE CASCADE' +
|
||||
');'
|
||||
);
|
||||
|
||||
dbs.user.run(
|
||||
'CREATE TABLE IF NOT EXISTS user_login_history (' +
|
||||
' user_id INTEGER NOT NULL,' +
|
||||
' user_name VARCHAR NOT NULL,' +
|
||||
' timestamp DATETIME NOT NULL' +
|
||||
');'
|
||||
);
|
||||
}
|
||||
|
||||
function createMessageBaseTables() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue