mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 10:53:56 +08:00
15 lines
292 B
Ruby
15 lines
292 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateUserOpenIds < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :user_open_ids do |t|
|
|
t.integer :user_id
|
|
t.string :email
|
|
t.string :url
|
|
t.timestamps null: false
|
|
end
|
|
|
|
add_index :user_open_ids, [:url]
|
|
end
|
|
end
|