How to change Table name in Realm Android?
<p>There is <code>User</code> table in APP version 1.0: 
    <code>
    @Table(name="User1")
    public class User extends RealmObject {
        @PrimaryKey
        public int    uid;
        @Required
        public String name;
    }
    </code></p>

<p>In APP version 2.0, add a field <code>age</code>:
    <code>
    @Table(name="User2")
    public class User extends RealmObject {
        @PrimaryKey
        public int    uid;
        @Required
        public String name;
        public int    age;
    }
    </code></p>

<p>I usually <strong>change</strong> <code>User</code> <strong>table name</strong> in version 2.0 by changing <strong>annotation</strong>, because it's easier then call <code>ADD COLUM age</code>.<br/></p>

<p>How should i do in <strong>realm API</strong>?<br/>
i've try <code>@DefineTable</code> but does not work.</p>