Sha256: d2b04e3be71367644e1e3114bfbc1509ef3f72d63bc350057c3a39533c6cbdba

Contents?: true

Size: 227 Bytes

Versions: 6

Compression:

Stored size: 227 Bytes

Contents

class AddContentEditorToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :content_editor, :boolean, :default => true, :null => false
  end

  def self.down
    remove_column :users, :content_editor
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.6.3 db/migrate/201610284484312496_add_content_editor_to_users.rb
trusty-festivity-extension-2.6.2 db/migrate/201610284484312496_add_content_editor_to_users.rb
trusty-festivity-extension-2.6.1 db/migrate/201610284484312496_add_content_editor_to_users.rb
trusty-festivity-extension-2.6 db/migrate/201610284484312496_add_content_editor_to_users.rb
trusty-festivity-extension-2.5.19 db/migrate/201610284484312496_add_content_editor_to_users.rb
trusty-festivity-extension-2.5.18 db/migrate/201610284484312496_add_content_editor_to_users.rb