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

Migrate cql files from different directories #240

Open
KiVo16 opened this issue Jul 27, 2022 · 0 comments
Open

Migrate cql files from different directories #240

KiVo16 opened this issue Jul 27, 2022 · 0 comments

Comments

@KiVo16
Copy link

KiVo16 commented Jul 27, 2022

Hi,

I've multiple microservices in my project and I want to have separate cql migration files containing only tables for specific services.
For example, service1 has 3 tables and service2 has 5 tables
Is it possible?

I ran into an issue
inconsistent migrations

thrown by

if dbm[i].Name != fm[i] {
	fmt.Println(dbm[i].Name, fm[i], i)
	return errors.New("inconsistent migrations")
}

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant