2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-04 18:31:48 -04:00
|
|
|
class CreatePushSubscription < ActiveRecord::Migration[5.1]
|
|
|
|
def change
|
|
|
|
create_table :push_subscriptions do |t|
|
|
|
|
t.integer :user_id, null: false
|
|
|
|
t.string :data, null: false
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|