mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
deploy: 41900b74f86b7f31db37e4154a30837f6fbf3cbd
This commit is contained in:
parent
c4a853ea6f
commit
e554f5a33b
@ -1,11 +1,12 @@
|
||||
{.push raises: [Defect].}
|
||||
{.push raises: [].}
|
||||
|
||||
import tables, stew/results, strutils, os
|
||||
import
|
||||
std/[tables, os, strutils],
|
||||
stew/results
|
||||
|
||||
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
||||
const MessageStoreMigrationPath* = sourceDir / "migrations_scripts/message"
|
||||
const PeerStoreMigrationPath* = sourceDir / "migrations_scripts/peer"
|
||||
const AllStoreMigrationPath* = sourceDir / "migrations_scripts"
|
||||
template projectRoot: string = currentSourcePath.rsplit(DirSep, 1)[0] / ".." / ".." / ".." / ".." / ".."
|
||||
const MessageStoreMigrationPath* = projectRoot / "migrations" / "message_store"
|
||||
const PeerStoreMigrationPath* = projectRoot / "migrations" / "peer_store"
|
||||
|
||||
type MigrationScriptsResult*[T] = Result[T, string]
|
||||
type
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user