mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 03:46:23 +00:00
feat: add boolean autopublish to sites model #13244
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
8d736f8ac3
commit
1ec4740b89
1 changed files with 8 additions and 0 deletions
8
db/migrate/20230822165038_add_autopublish_to_sites.rb
Normal file
8
db/migrate/20230822165038_add_autopublish_to_sites.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue