rails 㧠mysql ã«ãã¼ã¿ãç»é²ãã㨠rails ã¢ããªã±ã¼ã·ã§ã³ããåç §ããå ´åã«ã¯åé¡ãªããã MySQL Administrator ã phpMyAdmin ãªã©ã§è¦ãã¨æååããã¦ããã migration ãã¡ã¤ã«ã«ã¯ä»¥ä¸ã®ããã«ãªãã·ã§ã³ãè¨å®ãã¦ãã class CreateUsers < ActiveRecord::Migration def self.up options = { :force => true, :options => "ENGINE = InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;" } create_table(:users, options) do |t| ï¼çç¥ï¼ ã©ããããã ãã§ã¯ä¸ååãªããã ã ããã§ãconfig/database.yml ã«ä»¥ä¸ã®ããã«è¿½è¨ãããã¨ã§æå
{{#tags}}- {{label}}
{{/tags}}