mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -05:00
9 lines
224 B
Ruby
9 lines
224 B
Ruby
class AddSiteIdToUsers < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :site_id, :integer
|
|
add_column :users, :bio, :text
|
|
|
|
add_index :users, :site_id
|
|
execute "UPDATE users SET site_id = 1"
|
|
end
|
|
end
|