Class: AddPublishedToCargoWikiArticles
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddPublishedToCargoWikiArticles
- Defined in:
- lib/generators/cargo_wiki/templates/add_published_to_cargo_wiki_articles.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 |
# File 'lib/generators/cargo_wiki/templates/add_published_to_cargo_wiki_articles.rb', line 2 def change add_column :cargo_wiki_articles, :published, :boolean, :default => true end |