Sha256: 95ffd3732dc0091125bd466cc65b3645f5475440e3f8bf4a62e3c1caf6da0c73

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddSyncType < ActiveRecord::Migration
  def self.up
    add_column :shares, :sync_type, :string, default: 'full'
  end

  def self.down
    fail
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitdocs-0.6.2 lib/gitdocs/migration/007_add_sync_type.rb
gitdocs-0.6.1 lib/gitdocs/migration/007_add_sync_type.rb
gitdocs-0.6.0 lib/gitdocs/migration/007_add_sync_type.rb
gitdocs-0.5.0 lib/gitdocs/migration/007_add_sync_type.rb
gitdocs-0.5.0.pre7 lib/gitdocs/migration/007_add_sync_type.rb