Sha256: 63159b00e220035461c6153c6e2a6e283b9353f09824b96ce7e4af853537fec0

Contents?: true

Size: 513 Bytes

Versions: 8

Compression:

Stored size: 513 Bytes

Contents

class CreatePwbMessages < ActiveRecord::Migration[5.0]
  def change
    create_table :pwb_messages do |t|
      t.string :title
      t.text :content
      t.integer :client_id
      t.string :origin_ip
      t.string :user_agent
      t.float :longitude
      t.float :latitude
      t.string :locale
      t.string :host
      t.string :url
      t.boolean :delivery_success, :default => false
      t.string :delivery_email
      t.string :origin_email
      
      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pwb-1.3.0 db/migrate/20161128200709_create_pwb_messages.rb
pwb-1.2.0 db/migrate/20161128200709_create_pwb_messages.rb
pwb-1.1.1 db/migrate/20161128200709_create_pwb_messages.rb
pwb-1.0.0 db/migrate/20161128200709_create_pwb_messages.rb
pwb-0.1.1 db/migrate/20161128200709_create_pwb_messages.rb
pwb-0.1.0 db/migrate/20161128200709_create_pwb_messages.rb
pwb-0.0.2 db/migrate/20161128200709_create_pwb_messages.rb
pwb-0.0.1 db/migrate/20161128200709_create_pwb_messages.rb