mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
d6b82e3792
* blockstore migration * use a testdb for tests, * cut down test sizes so they run a bit faster * test init/cleanup code improvements
16 lines
362 B
Go
16 lines
362 B
Go
// Copyright 2023, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// provides the io/fs for DB migrations
|
|
package db
|
|
|
|
import "embed"
|
|
|
|
// since embeds must be relative to the package directory, this source file is required
|
|
|
|
//go:embed migrations/*.sql
|
|
var MigrationFS embed.FS
|
|
|
|
//go:embed blockstore-migrations/*.sql
|
|
var BlockstoreMigrationFS embed.FS
|