1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 20:59:39 +02:00
Maybe/db/migrate/20241030121302_fix_not_null_stock_exchange_data.rb
Josh Pigford cd91e66618
Initial pass at Synth-based ticker selection (#1392)
* Initial pass at Synth-based ticker selection

* Update _tickers.turbo_stream.erb

* Functional combobox display

* A few cleanup steps

* Linter

* Prevent long strings

* Another step towards functional combobox

* Deprecated files

* Custom Combobox implementation

* Lint

* Test suite fixes

* Lint

* Make direct use of mic codes

* Update splits

* Update trades_test.rb
2024-10-30 09:23:44 -04:00

10 lines
453 B
Ruby

class FixNotNullStockExchangeData < ActiveRecord::Migration[7.2]
def change
change_column_null :stock_exchanges, :currency_code, true
change_column_null :stock_exchanges, :currency_symbol, true
change_column_null :stock_exchanges, :currency_name, true
change_column_null :stock_exchanges, :city, true
change_column_null :stock_exchanges, :timezone_name, true
change_column_null :stock_exchanges, :timezone_abbr, true
end
end