deploy: 27a7040f8e4bde16d87eccf33b4123e5a86262c5

This commit is contained in:
LNSD 2022-11-03 17:31:25 +00:00
parent 8c01a27b48
commit 550ae55fcc
10 changed files with 8 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libbacktrace) version-unused
# Libtool was configured on host fv-az222-160:
# Libtool was configured on host fv-az119-190:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,

View File

@ -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