models: remove creator_id from artists, notes, and pools.

Remove the creator_id field from artists, notes, and pools. The
creator_id wasn't otherwise used and was inconsistent with the
artist/note/pool history in some cases, especially for old artists.
This commit is contained in:
evazion
2020-02-16 23:02:23 -06:00
parent 207861fd40
commit 2dab9aa075
16 changed files with 23 additions and 46 deletions

View File

@@ -19,8 +19,6 @@
<% end %>
<% end %>
<% t.column "Created" do |note| %>
<%= link_to_user note.creator %>
<%= link_to "»", notes_path(search: { creator_name: note.creator.name }) %>
<div><%= time_ago_in_words_tagged(note.created_at) %></div>
<% end %>
<% end %>

View File

@@ -6,7 +6,6 @@
<%= f.hidden_field :group_by, value: "note" %>
<%= f.input :body_matches, label: "Body" %>
<%= f.input :creator_name, label: "Author", input_html: { data: { autocomplete: "user" } } %>
<%= f.input :post_tags_match, label: "Tags", input_html: { data: { autocomplete: "tag-query" } } %>
<%= f.submit "Search" %>
<% end %>