Sha256: 06d400bc2f64aeafb87fc4b14d7c57b82d8d39787ca47477c63e433849bb4a36

Contents?: true

Size: 902 Bytes

Versions: 13

Compression:

Stored size: 902 Bytes

Contents

# WontoMedia - a wontology web application
# Copyright (C) 2009 - Glen E. Ivey
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see <http://www.gnu.org/licenses/>.


class AddFlagsToItems < ActiveRecord::Migration
  def self.up
    add_column :items, :flags, :integer
  end

  def self.down
    remove_column :items, :flags
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wontomedia-1.0.7 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.6 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.5 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.4 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.2 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.1 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-1.0.0 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.2.1 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.2.0 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.1.1 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.1.0 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.0.2 db/migrate/20090529171442_add_flags_to_items.rb
wontomedia-0.0.1 db/migrate/20090529171442_add_flags_to_items.rb