chrisbull
07/30/2018, 9:34 PMprisma deploy
if you’ve added any fields to your type object, it generates a new column in your table with a default value of null
. If you want to set a default value use { someValue: String! @default(value: 'somedefault')
. This is assuming you are not using an existing database and that “migrations: true” in your docker-compose.yml. If you are using an existing database migrations will be set to false (this is to protect your database from any changes to the existing tables).