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.26.8 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.4 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.3 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.7 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.5 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.4 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.0 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.3 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.0.rc2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.27.0.rc1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.0 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.0.rc2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.26.0.rc1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.25.2 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.25.1 db/migrate/20170914092117_add_status_to_authorizations.rb
decidim-core-0.25.0 db/migrate/20170914092117_add_status_to_authorizations.rb