Permalink
Browse files

Provide a database.yml for development and test

  • Loading branch information...
1 parent 71eb152 commit f4dafd53cbcbd91083d07362bec793b55195853b @craigw craigw committed Nov 10, 2011
Showing with 22 additions and 3 deletions.
  1. +2 −2 .gitignore
  2. +19 −0 config/database.yml
  3. +1 −1 db/schema.rb
View
@@ -1,6 +1,6 @@
.bundle
-db/*.sqlite3
log/*.log
tmp/
.sass-cache/
-coverage
+db/*.db
+coverage/
View
@@ -0,0 +1,19 @@
+# SQLite version 3.x
+# gem install sqlite3
+#
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+sqlite3: &sqlite3
+ adapter: sqlite3
+ verbosity: quiet
+ pool: 5
+ timeout: 5000
+
+development:
+ <<: *sqlite3
+ database: db/development.db
+
+test:
+ <<: *sqlite3
+ database: db/test.db
View
@@ -20,7 +20,7 @@
t.string "slug"
t.string "essential_travel_restriction"
t.string "avoid_travel_restriction"
- t.text "raw_travel_advice", :limit => 2147483647
+ t.text "raw_travel_advice", :limit => 4294967295
end
add_index "countries", ["slug"], :name => "index_countries_on_slug", :unique => true

0 comments on commit f4dafd5

Please sign in to comment.