Skip to content

[DUDA ENUNCIADO] Debemos poblar la base de datos? #376

@diego-herreras00112

Description

@diego-herreras00112

Debemos poblar la base de datos con algun tipo de E3 que haga todos los insert?
Porque me salen las relaciones incluso me deja crear un usuario pero las tablas estan vacias.


diego.herreras00112.e3=> \dt
List of relations
Schema | Name | Type | Owner
--------+--------------+-------+------------------------
public | agenda | table | diego.herreras00112.e3
public | airbnb | table | diego.herreras00112.e3
public | avion | table | diego.herreras00112.e3
public | bus | table | diego.herreras00112.e3
public | empleado | table | diego.herreras00112.e3
public | habitacion | table | diego.herreras00112.e3
public | hospedaje | table | diego.herreras00112.e3
public | hotel | table | diego.herreras00112.e3
public | panorama | table | diego.herreras00112.e3
public | participante | table | diego.herreras00112.e3
public | persona | table | diego.herreras00112.e3
public | reserva | table | diego.herreras00112.e3
public | review | table | diego.herreras00112.e3
public | seguro | table | diego.herreras00112.e3
public | transporte | table | diego.herreras00112.e3
public | tren | table | diego.herreras00112.e3
public | usuario | table | diego.herreras00112.e3
(17 rows)

diego.herreras00112.e3=> SELECT * FROM usuario;
correo | puntos
--------+--------
(0 rows)

diego.herreras00112.e3=> SELECT * FROM usuario;
correo | puntos
-------------------------------+--------
[email protected] | 0
(1 row)


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions