Skip to content

Commit

Permalink
datbases table update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherazameer committed Sep 16, 2023
1 parent bbe5d54 commit 4e469b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions db/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,10 @@ CREATE TABLE configuration_data
configuration_id int(11) default NULL,
class int(11) default 1,
node_id int(11) unsigned default 0,
campaign_id int(11) unsigned default NULL,
campaign_id int(11) unsigned default 0,
data varchar(255) default NULL,
date_created int(11) default NULL,
created_by int(11) default NULL,
created_by int(11) default 0,
last_updated int(11) default NULL,
updated_by int(11) unsigned default NULL,
PRIMARY KEY (configuration_id, class, node_id, created_by, campaign_id)
Expand Down Expand Up @@ -558,8 +558,8 @@ CREATE TABLE transmission (
CREATE TABLE campaign
(
campaign_id int(11) unsigned NOT NULL auto_increment,
program_id int(11) NOT NULL,
group_id int(11) NOT NULL ,
program_id int(11) default NULL,
group_id int(11) default NULL,
account_id int(11) default NULL,
cpm int(11) NOT NULL default 2,
try_allowed int(11) NOT NULL default 1,
Expand Down Expand Up @@ -630,7 +630,7 @@ CREATE TABLE spool (
call_id varchar(80) NOT NULL default '',
status varchar(80) NOT NULL default '',
response varchar(80) NOT NULL default '',
amount int(11) NOT NULL default 0,
amount int(11) NULL default 0,
service_flag int(11) unsigned default NULL,
transmission_id int(11) unsigned default NULL,
provider_id int(11) unsigned default NULL,
Expand Down Expand Up @@ -776,7 +776,7 @@ CREATE TABLE application (
name varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
data text,
weight int(4) NOT NULL default 0,
weight int(4) NULL default 0,
program_id int(11) unsigned default NULL,
PRIMARY KEY (application_id)
) ENGINE = InnoDB;
Expand All @@ -789,9 +789,9 @@ CREATE INDEX application_programe_id ON application (program_id);
CREATE TABLE action (
action_id int(11) unsigned NOT NULL auto_increment,
type varchar(128) NOT NULL default '',
action int(11) NOT NULL default 0,
action int(11) NULL default 0,
data varchar(64) NOT NULL default '',
weight int(4) NOT NULL default 0,
weight int(4) NULL default 0,
is_default int(1) default 0,
application_id int(11) unsigned default NULL,
PRIMARY KEY (action_id)
Expand All @@ -807,7 +807,7 @@ CREATE TABLE provider
provider_id int(11) unsigned NOT NULL auto_increment,
name varchar(128) NOT NULL default '',
service_flag int(11) unsigned default NULL,
node_id int(11) unsigned NOT NULL,
node_id int(11) unsigned NULL,
host varchar(128) NOT NULL default '',
port int(6) NOT NULL default 5060,
username varchar(128) NOT NULL default '',
Expand Down
3 changes: 2 additions & 1 deletion db/fax.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
CREATE TABLE document
(
document_id int(11) unsigned NOT NULL auto_increment,
name varchar(128) NOT NULL,
name varchar(128) NOT NULL default '0',
type varchar(8) NOT NULL,
file_name varchar(128) NOT NULL,
description varchar(255) NOT NULL default '',
ocr blob default NULL,
pages int(11) NOT NULL default 0,
size_x int(11) NOT NULL default 0,
size_y int(11) NOT NULL default 0,
Expand Down

0 comments on commit 4e469b7

Please sign in to comment.