Examples of newDoubleColumn()


Examples of er.extensions.migration.ERXMigrationTable.newDoubleColumn()

     directorTable.setPrimaryKey("MOVIE_ID", "TALENT_ID");

    ERXMigrationTable votingTable = database.newTableNamed("voting");
    votingTable.newIntegerColumn("MOVIE_ID", false);
    votingTable.newIntegerColumn("NUMBER_OF_VOTES", true);
    votingTable.newDoubleColumn("RUNNING_AVERAGE", 20, 9, true);
    votingTable.create();
     votingTable.setPrimaryKey("MOVIE_ID");

    ERXMigrationTable movieTable = database.newTableNamed("movie");
    movieTable.newStringColumn("CATEGORY", 20, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.