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

OS-280 Dont fail on seeding essential wo app_configuration #221

Merged
merged 1 commit into from
May 11, 2021

Conversation

kogre
Copy link
Contributor

@kogre kogre commented May 11, 2021

reload_cl_settings initializer assumes an app_configuration record already exists, which is not always the case. db:seed succeeds when it is executed together with db:migrate, as in that case the initializer is only executed once at the start, but not when it runs in isolation.

Also, the seeding is very slow because of the destroy_all on the CommonPassword table. The delete_all solves this.

@kogre kogre merged commit 3f25bdb into master May 11, 2021
@kogre kogre deleted the OS-280-seed-essential branch May 11, 2021 16:52
adessy pushed a commit that referenced this pull request Dec 16, 2022
…without-required-keys

[CL-541] Disable features w/o required-settings in create_tenant.rake
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

Successfully merging this pull request may close these issues.

None yet

2 participants