Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE ango_personas.financiador_programa_medico_externo (
- id INT auto_increment NOT NULL,
- id_programa_medico INT NOT NULL,
- id_programa_medico_externo INT NOT NULL,
- origen ENUM('Optimi') DEFAULT 'Optimi' NOT NULL,
- creado DATETIME DEFAULT CURRENT_TIMESTAMP() NOT NULL,
- CONSTRAINT financiador_programa_medico_externo_PK PRIMARY KEY (id),
- CONSTRAINT financiador_programa_medico_externo_UN UNIQUE KEY (id_programa_medico_externo,origen)
- )
- ENGINE=InnoDB
- CREATE TABLE ango_personas.financiador_programa_medico_plan_externo (
- id INT auto_increment NOT NULL,
- id_plan INT NOT NULL,
- id_plan_externo INT NOT NULL,
- origen ENUM('Optimi') DEFAULT 'Optimi' NOT NULL,
- creado DATETIME DEFAULT CURRENT_TIMESTAMP() NOT NULL,
- CONSTRAINT financiador_programa_medico_plan_externo_PK PRIMARY KEY (id),
- CONSTRAINT financiador_programa_medico_plan_externo_UN UNIQUE KEY (id_plan_externo,origen)
- )
- ENGINE=InnoDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement