Class: CreateShares
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateShares
- Defined in:
- lib/gitdocs/migration/001_create_shares.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
12 13 14 |
# File 'lib/gitdocs/migration/001_create_shares.rb', line 12 def self.down fail end |
.up ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/gitdocs/migration/001_create_shares.rb', line 4 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 |