Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set access_scopes column to string by default #1636

Merged
merged 4 commits into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased
----------

* Set `access_scopes` column to string by default [#1636](https://github.com/Shopify/shopify_app/pull/1636)

21.4.0 (Jan 5, 2023)
----------
* Updated shopify_api to 12.4.0 [#1633](https://github.com/Shopify/shopify_app/pull/1633)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class AddShopAccessScopesColumn < ActiveRecord::Migration[<%= rails_migration_version %>]
def change
add_column :shops, :access_scopes, :string
add_column :shops, :access_scopes, :string, default: "", null: false
end
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class AddUserAccessScopesColumn < ActiveRecord::Migration[<%= rails_migration_version %>]
def change
add_column :users, :access_scopes, :string
add_column :users, :access_scopes, :string, default: "", null: false
end
end