Skip to content

in problems column src NOT NULL, cause errors #4

Description

@hih70

CREATE TABLE problems (
pid int(11) NOT NULL AUTO_INCREMENT,
pub int(11) NOT NULL,
ts bigint(20) DEFAULT NULL,
src text COLLATE utf8_unicode_ci NOT NULL,
ttl text COLLATE utf8_unicode_ci NOT NULL,
level int(11) DEFAULT NULL,
porder int(11) DEFAULT NULL,
PRIMARY KEY (pid)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

When use website to create new problem. src will be NULL, which cause problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions