X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=40248ddfc18e8d13e9c3739f22ab82ad7f39a8f4;hb=0ce1f788031c5eaac0c620add539730dd87e3113;hp=1c9c4a2001db0c637bdac739f0ef03a74337b943;hpb=b8e4ca0d3999d51c6970bd084d889abebcaae2cf;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 1c9c4a200..40248ddfc 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -6643,6 +6643,20 @@ sub tables_hashref { ], }, + # lookup table for states, similar to msa and lata + 'state' => { + 'columns' => [ + 'statenum', 'int', '', '', '', '', + 'country', 'char', '', 2, '', '', + 'state', 'char', '', $char_d, '', '', + 'fips', 'char', '', 3, '', '', + ], + 'primary_key' => 'statenum', + 'unique' => [ [ 'country', 'state' ], ], + 'index' => [], + }, + + # name type nullability length default local #'new_table' => {