logo

mastofe

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

20180204034416_create_identities.rb (301B)


  1. class CreateIdentities < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :identities do |t|
  4. t.references :user, foreign_key: { on_delete: :cascade }
  5. t.string :provider, null: false, default: ''
  6. t.string :uid, null: false, default: ''
  7. t.timestamps
  8. end
  9. end
  10. end