Sha256: da262d0510c2af4703d92c6bf1b8f4c21d92e88414b437653a3e899c4b0d3e55

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

class CreateAssets < ActiveRecord::Migration
  def self.up
    create_table :assets do |t|
      t.string :name
      t.boolean :public
      t.integer :content_id
      t.string :content_type
      t.integer :user_id
      t.integer :classifications_count
      t.timestamps
    end
  end

  def self.down
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fassets_core-0.4.0 db/migrate/008_create_assets.rb
fassets_core-0.3.1 db/migrate/008_create_assets.rb
fassets_core-0.3.0 db/migrate/008_create_assets.rb
fassets_core-0.2.0 db/migrate/008_create_assets.rb