Added ability to comment on license records; updated item list view to link to the item display pages
This commit is contained in:
1 parent
36f7fb82a6
commit
db6bfe8e7a
7 files changed
+62
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user