Schemity Round-Trips Bitwarden and Smartstore SQL Server Schemas, Fixing Type and Index Losses

The author, who builds the Schemity desktop ERD tool, tested whether a SQL Server schema could be read into a diagram and written back unchanged. Two open-source databases were used: Bitwarden server v2026.10.0, a hand-written SQL Server database project, and Smartstore 6.4.0, built with Entity Framework Core. Before fixes, Bitwarden's script failed, varchar columns came back as nvarchar, some types widened, and filtered indexes lost their WHERE clauses, so copies behaved differently from originals. After the fixes, Smartstore showed no catalog differences, while Bitwarden differed only in two foreign keys created WITH NOCHECK. Both rebuilt databases matched their originals across 21 behaviour probes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in