mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-23 19:00:38 +00:00
No effective change - postgres ddl review update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- Generated by ebean unknown at 2019-12-04T08:21:16.534536Z
|
||||
-- Generated by ebean unknown at 2020-01-29T03:48:48.954541Z
|
||||
create table asimple_bean (
|
||||
id bigserial not null,
|
||||
name varchar(255),
|
||||
@@ -619,6 +619,14 @@ create table dexh_entity (
|
||||
constraint pk_dexh_entity primary key (oid)
|
||||
);
|
||||
|
||||
create table dint_parent (
|
||||
type integer not null,
|
||||
id bigserial not null,
|
||||
val integer,
|
||||
more varchar(255),
|
||||
constraint pk_dint_parent primary key (id)
|
||||
);
|
||||
|
||||
create table dmachine (
|
||||
id bigserial not null,
|
||||
name varchar(255),
|
||||
@@ -863,7 +871,7 @@ create table earray_bean (
|
||||
foo integer,
|
||||
name varchar(255),
|
||||
phone_numbers varchar[],
|
||||
uids uuid[],
|
||||
uids uuid[] not null,
|
||||
other_ids bigint[],
|
||||
doubs float[],
|
||||
statuses integer[],
|
||||
@@ -2687,6 +2695,19 @@ create table oroad_show_msg (
|
||||
constraint pk_oroad_show_msg primary key (id)
|
||||
);
|
||||
|
||||
create table om_account_child_dbo (
|
||||
id bigserial not null,
|
||||
description varchar(255),
|
||||
banana_rama_id bigint,
|
||||
constraint pk_om_account_child_dbo primary key (id)
|
||||
);
|
||||
|
||||
create table om_account_dbo (
|
||||
id bigserial not null,
|
||||
name varchar(255),
|
||||
constraint pk_om_account_dbo primary key (id)
|
||||
);
|
||||
|
||||
create table om_basic_child (
|
||||
id bigserial not null,
|
||||
name varchar(255),
|
||||
@@ -3679,6 +3700,13 @@ create table sa_tire (
|
||||
);
|
||||
create sequence sa_tire_seq;
|
||||
|
||||
create table tree_entity (
|
||||
id serial not null,
|
||||
text varchar(255),
|
||||
parent_id integer,
|
||||
constraint pk_tree_entity primary key (id)
|
||||
);
|
||||
|
||||
create table trip (
|
||||
id serial not null,
|
||||
vehicle_driver_id integer,
|
||||
@@ -4495,6 +4523,9 @@ alter table omvertex_other add constraint fk_omvertex_other_omvertex_id foreign
|
||||
|
||||
alter table oroad_show_msg add constraint fk_oroad_show_msg_company_id foreign key (company_id) references ocompany (id) on delete restrict on update restrict;
|
||||
|
||||
create index ix_om_account_child_dbo_banana_rama_id on om_account_child_dbo (banana_rama_id);
|
||||
alter table om_account_child_dbo add constraint fk_om_account_child_dbo_banana_rama_id foreign key (banana_rama_id) references om_account_dbo (id) on delete restrict on update restrict;
|
||||
|
||||
create index ix_om_basic_child_parent_id on om_basic_child (parent_id);
|
||||
alter table om_basic_child add constraint fk_om_basic_child_parent_id foreign key (parent_id) references om_basic_parent (id) on delete restrict on update restrict;
|
||||
|
||||
@@ -4689,6 +4720,9 @@ alter table twheel add constraint fk_twheel_owner_plate_no foreign key (owner_pl
|
||||
|
||||
alter table tire add constraint fk_tire_wheel foreign key (wheel) references wheel (id) on delete restrict on update restrict;
|
||||
|
||||
create index ix_tree_entity_parent_id on tree_entity (parent_id);
|
||||
alter table tree_entity add constraint fk_tree_entity_parent_id foreign key (parent_id) references tree_entity (id) on delete restrict on update restrict;
|
||||
|
||||
create index ix_trip_vehicle_driver_id on trip (vehicle_driver_id);
|
||||
alter table trip add constraint fk_trip_vehicle_driver_id foreign key (vehicle_driver_id) references vehicle_driver (id) on delete restrict on update restrict;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-- Generated by ebean unknown at 2019-12-04T08:21:16.534536Z
|
||||
-- Generated by ebean unknown at 2020-01-29T03:48:48.954541Z
|
||||
alter table if exists bar drop constraint if exists fk_bar_foo_id;
|
||||
drop index if exists ix_bar_foo_id;
|
||||
|
||||
@@ -542,6 +542,9 @@ drop index if exists ix_omvertex_other_omvertex_id;
|
||||
|
||||
alter table if exists oroad_show_msg drop constraint if exists fk_oroad_show_msg_company_id;
|
||||
|
||||
alter table if exists om_account_child_dbo drop constraint if exists fk_om_account_child_dbo_banana_rama_id;
|
||||
drop index if exists ix_om_account_child_dbo_banana_rama_id;
|
||||
|
||||
alter table if exists om_basic_child drop constraint if exists fk_om_basic_child_parent_id;
|
||||
drop index if exists ix_om_basic_child_parent_id;
|
||||
|
||||
@@ -736,6 +739,9 @@ drop index if exists ix_twheel_owner_plate_no;
|
||||
|
||||
alter table if exists tire drop constraint if exists fk_tire_wheel;
|
||||
|
||||
alter table if exists tree_entity drop constraint if exists fk_tree_entity_parent_id;
|
||||
drop index if exists ix_tree_entity_parent_id;
|
||||
|
||||
alter table if exists trip drop constraint if exists fk_trip_vehicle_driver_id;
|
||||
drop index if exists ix_trip_vehicle_driver_id;
|
||||
|
||||
@@ -957,6 +963,8 @@ drop table if exists dcredit_drol cascade;
|
||||
|
||||
drop table if exists dexh_entity cascade;
|
||||
|
||||
drop table if exists dint_parent cascade;
|
||||
|
||||
drop table if exists dmachine cascade;
|
||||
|
||||
drop table if exists d_machine_aux_use cascade;
|
||||
@@ -1537,6 +1545,10 @@ drop table if exists omvertex_other cascade;
|
||||
|
||||
drop table if exists oroad_show_msg cascade;
|
||||
|
||||
drop table if exists om_account_child_dbo cascade;
|
||||
|
||||
drop table if exists om_account_dbo cascade;
|
||||
|
||||
drop table if exists om_basic_child cascade;
|
||||
|
||||
drop table if exists om_basic_parent cascade;
|
||||
@@ -1785,6 +1797,8 @@ drop sequence if exists tire_seq;
|
||||
drop table if exists sa_tire cascade;
|
||||
drop sequence if exists sa_tire_seq;
|
||||
|
||||
drop table if exists tree_entity cascade;
|
||||
|
||||
drop table if exists trip cascade;
|
||||
|
||||
drop table if exists truck_ref cascade;
|
||||
|
||||
Reference in New Issue
Block a user