<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : cuentasbcopro.xml
    Author     : Carlos Garcia Gomez
    Description:
        Structure for the cuentasbcopro table.
-->
<table>
    <column>
        <name>codcuenta</name>
        <type>character varying(10)</type>
        <null>NO</null>
    </column>
    <column>
        <name>codproveedor</name>
        <type>character varying(10)</type>
        <null>NO</null>
    </column>
    <column>
        <name>descripcion</name>
        <type>character varying(100)</type>
    </column>
    <column>
        <name>iban</name>
        <type>character varying(34)</type>
    </column>
    <column>
        <name>principal</name>
        <type>boolean</type>
    </column>
    <column>
        <name>swift</name>
        <type>character varying(11)</type>
    </column>
    <constraint>
        <name>cuentasbcopro_pkey</name>
        <type>PRIMARY KEY (codcuenta)</type>
    </constraint>
    <constraint>
        <name>ca_cuentasbcopro_proveedores</name>
        <type>FOREIGN KEY (codproveedor) REFERENCES proveedores (codproveedor) ON DELETE CASCADE ON UPDATE CASCADE</type>
    </constraint>
</table>
