summaryrefslogtreecommitdiff
path: root/users/app/models/message.rb
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/models/message.rb')
-rw-r--r--users/app/models/message.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/app/models/message.rb b/users/app/models/message.rb
new file mode 100644
index 0000000..38fa71e
--- /dev/null
+++ b/users/app/models/message.rb
@@ -0,0 +1,10 @@
+class Message < CouchRest::Model::Base
+
+ use_database :messages
+
+ property :text, String
+
+ design do
+ end
+
+end