Sha256: 4eaa2e5a86e8a453bff743dfaa7eed4f8d460dad47344b916138906c830bcdc9

Contents?: true

Size: 955 Bytes

Versions: 13

Compression:

Stored size: 955 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 CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.string :name
      t.string :title
      t.text :description
    end
  end

  def self.down
    drop_table :items
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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