Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle generated by default on null and primary key contraint #203

Closed
jdobruchowski opened this issue Aug 14, 2023 · 1 comment
Closed
Assignees

Comments

@jdobruchowski
Copy link

Hello
create table event_types ( id number constraint event_types_id_pk primary key ) ;
and
create table event_types ( id number generated by default on null as identity ) ;

unfortunately return empty array

those could also be written like this

create table event_types ( id number generated by default on null as identity constraint event_types_id_pk primary key ) ;

python 3.10.12 , v0.30.0

@xnuinside xnuinside self-assigned this May 9, 2024
@xnuinside
Copy link
Owner

xnuinside commented May 9, 2024

It was tooooo long but anyway )) I finally added support for Oracle's generated by & constraint with name in column def. Released in version 1.2.1, tests added - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/dialects/test_oracle.py#L838 if will be needed anything else, feel free to open new issue and thanks for opening that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants