Browse Source

Update schema

spaghetti 5 years ago
parent
commit
49e411acc8
1 changed files with 1 additions and 14 deletions
  1. 1
    14
      gazelle.sql

+ 1
- 14
gazelle.sql View File

@@ -587,19 +587,6 @@ CREATE TABLE `log` (
587 587
   KEY `Time` (`Time`)
588 588
 ) ENGINE=InnoDB CHARSET=utf8;
589 589
 
590
-CREATE TABLE `login_attempts` (
591
-  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
592
-  `UserID` int(10) unsigned NOT NULL,
593
-  `IP` varchar(90) NOT NULL,
594
-  `LastAttempt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
595
-  `Attempts` int(10) unsigned NOT NULL,
596
-  `BannedUntil` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
597
-  `Bans` int(10) unsigned NOT NULL,
598
-  PRIMARY KEY (`ID`),
599
-  KEY `UserID` (`UserID`),
600
-  KEY `IP` (`IP`)
601
-) ENGINE=InnoDB CHARSET=utf8;
602
-
603 590
 CREATE TABLE `new_info_hashes` (
604 591
   `TorrentID` int(11) NOT NULL,
605 592
   `InfoHash` binary(20) DEFAULT NULL,
@@ -1667,7 +1654,7 @@ CREATE TABLE `users_push_notifications` (
1667 1654
 
1668 1655
 CREATE TABLE `users_sessions` (
1669 1656
   `UserID` int(10) NOT NULL,
1670
-  `SessionID` char(32) NOT NULL,
1657
+  `SessionID` char(64) NOT NULL,
1671 1658
   `KeepLogged` enum('0','1') NOT NULL DEFAULT '0',
1672 1659
   `Browser` varchar(40) DEFAULT NULL,
1673 1660
   `OperatingSystem` varchar(13) DEFAULT NULL,

Loading…
Cancel
Save