Sha256: 341172158b4ec1d69ce8e7e1b1204bee79a5354741c3365f56857ab0880bc1e5

Contents?: true

Size: 578 Bytes

Versions: 9

Compression:

Stored size: 578 Bytes

Contents

# This migration comes from curate_engine (originally 20131029142555)
class CreateHelpRequests < ActiveRecord::Migration
  def change
    create_table :help_requests do |t|
      t.string :view_port
      t.text :current_url
      t.string :user_agent
      t.string :resolution
      t.text :how_can_we_help_you
      t.integer :user_id
      t.boolean :javascript_enabled
      t.string :release_version

      t.timestamps
    end
    add_index :help_requests, :user_id
    add_index :help_requests, :created_at
  end

  def self.down
    drop_table :help_requests
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
curate-0.6.6 spec/internal/db/migrate/20140328183342_create_help_requests.curate_engine.rb
curate-0.6.4 spec/internal/db/migrate/20140131175547_create_help_requests.curate_engine.rb
curate-0.6.3 spec/internal/db/migrate/20131205204204_create_help_requests.curate_engine.rb
curate-0.6.1 spec/internal/db/migrate/20131203200461_create_help_requests.curate_engine.rb
curate-0.6.0 spec/internal/db/migrate/20131126132930_create_help_requests.curate_engine.rb
curate-0.5.6 spec/internal/db/migrate/20131114003137_create_help_requests.curate_engine.rb
curate-0.5.5 spec/internal/db/migrate/20131114003137_create_help_requests.curate_engine.rb
curate-0.5.4 spec/internal/db/migrate/20131111192827_create_help_requests.curate_engine.rb
curate-0.5.2 spec/internal/db/migrate/20131106182812_create_help_requests.curate_engine.rb