Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

465 B
Raw Blame
# frozen_string_literal: true

# Runs the idempotent data backfills of Lalabase::DataBackfills::TASKS in order.
# Called after the migrations on every deploy: by our Capistrano deploy and by
# bin/docker-entrypoint (after db:prepare).
namespace :lalabase do
  desc 'Run the idempotent data backfills (after the migrations, on every deploy)'
  task data_backfills: :environment do
    Lalabase::DataBackfills::TASKS.each { |name| Rake::Task[name].invoke }
  end
end