Sha256: 8ed10c783fb2a3929993eac1e29103de6c31bf6f3933bb39317ce19912e8dfa3

Contents?: true

Size: 517 Bytes

Versions: 12

Compression:

Stored size: 517 Bytes

Contents

class CreateFoggedResources < ActiveRecord::Migration
  def change
    create_table :fogged_resources do |t|
      t.string :name, :null => false
      t.string :token, :null => false
      t.integer :width
      t.integer :height
      t.string :extension, :null => false
      t.boolean :uploading
      t.string :content_type, :null => false
      t.integer :encoding_progress
      t.string :encoding_job_id
      t.integer :duration

      t.timestamps
    end

    add_index :fogged_resources, :token
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fogged-0.0.13 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.12 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.11 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.10 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.9 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.8 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.7 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.6 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.5 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.4 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.3 db/migrate/20141103143408_create_fogged_resources.rb
fogged-0.0.2 db/migrate/20141103143408_create_fogged_resources.rb