copy_dm_to()
uses dm_sql()
. Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in ALTER TABLE
statements (at this time, all except DuckDB and SQLite, #664)
#2022