注æï¼ï¼ ãã®ã¨ã³ããªã®å 容ã¯Rails3.1.3ã§ã®å®è¡çµæãå ã«ãã¦ãã¾ãã å°æ¥çã«ãã®å 容ãææ°ã®Railsã®ä»æ§ã¨ç°ãªãå¯è½æ§ãé«ãã®ã§ããã©ãã«ã·ã¥ã¼ãã£ã³ã°ã®ç®çã§ãã®ã¨ã³ããªãåç §ããå ´åã¯ä½¿ç¨ä¸ã®Railsãã¼ã¸ã§ã³ããã確èªãã¦ãã ããã Rails3.1ããã¯ãã¤ã°ã¬ã¼ã·ã§ã³ã§changeã¨ããã¡ã½ãããå°å ¥ããã¾ããã 以åã¯Upã¡ã½ããã«å¤æ´ç¨ã®å¦çããDownã¡ã½ããã«ãã¼ã«ããã¯ç¨ã®å¦çãæ¸ãå¿ è¦ããã£ãã®ã§ãããchangeã¡ã½ããã使ãã¨Upã«ç¸å½ããè¨è¿°ã ãã§æ¸ã¿ã¾ãã ãã¨ã¯Railsãèªåçã«Downã«ç¸å½ããå¦çãèãã¦ããã¾ãã(ã¤ã¾ããã³ã¼ããããDRYã«ãªãã¾ã) # Ruby 3.0以å class AddAgeToUsers < ActiveRecord::Migration def self.up add_column :users,
{{#tags}}- {{label}}
{{/tags}}