-
Notifications
You must be signed in to change notification settings - Fork 5
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
11 changed files
with
2,389 additions
and
2,746 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
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
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 |
---|---|---|
|
@@ -162,6 +162,7 @@ | |
|
||
# Documents | ||
resources :documents do | ||
get "admin" | ||
get "versions" | ||
|
||
# DocumentAccesses | ||
|
19 changes: 19 additions & 0 deletions
19
db/migrate/20240619183528_create_document_thumbnail_statesman.geoblacklight_admin.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,19 @@ | ||
# frozen_string_literal: true | ||
|
||
# This migration comes from geoblacklight_admin (originally 20240619171628) | ||
class CreateDocumentThumbnailStatesman < ActiveRecord::Migration[7.0] | ||
def change | ||
create_table 'document_thumbnail_transitions', force: :cascade do |t| | ||
t.string 'to_state', null: false | ||
t.text 'metadata', default: '{}' | ||
t.integer 'sort_key', null: false | ||
t.uuid 'kithe_model_id', null: false | ||
t.boolean 'most_recent', null: false | ||
t.datetime 'created_at', precision: 6, null: false | ||
t.datetime 'updated_at', precision: 6, null: false | ||
t.index %w[kithe_model_id most_recent], name: 'thumbnail_transitions_parent_most_recent', unique: true, | ||
where: 'most_recent' | ||
t.index %w[kithe_model_id sort_key], name: 'thumbnail_transitions_parent_sort', unique: true | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Run Locally | ||
bundle exec rake geoportal:server | ||
|
||
## Test Locally | ||
|
||
RAILS_ENV=test bundle exec rake geoportal:test | ||
RAILS_ENV=test bundle exec rake test:system test |
Oops, something went wrong.