Added ability to comment on license records; updated item list view to link to the item display pages

This commit is contained in:
2022-12-09 11:42:12 -05:00
parent 36f7fb82a6
commit db6bfe8e7a
7 changed files with 62 additions and 2 deletions

View File

@ -0,0 +1,20 @@
Sequel.migration do
up do
create_table(:license_comments) do
primary_key :id
String :body, null: false
DateTime :created_at
DateTime :updated_at
end
alter_table(:license_comments) do
add_foreign_key :license_id, :items
end
end
down do
drop_table(:license_comments)
end
end