1.sql
899 Bytes
# --- Created by Ebean DDL
# To stop Ebean DDL generation, remove this comment and start using Evolutions
# --- !Ups
create table hersteller (
hersteller_id bigint auto_increment not null,
bezeichnung varchar(255),
uid varchar(255),
constraint pk_hersteller primary key (hersteller_id)
);
create table kategorie (
kategorie_id bigint auto_increment not null,
bezeichnung varchar(255),
constraint pk_kategorie primary key (kategorie_id)
);
create table produkt (
produkt_id bigint auto_increment not null,
bezeichnung varchar(255),
preis double,
constraint pk_produkt primary key (produkt_id)
);
# --- !Downs
drop table if exists hersteller;
drop table if exists kategorie;
drop table if exists produkt;