2009-10-07 02:38:34 +04:00
|
|
|
User:
|
|
|
|
tableName: users
|
|
|
|
columns:
|
|
|
|
username:
|
|
|
|
type: string(255)
|
|
|
|
length: 100
|
|
|
|
notnull: true
|
|
|
|
unique: true
|
|
|
|
password:
|
|
|
|
type: string(255)
|
2009-11-11 23:44:14 +03:00
|
|
|
clob: clob
|
2009-11-12 00:15:27 +03:00
|
|
|
test_alias as theAlias:
|
|
|
|
type: string(255)
|
2009-10-07 02:38:34 +04:00
|
|
|
indexes:
|
|
|
|
username:
|
|
|
|
fields: [username]
|
|
|
|
type: unique
|
|
|
|
|
|
|
|
Profile:
|
|
|
|
columns:
|
|
|
|
first_name: string(255)
|
|
|
|
last_name: string(255)
|
|
|
|
user_id: integer
|
|
|
|
relations:
|
|
|
|
User:
|
|
|
|
onDelete: CASCADE
|
|
|
|
foreignType: one
|
|
|
|
type: one
|