Class: AddSyncType
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddSyncType
- Defined in:
- lib/gitdocs/migration/007_add_sync_type.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
8 9 10 |
# File 'lib/gitdocs/migration/007_add_sync_type.rb', line 8 def self.down fail end |
.up ⇒ Object
4 5 6 |
# File 'lib/gitdocs/migration/007_add_sync_type.rb', line 4 def self.up add_column :shares, :sync_type, :string, default: 'full' end |