Sha256: b770cfd823a024b67fbc1b44913526386862566c2ebe6b0708fba09d661eefa4

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

class CreateCollections < ActiveRecord::Migration
  def self.up
    create_table Refinery::PhotoGallery::Collection.table_name do |t|
      t.string :title, :null => false
      t.text :description

      t.timestamps
    end
  end

  def self.down
    drop_table Refinery::PhotoGallery::Collection.table_name
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
refinerycms-photo-gallery-0.2.0 db/migrate/20120805131321_create_collections.rb
refinerycms-photo-gallery-0.1.2 db/migrate/20120805131321_create_collections.rb
refinerycms-photo-gallery-0.1.1 db/migrate/20120805131321_create_collections.rb
refinerycms-photo-gallery-0.1.0 db/migrate/20120805131321_create_collections.rb
refinerycms-6hoursdaily-photo-gallery-0.0.5.dev db/migrate/20120805131321_create_collections.rb
refinerycms-6hoursdaily-photo-gallery-0.0.4.dev db/migrate/20120805131321_create_collections.rb
refinerycms-photo-gallery-0.0.2.dev db/migrate/20120805131321_create_collections.rb
refinerycms-photo-gallery-0.0.1.dev db/migrate/20120805131321_create_collections.rb