Created
August 9, 2020 21:14
-
-
Save legarnica/dbaaaefff6c3707d7f62a5ff1a0c0aac to your computer and use it in GitHub Desktop.
esquema para el proyecto final JFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- descomentar línea de abajo, después de la primera ejecución. | |
-- DROP table arriendo_quincho; DROP table departamento; DROP table estado; DROP table hibernate_sequence; | |
-- arriendo_quincho definition | |
CREATE TABLE arriendo_quincho ( | |
id integer not null, | |
fecha date_time, | |
departamento_id integer, | |
estado_id integer, | |
primary key (id) | |
); | |
-- departamento definition | |
CREATE TABLE departamento ( | |
id integer not null, | |
numero integer, | |
primary key (id) | |
); | |
-- estado definition | |
CREATE TABLE estado ( | |
id integer not null, | |
descripcion varchar, | |
primary key (id) | |
); | |
-- hibernate_sequence definition | |
CREATE TABLE hibernate_sequence ( | |
next_val bigint | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment