lib/gitdocs/migration/001_create_shares.rb in gitdocs-0.4.15 vs lib/gitdocs/migration/001_create_shares.rb in gitdocs-0.5.0.pre1
- old
+ new
@@ -1,13 +1,13 @@
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
+ t.column :polling_interval, :double, default: 15
+ t.column :notification, :boolean, default: true
end
end
def self.down
- raise
+ fail
end
end