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:
2026-05-06 13:58:11 +03:00
parent 675ab26a6e
commit 47eda4c5c3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
import std/asyncdispatch import std/asyncdispatch
import std/asyncnet import std/asyncnet
import std/strutils import std/strutils
import std/tables
import std/os import std/os
import std/endians import std/endians
import config import config
+1 -1
View File
@@ -774,7 +774,7 @@ proc parseCreateMigration(p: var Parser): Node =
line: tok.line, col: tok.col) line: tok.line, col: tok.col)
proc parseApplyMigration(p: var Parser): Node = proc parseApplyMigration(p: var Parser): Node =
let tok = p.expect(tkIdent) # APPLY let tok = p.expect(tkApply)
discard p.expect(tkMigration) discard p.expect(tkMigration)
let name = p.expect(tkIdent).value let name = p.expect(tkIdent).value
result = Node(kind: nkApplyMigration, amName: name, line: tok.line, col: tok.col) result = Node(kind: nkApplyMigration, amName: name, line: tok.line, col: tok.col)