Skip to content
Snippets Groups Projects
Commit 83f6495c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Jeroen: here are the correct and up-to-date database tables!
parent 5c44a206
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
CREATE TABLE admin_blocks (
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,
PRIMARY KEY (id)
);
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 bans ( CREATE TABLE bans (
id tinyint(4) DEFAULT '0' NOT NULL auto_increment, id tinyint(4) DEFAULT '0' NOT NULL auto_increment,
mask varchar(255) DEFAULT '' NOT NULL, mask varchar(255) DEFAULT '' NOT NULL,
...@@ -8,6 +26,14 @@ CREATE TABLE bans ( ...@@ -8,6 +26,14 @@ CREATE TABLE bans (
PRIMARY KEY (id) 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,
PRIMARY KEY (name)
);
CREATE TABLE channel ( CREATE TABLE channel (
id int(11) DEFAULT '0' NOT NULL auto_increment, id int(11) DEFAULT '0' NOT NULL auto_increment,
site varchar(255) DEFAULT '' NOT NULL, site varchar(255) DEFAULT '' NOT NULL,
...@@ -35,8 +61,8 @@ CREATE TABLE comments ( ...@@ -35,8 +61,8 @@ CREATE TABLE comments (
PRIMARY KEY (cid) PRIMARY KEY (cid)
); );
CREATE TABLE cron ( CREATE TABLE crons (
module varchar(255) DEFAULT '' NOT NULL, module varchar(64) DEFAULT '' NOT NULL,
scheduled int(11), scheduled int(11),
timestamp int(11), timestamp int(11),
PRIMARY KEY (module) PRIMARY KEY (module)
...@@ -50,15 +76,6 @@ CREATE TABLE diaries ( ...@@ -50,15 +76,6 @@ CREATE TABLE diaries (
PRIMARY KEY (id) PRIMARY KEY (id)
); );
CREATE TABLE droplets (
id tinyint(4) DEFAULT '0' NOT NULL auto_increment,
name varchar(255) DEFAULT '' NOT NULL,
help text NOT NULL,
code text NOT NULL,
UNIQUE name (name),
PRIMARY KEY (id)
);
CREATE TABLE headlines ( CREATE TABLE headlines (
id int(11) DEFAULT '0' NOT NULL, id int(11) DEFAULT '0' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL, title varchar(255) DEFAULT '' NOT NULL,
...@@ -68,6 +85,17 @@ CREATE TABLE headlines ( ...@@ -68,6 +85,17 @@ CREATE TABLE headlines (
UNIQUE link (link) UNIQUE link (link)
); );
CREATE TABLE layout (
user int(11) DEFAULT '0' NOT NULL,
block varchar(64) DEFAULT '' NOT NULL,
weight int(11) DEFAULT '0' NOT NULL
);
CREATE TABLE modules (
name varchar(64) DEFAULT '' NOT NULL,
PRIMARY KEY (name)
);
CREATE TABLE stories ( CREATE TABLE stories (
id int(11) DEFAULT '0' NOT NULL auto_increment, id int(11) DEFAULT '0' NOT NULL auto_increment,
author int(6) DEFAULT '0' NOT NULL, author int(6) DEFAULT '0' NOT NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment