logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170713175513_create_web_push_subscriptions.rb (298B)


  1. class CreateWebPushSubscriptions < ActiveRecord::Migration[5.1]
  2. def change
  3. create_table :web_push_subscriptions do |t|
  4. t.string :endpoint, null: false
  5. t.string :key_p256dh, null: false
  6. t.string :key_auth, null: false
  7. t.json :data
  8. t.timestamps
  9. end
  10. end
  11. end