Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • 7.x-1.0
2 results

README.txt

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    database.mysql 4.82 KiB
    
    CREATE TABLE affiliates (
      id int(11) DEFAULT '0' NOT NULL auto_increment,
      link varchar(255) DEFAULT '' NOT NULL,
      name varchar(255) DEFAULT '' NOT NULL,
      contact varchar(255) DEFAULT '' NOT NULL,
      UNIQUE link (link),
      PRIMARY KEY (id)
    );
    
    CREATE TABLE blocks (
      name varchar(64) DEFAULT '' NOT NULL,
      module varchar(64) DEFAULT '' NOT NULL,
      offset tinyint(2) DEFAULT '0' NOT NULL,
      status tinyint(2) DEFAULT '0' NOT NULL,
      weight tinyint(1) DEFAULT '0' NOT NULL,
      region tinyint(1) DEFAULT '0' NOT NULL,
      remove tinyint(1) DEFAULT '0' NOT NULL,
      PRIMARY KEY (name)
    );
    
    CREATE TABLE boxes (
      id tinyint(4) DEFAULT '0' NOT NULL auto_increment,
      subject varchar(64) DEFAULT '' NOT NULL,
      content text,
      info varchar(128) DEFAULT '' NOT NULL,
      link varchar(128) DEFAULT '' NOT NULL,
      type tinyint(2) DEFAULT '0' NOT NULL,
      UNIQUE subject (subject),
      UNIQUE info (info),
      PRIMARY KEY (id)
    );
    
    CREATE TABLE bans (
      id tinyint(4) DEFAULT '0' NOT NULL auto_increment,
      mask varchar(255) DEFAULT '' NOT NULL,
      type tinyint(2) DEFAULT '0' NOT NULL,
      reason text NOT NULL,
      timestamp int(11),
      UNIQUE mask (mask),
      PRIMARY KEY (id)
    );
    
    
    CREATE TABLE channel (
      id int(11) DEFAULT '0' NOT NULL auto_increment,
      site varchar(255) DEFAULT '' NOT NULL,
      file varchar(255) DEFAULT '' NOT NULL,
      url varchar(255) DEFAULT '' NOT NULL,
      contact varchar(255) DEFAULT '',
      timestamp int(11),
      UNIQUE site (site),
      UNIQUE file (file),
      UNIQUE url (url),
      PRIMARY KEY (id)
    );
    
    CREATE TABLE comments (
      cid int(6) DEFAULT '0' NOT NULL auto_increment,
      pid int(6) DEFAULT '0' NOT NULL,
      lid int(6) DEFAULT '0' NOT NULL,
      link varchar(16) DEFAULT '' NOT NULL,
      author int(6) DEFAULT '0' NOT NULL,
      subject varchar(64) DEFAULT '' NOT NULL,
      comment text NOT NULL,
      hostname varchar(128) DEFAULT '' NOT NULL,
      timestamp int(11) DEFAULT '0' NOT NULL,
      score int(6) DEFAULT '0' NOT NULL,
      votes int(6) DEFAULT '0' NOT NULL,
      PRIMARY KEY (cid)