mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 04:23:43 +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
|