Skip to content

Commit

Permalink
Fix typo of foreign in sql snippets (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaranveerB authored Dec 2, 2024
1 parent 4b320fe commit 93c2af7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snippets/sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@
"body": ["CONSTRAINT ${1:attribute} PRIMARY KEY(${2:attribute(s)})"],
"description": "Constraint Primary Key"
},
"foreingk": {
"prefix": "foreingk",
"foreignk": {
"prefix": "foreignk",
"body": [
"FOREIGN KEY(${1:attribute}) REFERENCES ${2:tableName}(${3:attribute})"
],
"description": "Foreign Key"
},
"foreingkc": {
"prefix": "foreingkc",
"foreignkc": {
"prefix": "foreignkc",
"body": [
"CONSTRAINT ${1:attribute} FOREIGN KEY (${2:attribute(s)})",
"\tREFERENCES ${3:tableName}(${4:attribute})"
Expand Down

0 comments on commit 93c2af7

Please sign in to comment.