You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cain is only able to restore if a schema exists, and is in the same as the specified tag.
We could add an option to restore the schema as well, to avoid having to create the schema before restoring.
Implementation:
add a --schema string flag to restore, which will be used to specify which schema you wish to restore.
Expected behavior:
if --schema is not specified and schema does not exist - keep current behavior (error)
if --schema is not specified and schema exists and - keep current behavior (try to restore)
if --schema is specified and schema does not exist - restore schema and try to restore
if --schema is specified and schema exists and they are equal - keep current behavior (try to restore)
if --schema is specified and schema exists and they are not equal - error
The text was updated successfully, but these errors were encountered:
Currently, cain is only able to restore if a schema exists, and is in the same as the specified
tag
.We could add an option to restore the schema as well, to avoid having to create the schema before restoring.
Implementation:
add a
--schema
string flag torestore
, which will be used to specify which schema you wish to restore.Expected behavior:
if
--schema
is not specified and schema does not exist - keep current behavior (error)if
--schema
is not specified and schema exists and - keep current behavior (try to restore)if
--schema
is specified and schema does not exist - restore schema and try to restoreif
--schema
is specified and schema exists and they are equal - keep current behavior (try to restore)if
--schema
is specified and schema exists and they are not equal - errorThe text was updated successfully, but these errors were encountered: