Skip to content

Commit

Permalink
fixing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Sep 5, 2024
1 parent 76a3f23 commit e04ae49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/drivers/sqlite/sql-parse-table.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ it("parse column constraint", () => {
pcc(`foreign key ("user_id") references "users" on delete cascade ("id")`)
).toEqual({
foreignKey: {
foreignSchemaName: "main",
columns: ["user_id"],
foreignTableName: "users",
foreignColumns: ["id"],
Expand Down Expand Up @@ -183,6 +184,7 @@ it("parse create table with table constraints", () => {
},
{
foreignKey: {
foreignSchemaName: "main",
columns: ["category_id"],
foreignColumns: ["id"],
foreignTableName: "category",
Expand Down

0 comments on commit e04ae49

Please sign in to comment.