Skip to content

Commit

Permalink
parser: Extended support for NOT NULL and UNIQUE column constraints
Browse files Browse the repository at this point in the history
This adds support for conflict actions in NOT NULL and UNIQUE column
constraints. It also supports named NOT NULL and UNIQUE column
constraints. With this it is now possible to edit tables which make use
of these constraints without losing any information. Adding constraints
like this via the UI is still not supported though.

Once more constraints are handled like this, the code can be probably
simplified a lot.
  • Loading branch information
MKleusberg committed Jun 19, 2020
1 parent 60f1214 commit 1559fb3
Show file tree
Hide file tree
Showing 6 changed files with 1,594 additions and 1,211 deletions.
2 changes: 1 addition & 1 deletion src/sql/parser/sqlite3_location.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// A Bison parser, made by GNU Bison 3.5.1.
// A Bison parser, made by GNU Bison 3.6.3.

// Locations for Bison parsers in C++

Expand Down
Loading

0 comments on commit 1559fb3

Please sign in to comment.