2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00
discourse/db/migrate/20120718044955_create_user_open_ids.rb

13 lines
262 B
Ruby

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