Sha256: 12ee2a63414ae211c25017added9c3b032194293df5e56923b1cf5b77976f891

Contents?: true

Size: 427 Bytes

Versions: 10

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

# This migration comes from solidus_auth (originally 20101214150824)
class ConvertUserRememberField < SolidusSupport::Migration[4.2]
  def up
    remove_column :spree_users, :remember_created_at
    add_column :spree_users, :remember_created_at, :datetime
  end

  def down
    remove_column :spree_users, :remember_created_at
    add_column :spree_users, :remember_created_at, :string
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
solidus_prototypes-1.6.0 spec/dummy/db/migrate/20231107091992_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.5.1 spec/dummy/db/migrate/20231107091992_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.5.0 spec/dummy/db/migrate/20231107091992_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.4.0 spec/dummy/db/migrate/20231107091992_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.3.0 spec/dummy/db/migrate/20230326093450_convert_user_remember_field.solidus_auth.rb
solidus_reports-1.2.0 spec/dummy/db/migrate/20230326095758_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.2.0 spec/dummy/db/migrate/20221122203175_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.1.1 spec/dummy/db/migrate/20221014070490_convert_user_remember_field.solidus_auth.rb
solidus_reports-1.1.0 spec/dummy/db/migrate/20221012211981_convert_user_remember_field.solidus_auth.rb
solidus_prototypes-1.1.0 spec/dummy/db/migrate/20221012201089_convert_user_remember_field.solidus_auth.rb