-
Notifications
You must be signed in to change notification settings - Fork 85
Give admins the ability to disable AppStore redirects #1466
Conversation
@@ -1900,3 +1911,13 @@ func (db *Database) MigrateTo(ctx context.Context, target string, rollback bool) | |||
} | |||
return m.Migrate() | |||
} | |||
|
|||
// multiExec is a helper that executes the given sql clauses against the tx. | |||
func multiExec(tx *gorm.DB, sqls ...string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whaught unrelated, but I got annoyed writing migrations...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice - we do this a lot
abdbfe9
to
ada0c40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold one question about css. feel free to unhold
@@ -2,41 +2,75 @@ | |||
|
|||
{{$app := .app}} | |||
|
|||
<style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be in application.css?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, if we end up using it across multiple files we can move it over.
@@ -1900,3 +1911,13 @@ func (db *Database) MigrateTo(ctx context.Context, target string, rollback bool) | |||
} | |||
return m.Migrate() | |||
} | |||
|
|||
// multiExec is a helper that executes the given sql clauses against the tx. | |||
func multiExec(tx *gorm.DB, sqls ...string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice - we do this a lot
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sethvargo, whaught The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #1463
Release Note
/assign @whaught
/cc @mikehelmick