Sha256: 9717df5ad683a69d88c7c8b75eacf6bdff78cd9a72d9a38db52e6ff4232fe188

Contents?: true

Size: 253 Bytes

Versions: 99

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

class AddStatusToAuthorizations < ActiveRecord::Migration[5.1]
  def change
    add_column :decidim_authorizations, :granted_at, :datetime

    execute "UPDATE decidim_authorizations SET granted_at = updated_at"
  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
decidim-core-0.29.1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.4 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.9 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.29.0 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.3 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.8 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.29.0.rc4 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.29.0.rc3 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.29.0.rc2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.29.0.rc1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.7 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.6 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.10 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.9 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.0 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.5 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.0.rc5 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.28.0.rc4 db/migrate/20170914092117_add_status_to_authorizations.rb