Sha256: d97133080390d797468937b287938ae0f3ce04b606cdfe8ae9d51c3beeb1fc30

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

class CreateSpreeDownloadCategories < ActiveRecord::Migration
  def change
    create_table :spree_download_categories do |t|
      t.string :name, :null => false

      t.string :icon_file_name, :null => false
      t.string :icon_content_type, :null => false
      t.integer :icon_file_size, :null => false
      t.datetime :icon_updated_at, :null => false

      t.boolean :contains_applications, :null => :false, :default => false
      t.boolean :contains_movies, :null => :false, :default => false
      t.boolean :contains_brochures, :null => :false, :default => false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_downloads-1.0.1 db/migrate/20120308132352_create_spree_download_categories.rb