-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
db/migrate/20250305171530_add_local_to_actors.federails.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This migration comes from federails (originally 20250301082500) | ||
class AddLocalToActors < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :federails_actors, :local, :boolean, null: false, default: false | ||
|
||
reversible do |dir| | ||
dir.up do | ||
exec_update "UPDATE federails_actors SET local=true WHERE entity_type IS NOT NULL" | ||
end | ||
end | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.