Sha256: ddd97f38a0639133d10f52ae2fb372740324e584a4efd8fcab5784d46ef7a64f

Contents?: true

Size: 212 Bytes

Versions: 7

Compression:

Stored size: 212 Bytes

Contents

class ChangeUrlFieldToTextOnShortenedUrl < ActiveRecord::Migration
  # def up
  #   change_column :shortened_urls, :url, :text
  # end

  # def down
  #   change_column :shortened_urls, :url, :string
  # end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shortener-0.6.2 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.6.1 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.5.6 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.5.5 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.5.4 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.5.3 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb
shortener-0.5.2 spec/dummy/db/migrate/20150919033038_change_url_field_to_text_on_shortened_url.rb