From 1ec4740b89c94558a22302bd6474638f39913a7b Mon Sep 17 00:00:00 2001 From: jazzari Date: Tue, 22 Aug 2023 13:58:10 -0300 Subject: [PATCH] feat: add boolean autopublish to sites model #13244 --- db/migrate/20230822165038_add_autopublish_to_sites.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20230822165038_add_autopublish_to_sites.rb diff --git a/db/migrate/20230822165038_add_autopublish_to_sites.rb b/db/migrate/20230822165038_add_autopublish_to_sites.rb new file mode 100644 index 00000000..dc68025e --- /dev/null +++ b/db/migrate/20230822165038_add_autopublish_to_sites.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Agrega posibilidad de autopublicación del sitio +class AddAutopublishToSites < ActiveRecord::Migration[6.1] + def change + add_column :sites, :autopublish, :boolean, default: false + end +end