mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:54:31 +08:00
a6e9f4f44b
``` change_column :topic_views, :ip_address, :inet, null: true ``` translates to ``` "ALTER TABLE \"topic_views\" ALTER COLUMN \"ip_address\" TYPE inet" ``` which locks the whole table while the migration is taking place. |
||
---|---|---|
.. | ||
fixtures | ||
migrate | ||
api_test_seeds.rb |