Sha256: 86116e26b15943c3bb0c64b1cdaa9d7cf0c68474615a5913eb0e65e21ae5bb96
Contents?: true
Size: 301 Bytes
Versions: 11
Compression:
Stored size: 301 Bytes
Contents
# -*- coding: utf-8 -*- class ChangeProductsNameWithComment < ActiveRecord::Migration def self.up change_column "products", 'name', :string, :limit => 100, :comment => "名称" end def self.down change_column "products", 'name', :string, :limit => 50, :comment => "商品名" end end
Version data entries
11 entries across 11 versions & 1 rubygems