mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
db: fixing database schema
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
6939b7fe45
commit
06bc6fb15c
@ -8,7 +8,7 @@ create table if not exists `sph_counter` (
|
|||||||
|
|
||||||
create table if not exists `sph_index` (
|
create table if not exists `sph_index` (
|
||||||
`id` bigint not null,
|
`id` bigint not null,
|
||||||
`from` char(255) default null,
|
`from` tinyblob default null,
|
||||||
`to` text(8192) default null,
|
`to` text(8192) default null,
|
||||||
`fromdomain` char(255) default null,
|
`fromdomain` char(255) default null,
|
||||||
`todomain` text(512) default null,
|
`todomain` text(512) default null,
|
||||||
@ -27,7 +27,7 @@ create table if not exists `sph_index` (
|
|||||||
|
|
||||||
create table if not exists `metadata` (
|
create table if not exists `metadata` (
|
||||||
`id` bigint unsigned not null auto_increment,
|
`id` bigint unsigned not null auto_increment,
|
||||||
`from` varchar(128) not null,
|
`from` varchar(255) not null,
|
||||||
`fromdomain` varchar(64) not null,
|
`fromdomain` varchar(64) not null,
|
||||||
`subject` blob(512) default null,
|
`subject` blob(512) default null,
|
||||||
`spam` tinyint(1) default 0,
|
`spam` tinyint(1) default 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user