-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SRCH-179 - Add a boolean column to the searchgov_urls * update structure.sql * migration file for enqueued for reindex to searachgov_url * update migration, update test cases * typo * remove extra space * migrated database
- Loading branch information
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
db/migrate/20181109212904_add_enqueued_for_reindex_to_searchgov_urls.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,8 @@ | ||
class AddEnqueuedForReindexToSearchgovUrls < ActiveRecord::Migration | ||
def change | ||
add_column :searchgov_urls, | ||
:enqueued_for_reindex, | ||
:boolean, | ||
default: false, null: false | ||
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
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