Closed samthebest closed 7 years ago
Hi @samthebest, thanks for getting in touch.
This behaviour is expected - as per https://github.com/sky-uk/cqlmigrate#cassandra-prerequisites:
The locks keyspace and table needs to be created before running any migrations.
Creating the locks keyspace and table should be a one-off that applies regardless of how many apps you're using cqlmigrate
for, but it has to be done outside the scope of cqlmigrate
otherwise there's a chicken-and-egg problem: how can you perform locking around creating the locking mechanism? 😃
Hope that makes sense. I'm going to close this issue now as the behaviour you've experienced is working as designed.
Thanks @oliverlockwood this thread ought to serve future googlers well.
Agreed :+1:
Followed example in the README, and fails with the following.
Code: