{"published":"2017-02-15 21:53:45","version":"1.0","blog_title":"goodbyegangster\u306e\u30d6\u30ed\u30b0","blog_url":"https://goodbyegangster.hatenablog.com/","provider_url":"https://hatena.blog","image_url":null,"title":"Rails\u3067SQLite\u3067\u306a\u304fMariadb\u3092\u5229\u7528\u3059\u308b","url":"https://goodbyegangster.hatenablog.com/entry/2017/02/15/215345","height":"190","width":"100%","categories":["Rails"],"provider_name":"Hatena Blog","author_name":"goodbyegangster","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoodbyegangster.hatenablog.com%2Fentry%2F2017%2F02%2F15%2F215345\" title=\"Rails\u3067SQLite\u3067\u306a\u304fMariadb\u3092\u5229\u7528\u3059\u308b - goodbyegangster\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/goodbyegangster/","type":"rich","description":"Rails\u3067SQLite\u4ee5\u5916\u306eDB\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u4eca\u66f4\u306e\u5185\u5bb9\u3067\u3059\u304c\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u3002Rails\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u300c5.0.1\u300d\u3067\u3059\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fSQLite\u3092\u5229\u7528\u3059\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u307e\u305aGemfile\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002sqllite\u306e\u90e8\u5206\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u3001MySQL(MariaDB)\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3042\u308bmysql2\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002 \u300c(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d)/Gemfile\u300d # Use sqlite3 as the database for Active Record # gem 'sqlite3' # For MariaDB gem 'mysql2' \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 $ bundle \u2026"}