<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : gruposclientes.xml
    Author     : Carlos Garcia Gomez
    Description:
        Structure for the gruposclientes table.
-->
<table>
    <column>
        <name>codgrupo</name>
        <type>character varying(6)</type>
        <null>NO</null>
    </column>
    <column>
        <name>codsubcuenta</name>
        <type>character varying(15)</type>
    </column>
    <column>
        <name>codtarifa</name>
        <type>character varying(6)</type>
    </column>
    <column>
        <name>nombre</name>
        <type>character varying(100)</type>
        <null>NO</null>
    </column>
    <constraint>
        <name>gruposclientes_pkey</name>
        <type>PRIMARY KEY (codgrupo)</type>
    </constraint>
    <constraint>
        <name>ca_gruposclientes_tarifas</name>
        <type>FOREIGN KEY (codtarifa) REFERENCES tarifas (codtarifa) ON DELETE SET NULL ON UPDATE CASCADE</type>
    </constraint>
</table>
