DBã®ã¹ãã¼ããçæ§ã©ã®ããã«ç®¡çããã¦ããã§ããããã Railsãå©ç¨ããã¦ããæ¹ã®å¤ãã¯ãActiveRecordã®ãã¤ã°ã¬ã¼ã·ã§ã³ãå©ç¨ãã¦ç®¡çãããã¦ãããã¨æãã¾ãã ç§ããã¾ã¾ã§ããã¤ãã®Railsããã¸ã§ã¯ãã«é¢ãã£ã¦ãã¾ãããã ã»ã¼å ¨ã¦ã®ããã¸ã§ã¯ãã§ActiveRecordã®DBãã¤ã°ã¬ã¼ã·ã§ã³ãå©ç¨ãã¦ãã¾ããã (ä¸é¨ã®ããã¸ã§ã¯ãã¯ActiveRecordã使ã£ã¦ããªãããããã¤ã°ã¬ã¼ã·ã§ã³ãç¬èªã®ãã®ãå©ç¨ãã¦ãã¾ã) ActiveRecordã®ãã¤ã°ã¬ã¼ã·ã§ã³ã§ã¯ãDBã¹ãã¼ãå¤æ´ã®å·®åæ å ±ããã¤ã°ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã¨ãã¦ä¿åãã¦ããã¾ããä¾ãã°ãæ°ãããã¼ãã«ãusersããä½æããå ´åã¯ãä¸è¨ã®ãããªãã¤ã°ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããä½æãã¾ãã class AddUsers < ActiveRecord::Migration def up # ããã«ãã¤ã°
{{#tags}}- {{label}}
{{/tags}}