mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-04-04 05:33:22 -04:00
8 lines
205 B
Ruby
8 lines
205 B
Ruby
class AddEndsToUserRoles < ActiveRecord::Migration
|
|
def change
|
|
add_column(:user_roles, :ends, :timestamp)
|
|
add_column(:user_roles, :user_id, :integer)
|
|
remove_column(:users, :role_id)
|
|
end
|
|
end
|