Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Requests on migrations (already tracked/exists: storage.buckets, bucket, files) #338

Open
Konard opened this issue Jun 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Jun 23, 2024

gitpod /workspace/empty/dev (main) $ npm run local-migrate

> @deep-foundation/dev@0.0.21 local-migrate
> export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET="{\"type\":\"HS256\",\"key\":\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\"}"; export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=0; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007; export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql; export NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 export MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run migrate


> @deep-foundation/deeplinks@0.0.348 migrate
> npm run package:build && npx migrate@latest up --matches '*.js'


> @deep-foundation/deeplinks@0.0.348 package:build
> tsc --project tsconfig.json

ok
ok
(node:7545) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  up : 1616701513782-links.js
  up : 1616701513790-selectors-cache.js
  up : 1621815803560-auto-indexes.js
  up : 1621815803572-materialized-path.js
  up : 1621815803592-type-mp.js
  up : 1622230000000-reserved-links.js
  up : 1622421760250-values.js
  up : 1622421760256-types.js
admin 380
  up : 1622421760258-selectors.js
  up : 1622421760259-can.js
  up : 1622421760260-permissions.js
  up : 1623023831753-jwt.js
  up : 1637975150573-packager.js
  up : 1637975150590-promises.js
  up : 1642827746040-demo.js
  up : 1655979260869-sync-handlers.js
  up : 1657486935281-authorization.js
  up : 1657720948151-handlers.js
  up : 1658622099992-unvalue.js
  up : 1658909585601-hasura-storage.js
error Bad Request {
  path: '$.args',
  error: 'view/table already tracked : "storage.buckets"',
  code: 'already-tracked'
}
error Bad Request {
  path: '$.args',
  error: 'field with name "bucket" already exists in table "storage.files"',
  code: 'already-exists'
}
error Bad Request {
  path: '$.args',
  error: 'field with name "files" already exists in table "storage.buckets"',
  code: 'already-exists'
}
  up : 1661392616544-core-symbols.js
  up : 1664940577200-tsx.js
  up : 1664940577209-deepcase.js
  up : 1677340638677-npm-packager.js
  up : 1678940577209-deepcase.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant