Sha256: fb02143f8d0eb1a39a03c4d4d1c6c4b6b44bb21f0c479e9b16bc05d2ec9bd578

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.9 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.8 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.7 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.6 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.5 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.4 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.3 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.2 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.1 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.5.0 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.4.0 db/migrate/20101214150824_convert_user_remember_field.rb
solidus_auth_devise-2.3.0 db/migrate/20101214150824_convert_user_remember_field.rb