Sha256: c016a97dea48b47ab30187fd3f59f7c88398f15a9dd1e02e6d9e68262409a4db

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 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
    fail
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitdocs-0.5.0.pre6 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0.pre5 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0.pre3 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0.pre2 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.5.0.pre1 lib/gitdocs/migration/001_create_shares.rb