Sha256: 6ae61c1cf174f669d82bfb8ff68e843d7181bbfe25c4ed0f967938c8542e4409

Contents?: true

Size: 370 Bytes

Versions: 6

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

class AddDemoModeSessionsPassword < ActiveRecord::Migration[5.1]
  def change
    add_column :demo_mode_sessions, :signinable_password, :string, null: false, default: ''

    reversible do |dir|
      dir.up do
        change_column :demo_mode_sessions, :signinable_password, :string, null: false, default: nil
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
demo_mode-1.4.1 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.4.0 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.3.0 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.2.3 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.2.2 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.2.1 db/migrate/20210505000000_add_demo_mode_sessions_password.rb