Skip to content

Commit f02dac9

Browse files
committed
Fix scaffolding error with Firebird 2.5 caused by boolean conversion
1 parent 9d572ea commit f02dac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FirebirdSql.EntityFrameworkCore.Firebird/Scaffolding/Internal/FbDatabaseModelFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private void GetPrimaryKeys(DbConnection connection, IReadOnlyList<DatabaseTable
311311
@"SELECT
312312
trim(I.rdb$index_name) as INDEX_NAME,
313313
COALESCE(I.rdb$unique_flag, 0) as IS_UNIQUE,
314-
Coalesce(I.rdb$index_type, 0) = 1 as IS_DESC,
314+
Coalesce(I.rdb$index_type, 0) as IS_DESC,
315315
list(trim(sg.RDB$FIELD_NAME)) as COLUMNS
316316
FROM
317317
RDB$INDICES i

0 commit comments

Comments
 (0)