Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that CREATE OR REPLACE DB deletes indexes and constraints as well (#2154) #2160

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

NataliaIvakina
Copy link
Collaborator

You may need to preserve the database structure (indexes and constraints) when you move the database from test env to production. In this case, it's important to know that the CREATE OR REPLACE DB cmd removes not only data but also indexes and constraints. If you want to keep them, you have to do it before executing the command.

…well (neo4j#2154)

You may need to preserve the database structure (indexes and
constraints) when you move the database from test env to production. In
this case, it's important to know that the `CREATE OR REPLACE DB` cmd
removes not only data but also indexes and constraints. If you want to
keep them, you have to do it before executing the command.
@NataliaIvakina NataliaIvakina merged commit fd1db9e into neo4j:main Mar 3, 2025
4 checks passed
@NataliaIvakina NataliaIvakina deleted the main-create-replace branch March 3, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant