You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20091205124427_add_versions_sharing.rb 255B

12345678910
  1. class AddVersionsSharing < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_column :versions, :sharing, :string, :default => 'none', :null => false
  4. add_index :versions, :sharing
  5. end
  6. def self.down
  7. remove_column :versions, :sharing
  8. end
  9. end