discourse/db
Guo Xiang Tan a6e9f4f44b FIX: DROP NOT NULL instead of changing all the rows in the table.
```
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.
2018-07-17 11:03:41 +08:00
..
fixtures FEATURE: Groundwork for user-selectable theme components 2018-07-12 14:18:21 +10:00
migrate FIX: DROP NOT NULL instead of changing all the rows in the table. 2018-07-17 11:03:41 +08:00
api_test_seeds.rb Updates api_test_seeds for multiple auth_token support (#5414) 2017-12-09 08:56:11 +11:00