Sha256: 0c213ce7193aa8e2cce73750ce5d286ff6701f4f6a8a645f10956f8d9a562cd6

Contents?: true

Size: 287 Bytes

Versions: 26

Compression:

Stored size: 287 Bytes

Contents

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
    raise
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
gitdocs-0.3.5 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.4 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.3 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.2 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.1 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.0 lib/gitdocs/migration/001_create_shares.rb