Skip to content

Commit

Permalink
chore: add back all deps to test project
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 7, 2024
1 parent b2127a7 commit 049e319
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 77 deletions.
1 change: 1 addition & 0 deletions src/build/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ async function buildSteps(
buildStep(buildState, {
name: `Migrate`,
module,
// TODO: Also watch migrations folder in case a migration is created/destroyed
files: [resolve(module.path, "db", "schema.prisma")],
async build() {
if ("local" in module.registry.config) {
Expand Down
20 changes: 7 additions & 13 deletions tests/test_project/backend.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
registries:
# default:
# local:
# directory: ../../../opengb-registry/modules
default:
local:
directory: ../../../opengb-registry/modules
local:
local:
directory: ./modules
modules:
# currency: {}
# friends: {}
# rate_limit: {}
# tokens: {}
currency: {}
friends: {}
rate_limit: {}
tokens: {}
users: {}
# auth:
# config:
# google:
# token: abc123
# discord:
# token: abc123
foo:
registry: local

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- CreateTable
CREATE TABLE "DbEntry" (
"id" UUID NOT NULL,

CONSTRAINT "DbEntry_pkey" PRIMARY KEY ("id")
);

0 comments on commit 049e319

Please sign in to comment.