Skip to content

Commit 9604047

Browse files
committed
Install decidim migrations
1 parent 28166b7 commit 9604047

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
# This migration comes from decidim (originally 20240717093514)
3+
4+
class AddRegisteredOnlyToDecidimShareTokens < ActiveRecord::Migration[6.1]
5+
def change
6+
add_column :decidim_share_tokens, :registered_only, :boolean
7+
end
8+
end

db/schema.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 2024_09_17_075030) do
13+
ActiveRecord::Schema.define(version: 2024_11_05_160441) do
1414

1515
# These are extensions that must be enabled in order to support this database
1616
enable_extension "fuzzystrmatch"
@@ -1772,6 +1772,7 @@
17721772
t.datetime "created_at"
17731773
t.datetime "last_used_at"
17741774
t.datetime "expires_at"
1775+
t.boolean "registered_only"
17751776
t.index ["decidim_organization_id"], name: "index_decidim_share_tokens_on_decidim_organization_id"
17761777
t.index ["decidim_user_id"], name: "index_decidim_share_tokens_on_decidim_user_id"
17771778
t.index ["token_for_type", "token_for_id"], name: "decidim_share_tokens_token_for"

0 commit comments

Comments
 (0)