Commit
24c90b37d51be3e35573c86fcbed9eb465326664
Exists in
master
and in
23 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, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
Add archived field to products
|
| @@ -0,0 +1,9 @@ |
| @@ -0,0 +1,9 @@ |
|
| |
1
| +class AddArchivedFieldToProducts < ActiveRecord::Migration |
|
| |
2
| + def self.up |
|
| |
3
| + add_column :products, :archived, :boolean, :default => false |
|
| |
4
| + end |
|
| |
5
| + |
|
| |
6
| + def self.down |
|
| |
7
| + remove_column :products, :archived |
|
| |
8
| + end |
|
| |
9
| +end |