-
Notifications
You must be signed in to change notification settings - Fork 188
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
1 parent
5fcd8cc
commit cd4c148
Showing
3 changed files
with
54 additions
and
36 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
10 changes: 10 additions & 0 deletions
10
db/migrate/20240906121215_add_pretty_name_to_spree_taxons.spree.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,10 @@ | ||
# This migration comes from spree (originally 20240822163534) | ||
class AddPrettyNameToSpreeTaxons < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :spree_taxons, :pretty_name, :string, null: true, if_not_exists: true | ||
add_index :spree_taxons, :pretty_name, if_not_exists: true | ||
|
||
add_column :spree_taxon_translations, :pretty_name, :string, null: true, if_not_exists: true | ||
add_index :spree_taxon_translations, :pretty_name, if_not_exists: true | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.