mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
14 lines
245 B
Ruby
14 lines
245 B
Ruby
|
class CreateUserOpenIds < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :user_open_ids do |t|
|
||
|
t.integer :user_id
|
||
|
t.string :email
|
||
|
t.string :url
|
||
|
t.timestamps
|
||
|
end
|
||
|
|
||
|
add_index :user_open_ids, [:url]
|
||
|
|
||
|
end
|
||
|
end
|