Skip to content

Commit

Permalink
Changes notes field to text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz authored and Janell-Huyck committed Mar 11, 2024
1 parent 716ef23 commit 869b306
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/initializers/application_controller_renderer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# ActiveSupport::Reloader.to_prepare do
Expand Down
1 change: 1 addition & 0 deletions config/initializers/backtrace_silencers.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
Expand Down
1 change: 1 addition & 0 deletions config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Define an application-wide content security policy
Expand Down
1 change: 1 addition & 0 deletions config/initializers/inflections.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format. Inflections
Expand Down
1 change: 1 addition & 0 deletions config/initializers/mime_types.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Add new mime types for use in respond_to blocks:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

class SoftwareRecordsChangeNotesType < ActiveRecord::Migration[6.1]
def change
change_column :software_records, :notes, :text
end
end
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20_230_606_145_207) do
ActiveRecord::Schema.define(version: 20_240_307_190_949) do
create_table "change_requests", force: :cascade do |t|
t.integer "software_record_id", null: false
t.string "change_title"
Expand Down Expand Up @@ -74,7 +74,7 @@
t.string "annual_fees"
t.string "support_contract"
t.string "current_version"
t.string "notes"
t.text "notes"
t.integer "business_value"
t.integer "it_quality"
t.string "created_by"
Expand Down

0 comments on commit 869b306

Please sign in to comment.