Fix package migrations, update deps

This commit is contained in:
Darren Clarke 2024-07-03 17:16:09 +02:00
parent 4f03591629
commit a649640b8c
14 changed files with 254 additions and 253 deletions

View file

@ -0,0 +1,15 @@
# frozen_string_literal: true
# create core Leafcutter tags
class LeafcutterTags1 < ActiveRecord::Migration[5.2]
def self.up
Tag::Item.create(name: 'example_group:example_tag')
end
def self.down
t = Tag::Item.find_by(name: 'example_group:example_tag')
return if t.nil?
t.destroy
end
end