Skip to content

DeityLamb/mikro-orm-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem comparing default json fields in postgresql migrations

Description

After we created the initial migration for the model with a JSON field that has a default value, all next migrations will attempt to modify the default value to the same one.

Reproduction

Create an entity that has a json field

mikro-orm migration:create
# created first migration
mikro-orm migration:up
# we up migration and not change anything
mikro-orm migration:create
# a new migration was created that changes the default value to the same

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published