Sha256: b84dc76f191061c5bc70c9ee492b63cb7f348e5b43a02cc02051702daf64dd3f

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

class CreateJeraPushMessages < ActiveRecord::Migration<%= migration_version %>
  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

3 entries across 3 versions & 1 rubygems

Version Path
jera_push-1.2.4 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.2.3 lib/generators/active_record/templates/create_jera_push_messages.rb
jera_push-1.2.1 lib/generators/active_record/templates/create_jera_push_messages.rb