mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
#1936: Remove the default userids from schema
This commit is contained in:
parent
05b0b99080
commit
f192d07814
1 changed files with 8 additions and 0 deletions
8
db/migrate/20200924170053_remove_default_userid.rb
Normal file
8
db/migrate/20200924170053_remove_default_userid.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class RemoveDefaultUserid < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
change_column_default :contexts, :user_id, nil
|
||||
change_column_default :projects, :user_id, nil
|
||||
change_column_default :todos, :user_id, nil
|
||||
change_column_default :recurring_todos, :user_id, nil
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue