Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
enable by default foreign key constrait
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Mosciatti committed Jan 17, 2018
1 parent b3fea8f commit a45fe4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ extern "C" fn CreateDB(ctx: *mut r::ffi::RedisModuleCtx,
"setup".to_owned(),
"path".to_owned(),
path,
)
).and_then(|_| {
r::enable_foreign_key(&rc)
})
}) {
Err(e) => e.reply(ctx),
Ok(()) => {
Expand Down

0 comments on commit a45fe4f

Please sign in to comment.