Sha256: 0f8bd22b418d8e41f4f9c5141d25a112481a40ee37da42f6efa013e062d2f072

Contents?: true

Size: 395 Bytes

Versions: 23

Compression:

Stored size: 395 Bytes

Contents

class CreateResponses < ActiveRecord::Migration
  def change
    create_table :responses do |t|
      t.string :name  #A user friendly name for the response
      t.text :content
      t.string :content_type
      t.integer :status_code, :default => 200
      t.text :headers, :default => "{}"
      t.boolean :is_template
      t.float :delay, :default => 0
      t.timestamps
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

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