{"width":"100%","author_url":"https://blog.hatena.ne.jp/higepon/","categories":["rails","ruby"],"height":"190","published":"2007-10-30 00:23:09","provider_url":"https://hatena.blog","version":"1.0","url":"https://higepon.hatenablog.com/entry/20071030/1193757789","type":"rich","title":" migration \u306e create table \u3067 options \u3092\u6e21\u3059","blog_url":"https://higepon.hatenablog.com/","image_url":null,"blog_title":"higepon blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20071030%2F1193757789\" title=\" migration \u306e create table \u3067 options \u3092\u6e21\u3059 - higepon blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"InnoDB \u3058\u3083\u306a\u304f\u3066 MyISAM \u306b\u3057\u305f\u304b\u3063\u305f\u306e\u3067 options \u3067\u6307\u5b9a\u3057\u305f\u3002 def self.up options = { :options => \"ENGINE=MyISAM DEFAULT CHARSET=utf8\" } create_table :hoge, options do |t| t.column :hige, :string \u3042\u3048\u3066MyISAM \u306b\u3057\u305f\u306e\u306f\u6d77\u3088\u308a\u3082\u6df1\u3044\u7406\u7531\u304c\u3042\u308a\u307e\u3059\u3088\u3002","author_name":"higepon"}