update sql

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14271 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-07-16 15:40:29 +00:00
parent d900c59ee4
commit 8e01a2fc7e
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,8 @@ CREATE TABLE `lcr` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
`digits` varchar(15) default NULL, `digits` varchar(15) default NULL,
`rate` float(11,5) unsigned NOT NULL, `rate` float(11,5) unsigned NOT NULL,
`intra` float(11, 5) unsigned NOT NULL, `intrastate_rate` float(11, 5) unsigned NOT NULL,
`intralata_rate` float(11, 5) unsigned NOT NULL,
`carrier_id` int(11) NOT NULL, `carrier_id` int(11) NOT NULL,
`lead_strip` int(11) NOT NULL, `lead_strip` int(11) NOT NULL,
`trail_strip` int(11) NOT NULL, `trail_strip` int(11) NOT NULL,

View File

@ -43,7 +43,8 @@ CREATE TABLE lcr
id serial NOT NULL, id serial NOT NULL,
digits NUMERIC(20, 0), digits NUMERIC(20, 0),
rate numeric(11,5) NOT NULL, rate numeric(11,5) NOT NULL,
intra numeric(11,5) NOT NULL, intrastate_rate numeric(11,5) NOT NULL,
intralata_rate numeric(11,5) NOT NULL,
carrier_id integer NOT NULL REFERENCES carriers(id), carrier_id integer NOT NULL REFERENCES carriers(id),
lead_strip integer NOT NULL DEFAULT 0, lead_strip integer NOT NULL DEFAULT 0,
trail_strip integer NOT NULL DEFAULT 0, trail_strip integer NOT NULL DEFAULT 0,