mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 11:03:57 +00:00
fix(cassandra): ignore default value if engine skips it in table analyse
This commit is contained in:
@@ -47,7 +47,7 @@ const txMatch = (engine, tname, vcolname, nextcol, defaultValue) =>
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
columnName: vcolname,
|
columnName: vcolname,
|
||||||
...(engine.skipNullability ? {} : { notNull: !!defaultValue }),
|
...(engine.skipNullability ? {} : { notNull: !!defaultValue }),
|
||||||
...(defaultValue
|
...(defaultValue && !engine.skipDefaultValue
|
||||||
? { defaultValue }
|
? { defaultValue }
|
||||||
: {
|
: {
|
||||||
dataType: engine.skipStringLength
|
dataType: engine.skipStringLength
|
||||||
|
|||||||
Reference in New Issue
Block a user