Sha256: 3ef82829fb5db8332d61be1fc21d376dccc46d514210622f6641db3ee8dc07d0

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 Bytes

Contents

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

class CreateShares < ActiveRecord::Migration
  def self.up
    create_table :shares do |t|
      t.column :path, :string
      t.column :polling_interval, :double, default: 15
      t.column :notification, :boolean, default: true
    end
  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/001_create_shares.rb
gitdocs-0.6.1 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.6.0 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0.pre7 lib/gitdocs/migration/001_create_shares.rb