update schema

This commit is contained in:
Raymond Chandler 2011-08-18 14:55:33 -04:00
parent f846a42e60
commit dadd3fe547
2 changed files with 6 additions and 6 deletions

View File

@ -23,9 +23,9 @@ DROP TABLE IF EXISTS `lcr`;
CREATE TABLE `lcr` ( 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,
`intrastate_rate` float(11, 5) unsigned NOT NULL, `intrastate_rate` float(11, 5) unsigned,
`intralata_rate` float(11, 5) unsigned NOT NULL, `intralata_rate` float(11, 5) unsigned,
`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

@ -42,9 +42,9 @@ 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),
intrastate_rate numeric(11,5) NOT NULL, intrastate_rate numeric(11,5),
intralata_rate numeric(11,5) NOT NULL, intralata_rate numeric(11,5),
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,