Skip to content

Commit

Permalink
updating sample database file to use SQL server if JRUBY exists, mysq…
Browse files Browse the repository at this point in the history
…l otherwise
  • Loading branch information
Adam Soltys committed Mar 8, 2011
1 parent f507690 commit 08f9bc2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 0 additions & 8 deletions config/database.yml.mysql

This file was deleted.

14 changes: 11 additions & 3 deletions config/database.yml.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<% if defined?(JRUBY_VERSION) %>
development:
adapter: jdbc
username: user
password: password
username:
password:
driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://localhost:1433;databaseName=land_info
url: jdbc:sqlserver://gtisdev.pac.pwgsc.gc.ca:1433;databaseName=land_info
<% else %>
development:
adapter: mysql2
database: land_info
username:
password:
<% end %>

0 comments on commit 08f9bc2

Please sign in to comment.