diff options
-rw-r--r-- | certs/app/models/cert.rb | 2 | ||||
-rw-r--r-- | config/couchdb.yml | 9 | ||||
-rw-r--r-- | users/app/models/user.rb | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/certs/app/models/cert.rb b/certs/app/models/cert.rb index 40efde9..9a6c98d 100644 --- a/certs/app/models/cert.rb +++ b/certs/app/models/cert.rb @@ -1,6 +1,6 @@ class Cert < CouchRest::Model::Base - use_database 'certs' + use_database 'client_certificates' timestamps! diff --git a/config/couchdb.yml b/config/couchdb.yml new file mode 100644 index 0000000..636f2f2 --- /dev/null +++ b/config/couchdb.yml @@ -0,0 +1,9 @@ +development: + prefix: "" + +production: + prefix: "" + +test: + prefix: "" + suffix: test diff --git a/users/app/models/user.rb b/users/app/models/user.rb index 4fd0039..10f358d 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -1,5 +1,7 @@ class User < CouchRest::Model::Base + use_database :users + property :login, String, :accessible => true property :password_verifier, String, :accessible => true property :password_salt, String, :accessible => true |