Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89 Monotone-Author: dev-unix.inverse.qc.ca Monotone-Date: 2006-06-15T19:34:10 Monotone-Branch: ca.inverse.sogo
67 lines
2.1 KiB
Plaintext
67 lines
2.1 KiB
Plaintext
{
|
|
/*
|
|
CREATE TABLE SOGo_test (
|
|
c_id INT PRIMARY KEY,
|
|
c_dir VARCHAR(300) NOT NULL,
|
|
c_cn VARCHAR(80) NOT NULL,
|
|
c_mailto VARCHAR(120) NOT NULL,
|
|
);
|
|
*/
|
|
|
|
EOModelVersion = 1;
|
|
adaptorClassName = PostgreSQLAdaptor;
|
|
adaptorName = PostgreSQL;
|
|
|
|
entities = (
|
|
{
|
|
name = Test;
|
|
externalName = SOGo_test;
|
|
className = EOGenericRecord;
|
|
primaryKeyAttributes = ( pkey );
|
|
attributesUsedForLocking = ( pkey,
|
|
DIR,
|
|
CN,
|
|
mailto
|
|
);
|
|
classProperties = ( pkey,
|
|
DIR,
|
|
CN,
|
|
mailto
|
|
);
|
|
attributes = (
|
|
{
|
|
columnName = "c_id";
|
|
name = "pkey";
|
|
valueClassName = "NSNumber";
|
|
valueType = i;
|
|
externalType = INT;
|
|
},
|
|
{
|
|
columnName = "c_dir";
|
|
name = "DIR";
|
|
valueClassName = "NSString";
|
|
externalType = "VARCHAR(300)";
|
|
allowsNull = N;
|
|
width = 255;
|
|
},
|
|
{
|
|
columnName = "c_cn";
|
|
name = "CN";
|
|
valueClassName = "NSString";
|
|
externalType = "VARCHAR(80)";
|
|
allowsNull = N;
|
|
width = 60;
|
|
},
|
|
{
|
|
columnName = "c_mailto";
|
|
name = "mailto";
|
|
valueClassName = "NSString";
|
|
externalType = "VARCHAR(120)";
|
|
allowsNull = N;
|
|
width = 120;
|
|
}
|
|
);
|
|
}
|
|
);
|
|
}
|