Skip to content

/fk directive overrides INT data type to number #43

@dmcghan

Description

@dmcghan

This Quick SQL:

test
  foo_id int /nn /fk foo

Yields this SQL:

create table test (
    id        number generated by default on null as identity
              constraint test_id_pk primary key,
    foo_id    number
              constraint test_foo_id_fk
              references foo not null
);

Note that foo_id is a number, not an int as defined.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions