Sha256: 85c67e8252cc2b7ce676528be0c9b45d21d60f1f1af4e158bc69e1a010969d67

Contents?: true

Size: 559 Bytes

Versions: 23

Compression:

Stored size: 559 Bytes

Contents

class CreateRequestSpecs < ActiveRecord::Migration
  def change
    create_table :request_specs do |t|
      t.integer :user_id        #The owner of this spec
      t.integer :application_id #The application that this spec belongs to
      t.string :spec            #The url matching spec
      t.text :note              #A manual note for this spec
      t.integer :response_id    #The response template to respond with
    end
    add_index :request_specs, :application_id, :unique => false
    add_index :request_specs, :user_id, :unique => false
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
agile-proxy-0.1.26 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-jruby-0.1.26-jruby db/migrations/20140818135200_create_request_specs.rb
agile-proxy-jruby-0.1.25-jruby db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.25 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.24 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.23 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.22 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.21 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.20 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.19 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.18 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.13 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.12 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.11 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.10 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.9 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.8 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.7 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.6 db/migrations/20140818135200_create_request_specs.rb
agile-proxy-0.1.5 db/migrations/20140818135200_create_request_specs.rb