discourse/db
Dan Johnson 9f6b7889a8 views: convert 'ip' (bigint) -> 'ip_address' (inet)
This fixes all known issues when connecting to discourse over IPv6.

This table has no primary key, so the migration is done with update_all,
for each ip address in the views table. Since this table can potentially
grow quite large, this process might take a long time. I don't know any
way around this, though.

This migration uses a SQL command to populate the new field from the old
one, so as not to rely on the View model class, which should keep the
migration from failing if that class is modified in the future.
2013-06-25 19:47:25 -04:00
..
fixtures added 2 new flag types: notify user and notify moderators 2013-04-12 17:55:45 +10:00
migrate views: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:47:25 -04:00
seeds.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00