[SqlDelight] can i use pragme user_version to stor...
# squarelibraries
n
[SqlDelight] can i use pragme user_version to store the current migration version for sqldelight? https://www.sqlite.org/pragma.html#pragma_user_version when i tried to add it..
Copy code
setUserVersion:
    PRAGMA schema.user_version = :version;
<pragma value real> expected, got ':'
i could probably call it with ‘unsafe’ raw SQL.. might look into this later
n
thanks, this got me started.. needed to change things around a bit to work with async queries using WebWorkerDriver (wrap in AsyncResult, call await(), etc) but it works 😛