Sha256: 8da2c95147079d885d5b0c4eeb6fa30bb58158685a5b78399fa30c148b2e3e4e
Contents?: true
Size: 351 Bytes
Versions: 7
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true class AddAdditionalTimeZoneNameToCounties < ActiveRecord::Migration[5.0] def up unless column_exists?(:us_geo_counties, :time_zone_2_name) add_column :us_geo_counties, :time_zone_2_name, :string, null: true, limit: 30 end end def down remove_column :us_geo_counties, :time_zone_2_name end end
Version data entries
7 entries across 7 versions & 1 rubygems