Skip to content

Commit

Permalink
Install decidim migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Nov 5, 2024
1 parent 28166b7 commit 9604047
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true
# This migration comes from decidim (originally 20240717093514)

class AddRegisteredOnlyToDecidimShareTokens < ActiveRecord::Migration[6.1]
def change
add_column :decidim_share_tokens, :registered_only, :boolean
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2024_09_17_075030) do
ActiveRecord::Schema.define(version: 2024_11_05_160441) do

# These are extensions that must be enabled in order to support this database
enable_extension "fuzzystrmatch"
Expand Down Expand Up @@ -1772,6 +1772,7 @@
t.datetime "created_at"
t.datetime "last_used_at"
t.datetime "expires_at"
t.boolean "registered_only"
t.index ["decidim_organization_id"], name: "index_decidim_share_tokens_on_decidim_organization_id"
t.index ["decidim_user_id"], name: "index_decidim_share_tokens_on_decidim_user_id"
t.index ["token_for_type", "token_for_id"], name: "decidim_share_tokens_token_for"
Expand Down

0 comments on commit 9604047

Please sign in to comment.