Está en la página 1de 3

All Tables Details

Schema Name Classification Types Comment in RDBMS Comment Notes


CarroCompra

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Cantidad NUMBER (3) true false false
CarID NUMBER (8) true true false
Direc_Entrega_DirecID NUMBER (10) true false true
Estado VARCHAR2 (100) true false false
Fecha_creación DATE true false false
OpcionPago_OP_ID NUMBER (10) true false true
Producto_ProdID NUMBER (8,8) true false true
Subtotal NUMBER (10) true false false
Usuario_UsuID NUMBER (8,8) true false true

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
CarritoCompra_PK Primary Constraint CarroCompra.CarID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
CarroCompra_Direc_Entrega_FK Direc_Entrega Direccion_Entrega_PK true true false
CarroCompra_OpcionPago_FK OpcionPago OpcionPago_PK true true false
CarroCompra_Producto_FK Producto Producto_PK true true false
CarroCompra_Usuario_FK Usuario Usuario_PK true true false

Schema Name Classification Types Comment in RDBMS Comment Notes


Categoria

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
CateID NUMBER (10) true true false
Nombre_Categoria VARCHAR2 (100) true false false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Categoria_PK Primary Constraint Categoria.CateID

Schema Name Classification Types Comment in RDBMS Comment Notes


Direc_Entrega

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
DirecID NUMBER (10) true true false
Dirección_envío VARCHAR2 (255) true false false
N_telefonico NUMBER (9) true false false
Usuario_UsuID NUMBER (8,8) true false true

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Direccion_Entrega_PK Primary Constraint Direc_Entrega.DirecID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
Direccion_Entrega_Usuario_FK Usuario Usuario_PK true true false
Schema Name Classification Types Comment in RDBMS Comment Notes
OpcionPago

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Descuento NUMBER (2) true false false
Nombre_metodo_Pago VARCHAR2 (100) true false false
OP_ID NUMBER (10) true true false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
OpcionPago_PK Primary Constraint OpcionPago.OP_ID

Schema Name Classification Types Comment in RDBMS Comment Notes


Opinione

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Comentario VARCHAR2 (500) false false false
Fecha DATE false false false
Opi_ID NUMBER (8) true true false
Producto_ProdID NUMBER (8,8) true false true
Puntuación NUMBER (2) false false false
Usuario_UsuID NUMBER (8,8) true false true

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Opinione_PK Primary Constraint Opinione.Opi_ID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
Opinione_Producto_FK Producto Producto_PK true true false
Opinione_Usuario_FK Usuario Usuario_PK true true false

Schema Name Classification Types Comment in RDBMS Comment Notes


Producto

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Categoria_CateID NUMBER (10) true false true
Descripción VARCHAR2 (500) true false false
Imagen BLOB true false false
Nombre VARCHAR2 (100) true false false
Precio NUMBER (8,8) true false false
ProdID NUMBER (8,8) true true false
Stock NUMBER (8,8) true false false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Producto_PK Primary Constraint Producto.ProdID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
Producto_Categoria_FK Categoria Categoria_PK true true false
Schema Name Classification Types Comment in RDBMS Comment Notes
ProgramaLealtad

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Incentivos VARCHAR2 (50) true false false
PL_ID NUMBER (10) true true false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
ProgramaLealtad_PK Primary Constraint ProgramaLealtad.PL_ID

Schema Name Classification Types Comment in RDBMS Comment Notes


Redes_Sociales

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Enlace VARCHAR2 (255) true false false
Nombre_RedSocial VARCHAR2 (50) true false false
Producto_ProdID NUMBER (8,8) true false true
RS_ID NUMBER (10) true true false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Redes_Sociales_PK Primary Constraint Redes_Sociales.RS_ID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
Redes_Sociales_Producto_FK Producto Producto_PK true true false

Schema Name Classification Types Comment in RDBMS Comment Notes


TipoUsuario

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Nombre_Tipo_Usuario VARCHAR2 (100) true false false
TU_ID NUMBER (10) true true false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
TipoUsuario_PK Primary Constraint TipoUsuario.TU_ID

Schema Name Classification Types Comment in RDBMS Comment Notes


Usuario

Columns
Name Datatype Mandatory PK element FK column Constraint Comment in RDBMS
Apellido VARCHAR2 (100) true false false
Contraseña VARCHAR2 (8) true false false
Correo_electrónico VARCHAR2 (255) true false false
Fecha__registro DATE true false false
Nombre VARCHAR2 (100) true false false
ProgramaLealtad_PL_ID NUMBER (10) true false true
Rut VARCHAR2 (50) true false false
TipoUsuario_TU_ID NUMBER (10) true false true
UsuID NUMBER (8,8) true true false

PK,UKs and Indexes


Schema Name State Columns Expression Comment in RDBMS
Usuario_PK Primary Constraint Usuario.UsuID

Foreign Keys
Name Referred table Referred Key Mandatory Transferable In arc Comment in RDBMS
Usuario_ProgramaLealtad_FK ProgramaLealtad ProgramaLealtad_PK true true false
Usuario_TipoUsuario_FK TipoUsuario TipoUsuario_PK true true false

También podría gustarte