Sha256: 5e1d41eee887b449d053e1c7c96ae8226f1b8839c9b20f2ca1ca593fc1771588

Contents?: true

Size: 197 Bytes

Versions: 12

Compression:

Stored size: 197 Bytes

Contents

class AddPublisherRole < ActiveRecord::Migration
  def self.up
    add_column :users, :publisher, :boolean, :default => false
  end
  
  def self.down
    remove_column :users, :publisher
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
radiant-concurrent_draft-extension-1.0.11 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.10 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.9 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.8 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.7 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.6 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.5 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.4 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.3 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.2 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.1 db/migrate/003_add_publisher_role.rb
radiant-concurrent_draft-extension-1.0.0 db/migrate/003_add_publisher_role.rb