Skip to content

Commit

Permalink
Fix fixtures and update schema.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchal committed Nov 16, 2024
1 parent 97af0fd commit 2749e8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 4 additions & 1 deletion app/models/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
# Table name: filters
#
# id :bigint not null, primary key
# is_pinned :boolean default(FALSE), not null
# name :string not null
# position :integer not null
# query :string not null
# query :string
# type :string
# created_at :datetime not null
# updated_at :datetime not null
# author_id :bigint not null
# tag_id :bigint
# tenant_id :bigint not null
#
class Filter < ApplicationRecord
Expand Down
6 changes: 3 additions & 3 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions test/fixtures/message_object_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ two:
message_object: ssd_main_general_two_form
blob: MyText

main_draft:
message_object: ssd_main_draft_form
blob: <GeneralAgenda xmlns="http://schemas.gov.sk/form/App.GeneralAgenda/1.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><subject>predmet</subject><text>text</text></GeneralAgenda>

draft_two:
message_object: ssd_main_general_draft_two_form
blob: <GeneralAgenda xmlns="http://schemas.gov.sk/form/App.GeneralAgenda/1.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><subject>predmet</subject><text>text</text></GeneralAgenda>
Expand Down

0 comments on commit 2749e8f

Please sign in to comment.