Sha256: 3a0e358bee0d72d59a5b59af6055ff2505a36e6c79d00b60900ccbfcc59cbee6

Contents?: true

Size: 597 Bytes

Versions: 10

Compression:

Stored size: 597 Bytes

Contents

class CreateHomepageFeatures < ActiveRecord::Migration
  def self.up
    create_table :homepage_features do |t|
      t.column :created_at, :datetime
      t.column :url, :string
      t.column :title, :string
      t.column :description, :text
      t.column :updated_at, :datetime
      t.column :content_type, :string
      t.column :filename, :string
      t.column :parent_id, :integer
      t.column :thumbnail, :string
      t.column :size, :integer
      t.column :width, :integer
      t.column :height, :integer
    end
  end

  def self.down
    drop_table :homepage_features
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/011_create_homepage_features.rb
community_engine-3.0.0 db/migrate/011_create_homepage_features.rb
community_engine-2.3.2 db/migrate/011_create_homepage_features.rb
community_engine-2.3.1 db/migrate/011_create_homepage_features.rb
community_engine-2.3.0 db/migrate/011_create_homepage_features.rb
community_engine-2.1.0 db/migrate/011_create_homepage_features.rb
community_engine-2.0.0 db/migrate/011_create_homepage_features.rb
community_engine-2.0.0.beta3 db/migrate/011_create_homepage_features.rb
community_engine-2.0.0.beta2 db/migrate/011_create_homepage_features.rb
community_engine-2.0.0.beta1 db/migrate/011_create_homepage_features.rb