-
Notifications
You must be signed in to change notification settings - Fork 26
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
Showing
12 changed files
with
19 additions
and
371 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
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
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 |
---|---|---|
@@ -1,11 +1,3 @@ | ||
# This file is used by Rack-based servers to start the application. | ||
|
||
# Added que-web gem for showing job tracking | ||
require 'que/web' | ||
|
||
map '/admin/que' do | ||
run Que::Web | ||
end | ||
|
||
require_relative 'config/environment' | ||
run Rails.application |
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 |
---|---|---|
|
@@ -63,5 +63,3 @@ class Application < Rails::Application | |
} | ||
end | ||
end | ||
|
||
require "que/active_record/model" |
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
class UpgradeQue < ActiveRecord::Migration[6.0] | ||
def up | ||
Que.migrate!(version: 4) | ||
# Que.migrate!(version: 4) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class UpgradeQueV5 < ActiveRecord::Migration[6.1] | ||
def up | ||
Que.migrate!(version: 5) | ||
# Que.migrate!(version: 5) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
class BumpQueVersion < ActiveRecord::Migration[6.1] | ||
def up | ||
Que.migrate!(version: 7) | ||
# Que.migrate!(version: 7) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class RemoveQueJobs < ActiveRecord::Migration[7.0] | ||
def up | ||
drop_table :que_jobs, force: :cascade, if_exists: true | ||
drop_table :que_values, force: :cascade, if_exists: true | ||
drop_table :que_lockers, force: :cascade, if_exists: true | ||
|
||
execute 'DROP FUNCTION IF EXISTS que_validate_tags CASCADE' | ||
execute 'DROP FUNCTION IF EXISTS que_state_notify CASCADE' | ||
execute 'DROP FUNCTION IF EXISTS que_job_notify CASCADE' | ||
end | ||
end |
Oops, something went wrong.