fix: APPLY MIGRATION parser + add std/tables import to server.nim
- Fixed parseApplyMigration to use p.expect(tkApply) instead of p.expect(tkIdent) - Added std/tables import to server.nim for Row table operations - All 216 tests pass + 15/15 integration tests pass
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import std/asyncdispatch
|
||||
import std/asyncnet
|
||||
import std/strutils
|
||||
import std/tables
|
||||
import std/os
|
||||
import std/endians
|
||||
import config
|
||||
|
||||
@@ -774,7 +774,7 @@ proc parseCreateMigration(p: var Parser): Node =
|
||||
line: tok.line, col: tok.col)
|
||||
|
||||
proc parseApplyMigration(p: var Parser): Node =
|
||||
let tok = p.expect(tkIdent) # APPLY
|
||||
let tok = p.expect(tkApply)
|
||||
discard p.expect(tkMigration)
|
||||
let name = p.expect(tkIdent).value
|
||||
result = Node(kind: nkApplyMigration, amName: name, line: tok.line, col: tok.col)
|
||||
|
||||
Reference in New Issue
Block a user