Sha256: 17aaace64589a7d5c1cde8ddc745acbe98adf9f5f8d569733b50d116a5bb6b5b

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
demo_mode-1.2.0 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.1.1 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.1.0 db/migrate/20210505000000_add_demo_mode_sessions_password.rb
demo_mode-1.0.3 db/migrate/20210505000000_add_demo_mode_sessions_password.rb