diff --git a/db/dev_seeds/notifications.rb b/db/dev_seeds/notifications.rb index 7edb95fa4..bb87e8603 100644 --- a/db/dev_seeds/notifications.rb +++ b/db/dev_seeds/notifications.rb @@ -3,7 +3,7 @@ section "Creating comment notifications" do debate = Debate.create!(author: user, title: Faker::Lorem.sentence(3).truncate(60), description: "

#{Faker::Lorem.paragraphs.join('

')}

", - tag_list: Tag.all.sample(3).join(','), + tag_list: ActsAsTaggableOn::Tag.all.sample(3).join(','), geozone: Geozone.reorder("RANDOM()").first, terms_of_service: "1") diff --git a/db/schema.rb b/db/schema.rb index 28794ecaf..a85b3a0dc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -12,6 +12,7 @@ # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 20180320104823) do + # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" enable_extension "unaccent"