Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Url
- include Friendly::Document
- attribute :group_id, Friendly::UUID
- attribute :url, String
- attribute :note, String
- indexes :group_id
- indexes :created_at
- indexes :url
- caches_by :id
- end
- class Group
- include Friendly::Document
- attribute :puburl, String
- attribute :password, String
- attribute :name, String
- attribute :description, String
- indexes :puburl
- indexes :name
- indexes :created_at
- has_many :urls
- caches_by :id
- end
Add Comment
Please, Sign In to add comment