topaz v0.2.0 Release Notes

Release Date: 2016-12-14 // almost 5 years ago
    • 👌 Support PostgreSQL🎉 (Thanks @will and @asterite)
    • Simplify core macros(columns, has_many, belongs_to)
    • 🗄 primary is deprecated (You have to control it on code level)

    Example:

    Previous

    class Parent \< Topaz::Model columns( {name: name, type: String} ) has\_many( {model: Child, as: childlen, key: p\_id} )end
    

    Now

    class Parent \< Topaz::Model columns( name: String ) has\_many( childlen: {model: Child, key: p\_id} )end