-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
log_domains.children
database column's type to jsonb
- Loading branch information
Artur Beljajev
committed
Jun 19, 2019
1 parent
6529669
commit 2b1d9ac
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
db/migrate/20190404140234_change_log_domains_children_type_to_jsonb.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,5 @@ | ||
class ChangeLogDomainsChildrenTypeToJsonb < ActiveRecord::Migration | ||
def change | ||
change_column :log_domains, :children, 'jsonb USING children::jsonb' | ||
end | ||
end |
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