Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 948 Bytes

File metadata and controls

28 lines (19 loc) · 948 Bytes

Please wait

Gitpod is initializing your workspace:

Via .gitpod.yml

  • intall packages: edgedb, @edgedb/generate, typescript
  • install edgedb CLI
  • init edgedb project
  • modify default schema
  • run migrations

edgedb-logo

Notes:

Always fresh database When your gitpod workspace restarts, objects created in your edgedb database will be deleted. (file changes are preserved for 14 days)

Publish to git To save your playground changes and share for troubleshooting

Only Two Important Files

  • schema dbschema/default.esdl
  • query builder code src/index.ts

Commands

  • npm run migrate - helper to create/apply migrations and run generators
  • npm run query - to execute your queries transpiles ts to js, then runs node on 'dist/src/'
  • npm run ui - returns edgedb ui link in terminal