闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
301 B

  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