This commit is contained in:
redmatrix 2016-09-22 17:00:32 -07:00
parent 9981cbb72c
commit 24ddc8e026
2 changed files with 2 additions and 2 deletions

View File

@ -396,7 +396,7 @@ create index "conv_created_idx" on conv ("created");
create index "conv_updated_idx" on conv ("updated");
CREATE TABLE IF NOT EXISTS "dreport" (
"dreport_id" int NOT NULL,
"dreport_id" serial NOT NULL,
"dreport_channel" int NOT NULL DEFAULT '0',
"dreport_mid" char(255) NOT NULL DEFAULT '',
"dreport_site" char(255) NOT NULL DEFAULT '',

View File

@ -1810,7 +1810,7 @@ function update_r1152() {
if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) {
$r1 = q("CREATE TABLE IF NOT EXISTS \"dreport\" (
\"dreport_id\" int(11) NOT NULL,
\"dreport_id\" serial NOT NULL,
\"dreport_channel\" int(11) NOT NULL DEFAULT '0',
\"dreport_mid\" char(255) NOT NULL DEFAULT '',
\"dreport_site\" char(255) NOT NULL DEFAULT '',