Sha256: e0798ef34aa80d4787e69851a33eca1d4c04fedbf9d50060c4017b82af7c7da3

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

class CreateJeraPushMessages < ActiveRecord::Migration
  def change
    create_table :jera_push_messages do |t|
      t.text :content
      t.text :broadcast_result
      t.string :status
      t.string :kind
      t.string :topic
      t.string :firebase_id
      t.string :error_message
      t.integer :failure_count, default: 0
      t.integer :success_count, default: 0

      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
jera_push-1.0.3 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.0.3 test/dummy/db/migrate/20161123200420_create_jera_push_messages.rb
jera_push-1.0.2 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.0.2 test/dummy/db/migrate/20161123200420_create_jera_push_messages.rb
jera_push-1.0.1.1 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.0.1.1 test/dummy/db/migrate/20161123200420_create_jera_push_messages.rb
jera_push-1.0.1 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.0.1 test/dummy/db/migrate/20161123200420_create_jera_push_messages.rb