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
Developer workflows for adding new statements to a CQL file that's already been migrated to a local cassandra. There are two current approaches:
Add new CQL files to migrate that will be merged into a single CQL file when development work is ready to be committed
Repeatedly drop keyspace ... with cqlsh and rerun cquill migrate
Hibernate and Flyway supports dropping and recreating schemas for developer experience. This could be replicated with a --refresh or --dev-refresh flag on the migrate command.
I'm hesitant about introducing this as a param that could accidentally get ran against a production database. Another option would be to introduce a new command called dev that would behave like migrate with the extra step of removing the existing keyspaces.
The text was updated successfully, but these errors were encountered:
Developer workflows for adding new statements to a CQL file that's already been migrated to a local cassandra. There are two current approaches:
drop keyspace ...
withcqlsh
and reruncquill migrate
Hibernate and Flyway supports dropping and recreating schemas for developer experience. This could be replicated with a
--refresh
or--dev-refresh
flag on the migrate command.I'm hesitant about introducing this as a param that could accidentally get ran against a production database. Another option would be to introduce a new command called
dev
that would behave likemigrate
with the extra step of removing the existing keyspaces.The text was updated successfully, but these errors were encountered: