-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
increase size of repository domains field. #661
- Loading branch information
Martin Fenner
committed
Oct 19, 2020
1 parent
39fab86
commit e50c928
Showing
2 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
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,9 @@ | ||
class ChangeDomainsColumn < ActiveRecord::Migration[5.2] | ||
def up | ||
change_column :datacentre, :domains, :text, limit: 65535 | ||
end | ||
|
||
def down | ||
change_column :datacentre, :domains, :string | ||
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