Mercurial > hg > soundsoftware-site
view db/migrate/.svn/text-base/20091205124427_add_versions_sharing.rb.svn-base @ 541:c3abeb11bc2e feature_36
Addresses Issus #224 - separates the projects in a project list using commas.
| author | luisf <luis.figueira@eecs.qmul.ac.uk> |
|---|---|
| date | Thu, 28 Jul 2011 15:04:24 +0100 |
| parents | 513646585e45 |
| children |
line wrap: on
line source
class AddVersionsSharing < ActiveRecord::Migration def self.up add_column :versions, :sharing, :string, :default => 'none', :null => false add_index :versions, :sharing end def self.down remove_column :versions, :sharing end end
