Skip to content

Commit

Permalink
Change bank number to string
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilst committed Aug 11, 2019
1 parent 69defca commit 54f0548
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
/node_modules
yarn-debug.log*
.yarn-integrity

spec/support/statement.ofx
8 changes: 8 additions & 0 deletions db/migrate/20190810162851_change_number_type_of_statements.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class ChangeNumberTypeOfStatements < ActiveRecord::Migration[5.2]
def up
change_column :statements, :number, :string
end
def down
change_column :statements, :number, :decimal
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2019_07_27_215753) do
ActiveRecord::Schema.define(version: 2019_08_10_162851) do

# These are extensions that must be enabled in order to support this database
enable_extension "fuzzystrmatch"
Expand Down

0 comments on commit 54f0548

Please sign in to comment.