-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secondary literature table rename: migration tasks #1028
Comments
I did the first step! The others (like renaming) will need a bit of testing so I would like to do them as a next step. We are planning a release next week, I think we can add all these mods just after (we plan another one in a month or so) |
Of course; please let me know which steps am I supposed to do, because I cannot easily distinguish them. I think that db migration changes should be done by you, @xhero, but if you consider that there is something in the software that I should take care of, please let me know and I'll do my best. |
There are still obsolete references to "catalogues" before being renamed to "publications", this time in the filter strings. Part of rism-digital#1028
There are a few db migration tasks for the secondary literature table rename. As they are scattered among different issues, I think that it is better to document them in a single one, so @xhero can find them easily:
Columns:
t.string "author"
[not sure yet] (new string field -> "author_d", to match sources table)
[not sure yet] (new string field -> "title_d", to match sources table)
[not sure yet] (new string field -> "journal_d", to match sources table)
t.string "volume"
[not sure yet] ] (new string field) -> "number" (not discussed yet anywhere, but it is needed because many academic journals have both volume and number; or a single one, but they are not interchangeable)
t.string "place"
t.string "date"
t.string "pages"
t.integer "wf_audit", default: 0
t.integer "wf_stage", default: 0
t.string "wf_notes"
t.integer "wf_owner", default: 0
t.integer "wf_version", default: 0
t.integer "src_count", default: 0
t.datetime "created_at"
t.datetime "updated_at"
marc_source
to mediumtext #792; done in 8162261)t.integer "lock_version", default: 0, null: false
t.index ["name"], name: "index_catalogues_on_name"
t.index ["wf_stage"], name: "index_catalogues_on_wf_stage"
The text was updated successfully, but these errors were encountered: