Sha256: 6ee20cc7e1e5d997e536f4eaee3bd553a1f9735f11b6923ca6a6c1e2d381bf93

Contents?: true

Size: 508 Bytes

Versions: 15

Compression:

Stored size: 508 Bytes

Contents

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

15 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 db/migrate/20131029142555_create_help_requests.rb
curate-0.6.5 db/migrate/20131029142555_create_help_requests.rb
curate-0.6.4 db/migrate/20131029142555_create_help_requests.rb
curate-0.6.3 db/migrate/20131029142555_create_help_requests.rb
curate-0.6.1 db/migrate/20131029142555_create_help_requests.rb
curate-0.6.0 db/migrate/20131029142555_create_help_requests.rb
curate-0.5.6 db/migrate/20131029142555_create_help_requests.rb
curate-0.5.5 db/migrate/20131029142555_create_help_requests.rb
curate-0.5.4 db/migrate/20131029142555_create_help_requests.rb
curate-0.5.2 db/migrate/20131029142555_create_help_requests.rb
curate-0.5.1 spec/internal/db/migrate/20131028141235_create_help_requests.rb
curate-0.5.1 lib/generators/curate/templates/migrations/create_help_requests.rb
curate-0.5.0 lib/generators/curate/templates/migrations/create_help_requests.rb
curate-0.5.0 spec/internal/db/migrate/20131018143726_create_help_requests.rb
curate-0.4.2 lib/generators/curate/templates/migrations/create_help_requests.rb