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

Proper tablePattern #2

Open
Dinosane2 opened this issue Mar 28, 2021 · 2 comments
Open

Proper tablePattern #2

Dinosane2 opened this issue Mar 28, 2021 · 2 comments

Comments

@Dinosane2
Copy link

I believe the proper tablePattern (schemas.dart) should be

(\w+)\s+\(

as it works for such cases as

CREATE TABLE [IF NOT EXISTS] [schema_name].table_name (
	column_1 data_type PRIMARY KEY,
	column_2 data_type NOT NULL,
	column_3 data_type DEFAULT 0,
	table_constraints
) [WITHOUT ROWID];

currently it works only to
CREATE TABLE table_name (

Thanks for you great tool, Sqfly!

@hsul4n
Copy link
Owner

hsul4n commented Mar 29, 2021

@Dinosane2 thanks bro, will check that also..

@hsul4n
Copy link
Owner

hsul4n commented Apr 16, 2021

@Dinosane2 why not creating a PR.

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