You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since I've used the push command, I get a LONG list of changes that occur even when nothing has changed at all. Since there were a lot of changes, I didn't know where to begin debugging since it might as well be failing on everything that's like, say, an array type; especially given it seemed like an upstream issue.
But today, after bumping to latest release 0.21.0, the number of those changes dropped down to just 4; they're still meaningless and nothing actually changed, but now I could debug it.
ALTERTABLE"courses" ALTER COLUMN "prerequisites"SET DEFAULT '{}';
ALTERTABLE"courses" ALTER COLUMN "similar_courses"SET DEFAULT '{}';
ALTERTABLE"club_members" ALTER COLUMN "position"SET DEFAULT 'member';
ALTERTABLE"club_members" ALTER COLUMN "internal_groups"SET DEFAULT '{}';
Potential cause
After looking around that what's so special about these columns specifically, I'm drawing the conclusion that it occurs for columns with both a length constraint and a default specifier.
Problem
Ever since I've used the
push
command, I get a LONG list of changes that occur even when nothing has changed at all. Since there were a lot of changes, I didn't know where to begin debugging since it might as well be failing on everything that's like, say, an array type; especially given it seemed like an upstream issue.But today, after bumping to latest release
0.21.0
, the number of those changes dropped down to just 4; they're still meaningless and nothing actually changed, but now I could debug it.Potential cause
After looking around that what's so special about these columns specifically, I'm drawing the conclusion that it occurs for columns with both a
length
constraint and adefault
specifier.Here are the column definitions:
This might be related to #319.
The text was updated successfully, but these errors were encountered: