Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
danicc097 committed Dec 1, 2022
1 parent 9f10c01 commit 5a0a2bf
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
DROP TABLE IF EXISTS users_1 CASCADE;
DROP TABLE IF EXISTS users_2 CASCADE;
DROP TABLE IF EXISTS users_3 CASCADE;

CREATE TABLE users_1 (
id integer not null PRIMARY KEY,
updated_at timestamp with time zone not null DEFAULT now()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,79 @@
[
{
"RawStmt": {
"stmt": {
"DropStmt": {
"objects": [
{
"List": {
"items": [
{
"String": {
"str": "users_1"
}
}
]
}
}
],
"removeType": "OBJECT_TABLE",
"behavior": "DROP_CASCADE",
"missing_ok": true
}
},
"stmt_len": 36
}
},
{
"RawStmt": {
"stmt": {
"DropStmt": {
"objects": [
{
"List": {
"items": [
{
"String": {
"str": "users_2"
}
}
]
}
}
],
"removeType": "OBJECT_TABLE",
"behavior": "DROP_CASCADE",
"missing_ok": true
}
},
"stmt_len": 37
}
},
{
"RawStmt": {
"stmt": {
"DropStmt": {
"objects": [
{
"List": {
"items": [
{
"String": {
"str": "users_3"
}
}
]
}
}
],
"removeType": "OBJECT_TABLE",
"behavior": "DROP_CASCADE",
"missing_ok": true
}
},
"stmt_len": 37
}
},
{
"RawStmt": {
"stmt": {
Expand Down Expand Up @@ -90,7 +165,7 @@
"oncommit": "ONCOMMIT_NOOP"
}
},
"stmt_len": 120
"stmt_len": 122
}
},
{
Expand Down Expand Up @@ -272,7 +347,7 @@
"events": 16
}
},
"stmt_len": 148
"stmt_len": 190
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions server/src/services/validation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ describe("Validate Tests", () => {
{
severity: DiagnosticSeverity.Error,
message: 'record "new" has no field "updated_at"',
range: Range.create(20, 0, 23, 47),
range: Range.create(24, 0, 27, 47),
}, {
severity: DiagnosticSeverity.Error,
message: 'record "new" has no field "updated_at"',
range: Range.create(28, 0, 31, 47),
range: Range.create(32, 0, 35, 47),
},
])
})
Expand Down

0 comments on commit 5a0a2bf

Please sign in to comment.