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.4.15 lib/gitdocs/migration/001_create_shares.rb
siuying-gitdocs-0.4.16 lib/gitdocs/migration/001_create_shares.rb
siuying-gitdocs-0.4.15 lib/gitdocs/migration/001_create_shares.rb
siuying-gitdocs-0.4.14 lib/gitdocs/migration/001_create_shares.rb
siuying-gitdocs-0.4.14.md lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.14 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.13 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.12 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.11 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.10 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.9 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.8 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.7 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.6 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.5 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.3 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.2 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.1 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.4.0 lib/gitdocs/migration/001_create_shares.rb
gitdocs-0.3.6 lib/gitdocs/migration/001_create_shares.rb