Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also reset PKs
Browse files Browse the repository at this point in the history
krlmlr committed Oct 29, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2164518 commit 2e61f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/db-interface.R
Original file line number Diff line number Diff line change
@@ -164,6 +164,8 @@ copy_dm_to <- function(
dm_for_sql <- dm
} else {
def_no_keys <- dm_get_def(dm)
# FIXME: Add test
def_no_keys$pks[] <- list(new_pk())
def_no_keys$uks[] <- list(new_uk())
def_no_keys$fks[] <- list(new_fk())
# Must keep primary keys

0 comments on commit 2e61f8e

Please sign in to comment.