mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 18:23:37 +08:00
10 lines
226 B
Ruby
10 lines
226 B
Ruby
|
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
|