lib/gitdocs/migration/001_create_shares.rb
# -*- 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