Merge commit '0ddc895282
' into kb_migration
This commit is contained in:
commit
9027195ae3
66 changed files with 1037 additions and 250 deletions
7
db/migrate/20230605085710_add_exclusive_to_lists.rb
Normal file
7
db/migrate/20230605085710_add_exclusive_to_lists.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddExclusiveToLists < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :lists, :exclusive, :boolean, null: false, default: false
|
||||
end
|
||||
end
|
|
@ -12,7 +12,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2023_05_31_154811) do
|
||||
ActiveRecord::Schema.define(version: 2023_06_05_085710) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -672,6 +672,7 @@ ActiveRecord::Schema.define(version: 2023_05_31_154811) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "replies_policy", default: 0, null: false
|
||||
t.boolean "exclusive", default: false
|
||||
t.index ["account_id"], name: "index_lists_on_account_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue