```ruby
class MakeUrlLonger < ActiveRecord::Migration
  def up
    change_column :posts, :url, :text, :limit => 1000
  end

  def down
    change_column :posts, :url, :string
  end
end
```

Remove limit for postgres's sake
user
```ruby
class MakeUrlLonger < ActiveRecord::Migration
  def up
    change_column :posts, :url, :text
  end

  def down
    change_column :posts, :url, :string
  end
end
```
assistant