From 20086308b039df00513308affbc10a0541d75ce6 Mon Sep 17 00:00:00 2001 From: "S.Isogai" Date: Sat, 16 Apr 2011 23:38:11 +0900 Subject: [PATCH] =?utf8?q?database=E3=81=AE=E3=83=91=E3=82=B9=E3=83=AF?= =?utf8?q?=E3=83=BC=E3=83=89=E8=A8=AD=E5=AE=9A=20rake=20db:create=20?= =?utf8?q?=E3=81=A8=20rake=20db:migrate=E5=AE=9F=E6=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- config/database.yml | 6 +++--- db/schema.rb | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 db/schema.rb diff --git a/config/database.yml b/config/database.yml index e2a73ca..8dc46f5 100644 --- a/config/database.yml +++ b/config/database.yml @@ -12,7 +12,7 @@ development: database: go_on_kiroku_tyo_development pool: 5 username: root - password: + password: mysql socket: /var/run/mysqld/mysqld.sock # Warning: The database defined as "test" will be erased and @@ -25,7 +25,7 @@ test: database: go_on_kiroku_tyo_test pool: 5 username: root - password: + password: mysql socket: /var/run/mysqld/mysqld.sock production: @@ -35,5 +35,5 @@ production: database: go_on_kiroku_tyo_production pool: 5 username: root - password: + password: mysql socket: /var/run/mysqld/mysqld.sock diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000..671c0da --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,15 @@ +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# Note that this schema.rb definition is the authoritative source for your +# database schema. If you need to create the application database on another +# system, you should be using db:schema:load, not running all the migrations +# from scratch. The latter is a flawed and unsustainable approach (the more migrations +# you'll amass, the slower it'll run and the greater likelihood for issues). +# +# It's strongly recommended to check this file into your version control system. + +ActiveRecord::Schema.define(:version => 0) do + +end -- 2.11.0