Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (10 sloc) 1.24 KB
alias description
viuf8uus7o
An overview of how to configure and manage the database model with Graphcool.

Overview

Graphcool offers an abstraction over your database. This means you don't need to use SQL any more. Instead, you're using the GraphQL Schema Definition Language (SDL) for your type definitions. Graphcool then generates and manages the underlying database schema for you.

Migrations can be performed by updating your type definitions and running the graphcool deploy command in the CLI. In cases where additional information for a migration is required (such as default values for a non-nullable type that was added to the database schema), you need to provide an additional file with the required information.

Every Graphcool service is backed by a SQL database. When deploying to a shared cluster, the service comes with an instance of AWS Aurora. For deployments with Docker, MySQL is used.