-
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.
* Gems: GBL data-dictionaries * GBL Admin - to latest for feature * Update Gemfile.lock * NPM: troubleshoot compilation errors * CatalogController: set better check for displaying the data dict show tool
- Loading branch information
Showing
11 changed files
with
3,173 additions
and
2,857 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
14 changes: 14 additions & 0 deletions
14
db/migrate/20241204163117_create_document_data_dictionaries.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,14 @@ | ||
class CreateDocumentDataDictionaries < ActiveRecord::Migration[7.0] | ||
def change | ||
create_table :document_data_dictionaries do |t| | ||
t.string :friendlier_id | ||
t.string :name | ||
t.text :description | ||
t.text :staff_notes | ||
t.string :tags, limit: 4096, default: "", null: false | ||
t.integer :position | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
21 changes: 21 additions & 0 deletions
21
db/migrate/20241218174455_create_document_data_dictionary_entries.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,21 @@ | ||
class CreateDocumentDataDictionaryEntries < ActiveRecord::Migration[7.0] | ||
def change | ||
create_table :document_data_dictionary_entries do |t| | ||
t.references :document_data_dictionary, | ||
null: false, | ||
foreign_key: true, | ||
index: { name: "idx_data_dict_entries_doc_dict_id" } | ||
|
||
t.string :friendlier_id | ||
t.string :field_name | ||
t.string :field_type | ||
t.string :values | ||
t.string :definition | ||
t.string :definition_source | ||
t.string :parent_field_name | ||
t.integer :position | ||
|
||
t.timestamps | ||
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
Oops, something went wrong.