Skip to content

install.sql error #2

@9san

Description

@9san

Use this instead, at least it prevents the error.

CREATE TABLE `torlist` (
  `count` int NOT NULL AUTO_INCREMENT,
  `ip` varchar(255) NOT NULL,
  PRIMARY KEY (`count`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Using count as auto_increment and ip as primary key will throw error about multiple auto incrementing keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Medium PrioritybugSomething isn't workinghelp wantedExtra attention is neededworkaroundtemporary workaround available, may not fix the bug in question.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions