20 lines
322 B
Plaintext
20 lines
322 B
Plaintext
/*
|
|
create tables for test db
|
|
*/
|
|
|
|
|
|
create sequence test_div_seq;
|
|
commit;
|
|
create domain D_ID as BIGINT;
|
|
create domain D_DOUBLE as double precision;
|
|
create domain D_BIGINT as BIGINT;
|
|
|
|
create table test_div(
|
|
test_div_id d_id generated always as identity
|
|
, numerator D_BIGINT
|
|
, denominator D_BIGINT
|
|
, result D_DOUBLE
|
|
);
|
|
|
|
|