Sha256: a65f840e89aedb3b9aafe6a4483922cfdc4cba345cd5cebc4d38ab153e580159
Contents?: true
Size: 270 Bytes
Versions: 7
Compression:
Stored size: 270 Bytes
Contents
migration_class = if ActiveRecord::VERSION::MAJOR >= 5 ActiveRecord::Migration[4.2] else ActiveRecord::Migration end class PostsTag < migration_class def change add_column :posts, :tag, :string add_column :posts_archive, :tag, :string end end
Version data entries
7 entries across 7 versions & 1 rubygems