Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
559c7d8
handle 1e1 notiation correctly, also big large numbers in a more sane…
jim-lake Nov 28, 2025
356ab64
allow set to include the full grammar
jim-lake Nov 28, 2025
a9f0eaf
type fixes and type checks
jim-lake Dec 13, 2025
72232fc
more tests
jim-lake Dec 13, 2025
8fba3f4
cleanup types more and more tests
jim-lake Dec 13, 2025
2d179e8
better types
jim-lake Dec 13, 2025
b3c2d94
more type cleanups
jim-lake Dec 13, 2025
19f31b2
more types
jim-lake Dec 13, 2025
b6389a9
more type cleanup
jim-lake Dec 13, 2025
ada7eda
types
jim-lake Dec 13, 2025
e9a9a5e
cleanup
jim-lake Dec 13, 2025
b234b8a
test cleanup
jim-lake Dec 13, 2025
91eaf0d
no postgres period
jim-lake Dec 13, 2025
22acc8d
cleanup
jim-lake Dec 13, 2025
ce6493e
mysql subdir to make it obvious is mysql only
jim-lake Dec 13, 2025
c6c8dce
remove unused types
jim-lake Dec 13, 2025
71adf14
remove vacuous tests
jim-lake Dec 13, 2025
5334906
cleanup code quality
jim-lake Dec 14, 2025
d709164
improve typing
jim-lake Dec 14, 2025
92d5bc7
no kw dumb
jim-lake Dec 14, 2025
9060e7b
guard
jim-lake Dec 14, 2025
a0a5e87
dumb ai
jim-lake Dec 14, 2025
4840d19
no params
jim-lake Dec 14, 2025
9514206
more type fixes
jim-lake Dec 14, 2025
15b3524
more specs
jim-lake Dec 14, 2025
1286fe2
cleanup
jim-lake Dec 14, 2025
4736ba0
cleanup alter
jim-lake Dec 14, 2025
9f7b7a4
cleanup types
jim-lake Dec 14, 2025
a7187c8
cleanup tests
jim-lake Dec 14, 2025
72abcaa
cleanup
jim-lake Dec 14, 2025
6a14c69
more tests
jim-lake Dec 14, 2025
fe50b4a
cleanup types
jim-lake Dec 14, 2025
1ef5cce
cleanup
jim-lake Dec 14, 2025
bb77807
dumb
jim-lake Dec 14, 2025
85136f9
cleanup
jim-lake Dec 14, 2025
23e3e70
more tests
jim-lake Dec 14, 2025
632468a
tests
jim-lake Dec 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion ast/postgresql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export type alter_table_stmt = AstStatement<alter_table_stmt_node>;

export type alter_action_list = alter_action[];

export type alter_action = ALTER_ADD_COLUMN | ALTER_ADD_CONSTRAINT | ALTER_DROP_COLUMN | ALTER_ADD_INDEX_OR_KEY | ALTER_ADD_FULLETXT_SPARITAL_INDEX | ALTER_RENAME | ALTER_ALGORITHM | ALTER_LOCK | ALTER_OWNER_TO | ALTER_COLUMN_DATA_TYPE | ALTER_COLUMN_DEFAULT | ALTER_COLUMN_NOT_NULL;
export type alter_action = ALTER_ADD_COLUMN | ALTER_ADD_CONSTRAINT | ALTER_DROP_CONSTRAINT | ALTER_DROP_COLUMN | ALTER_ADD_INDEX_OR_KEY | ALTER_ADD_FULLETXT_SPARITAL_INDEX | ALTER_RENAME | ALTER_ALGORITHM | ALTER_LOCK | ALTER_OWNER_TO | ALTER_COLUMN_DATA_TYPE | ALTER_COLUMN_DEFAULT | ALTER_COLUMN_NOT_NULL;



Expand Down Expand Up @@ -482,6 +482,16 @@ export type ALTER_ADD_CONSTRAINT = {



export type ALTER_DROP_CONSTRAINT = {
action: 'drop';
constraint: ident,
keyword: 'constraint',
resource: 'constraint',
type: 'alter';
};



export type ALTER_ADD_INDEX_OR_KEY = {
action: 'add';
type: 'alter';
Expand Down
Loading