This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Make data migration more merciful
closed-social-v3
Eugen Rochko
8 years ago
parent
8cfcc52876
commit
165498f110
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
db/migrate/20161202132159_add_in_reply_to_account_id_to_statuses.rb
+ 1
- 1
db/migrate/20161202132159_add_in_reply_to_account_id_to_statuses.rb
View File
@ -7,7 +7,7 @@ class AddInReplyToAccountIdToStatuses < ActiveRecord::Migration[5.0]
next
if
status
.
thread
.
nil?
status
.
in_reply_to_account_id
=
status
.
thread
.
account_id
status
.
save
!
status
.
save
(
validate
:
false
)
end
end
end
Write
Preview
Loading…
Cancel
Save