Permalink
Browse files

added sqlite when in development mode

  • Loading branch information...
1 parent d48725c commit 63f3d78775f9e035bb190f669ea7d8059ae8f26c @robzolkos robzolkos committed Oct 20, 2010
Showing with 6 additions and 40 deletions.
  1. +1 −0 .gitignore
  2. +3 −1 Gemfile
  3. +2 −1 Gemfile.lock
  4. +0 −38 db/schema.rb
View
@@ -2,3 +2,4 @@
db/*.sqlite3
log/*.log
tmp/**/*
+db/schema.rb
View
@@ -19,7 +19,7 @@ gem 'rails', '3.0.0'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri', '1.4.1'
-# gem 'sqlite3-ruby', :require => 'sqlite3'
+gem 'sqlite3-ruby', :require => 'sqlite3', :group => :development
# gem 'aws-s3', :require => 'aws/s3'
gem "will_paginate"
gem "acts-as-taggable-on"
@@ -31,3 +31,5 @@ gem "gchartrb"
# group :test do
# gem 'webrat'
# end
+
+
View
@@ -61,14 +61,15 @@ GEM
rake (>= 0.8.4)
thor (~> 0.14.0)
rake (0.8.7)
- sqlite3-ruby (1.3.1-x86-mingw32)
+ sqlite3-ruby (1.3.1)
thor (0.14.2)
treetop (1.4.8)
polyglot (>= 0.3.1)
tzinfo (0.3.23)
will_paginate (2.3.15)
PLATFORMS
+ ruby
x86-mingw32
DEPENDENCIES
View
@@ -1,38 +0,0 @@
-# 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 => 20100704230608) do
-
- create_table "punches", :force => true do |t|
- t.text "body"
- t.integer "duration_in_minutes"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
-
- create_table "taggings", :force => true do |t|
- t.integer "tag_id"
- t.integer "taggable_id"
- t.string "taggable_type"
- t.integer "tagger_id"
- t.string "tagger_type"
- t.string "context"
- t.datetime "created_at"
- end
-
- add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
- add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
-
- create_table "tags", :force => true do |t|
- t.string "name"
- end
-
-end

0 comments on commit 63f3d78

Please sign in to comment.