2019-05-03 06:17:27 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-05 06:31:48 +08: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
|