Commit
64fddd5375fd03b1b9f49e487e05cb01a5968ded
Exists in
master
and in
21 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, news_page, script_to_update, template_mirror_block, tests, tests_fixies
profile-suggestions: add migration to create initial suggestions
|
| @@ -0,0 +1,9 @@ |
| @@ -0,0 +1,9 @@ |
|
| |
1
| +class BootstrapProfileSuggestions < ActiveRecord::Migration |
|
| |
2
| + def up |
|
| |
3
| + ProfileSuggestion.generate_all_profile_suggestions |
|
| |
4
| + end |
|
| |
5
| + |
|
| |
6
| + def down |
|
| |
7
| + ProfileSuggestion.delete_all |
|
| |
8
| + end |
|
| |
9
| +end |