Examples of newIntegerColumn()


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

  @Override
  public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable {
    ERXMigrationTable sPGroupTable = database.newTableNamed("SPGroup");
    sPGroupTable.newStringColumn("description", 1000, true);
    sPGroupTable.newStringColumn("groupPassword", 100, true);
    sPGroupTable.newIntegerColumn("id", false);
    sPGroupTable.newStringColumn("name", 255, false);
    sPGroupTable.newIntegerColumn("ownerID", false);
    sPGroupTable.create();
     sPGroupTable.setPrimaryKey("id");
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.