mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 12:37:26 +00:00
update schema
This commit is contained in:
parent
f846a42e60
commit
dadd3fe547
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user