Fix randomize for all array types, remove generic
* GenericArray can't work with generated code. * Multi-dimensional arrays can't work because PSQL does not have a method to discover array depth.
This commit is contained in:
parent
e62dfe369f
commit
9bcaf51493
6 changed files with 89 additions and 534 deletions
testdata
19
testdata/test_schema.sql
vendored
19
testdata/test_schema.sql
vendored
|
@ -194,3 +194,22 @@ create table enemies (
|
|||
enemies character varying,
|
||||
primary key (enemies)
|
||||
);
|
||||
|
||||
create table fun_arrays (
|
||||
id serial,
|
||||
fun_one integer[] null,
|
||||
fun_two integer[] not null,
|
||||
fun_three boolean[] null,
|
||||
fun_four boolean[] not null,
|
||||
fun_five varchar[] null,
|
||||
fun_six varchar[] not null,
|
||||
fun_seven decimal[] null,
|
||||
fun_eight decimal[] not null,
|
||||
fun_nine bytea[] null,
|
||||
fun_ten bytea[] not null,
|
||||
fun_eleven jsonb[] null,
|
||||
fun_twelve jsonb[] not null,
|
||||
fun_thirteen json[] null,
|
||||
fun_fourteen json[] not null,
|
||||
primary key (id)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue