Skip to content

Instantly share code, notes, and snippets.

@marfillaster
Created January 29, 2010 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marfillaster/289418 to your computer and use it in GitHub Desktop.
Save marfillaster/289418 to your computer and use it in GitHub Desktop.
Profile:
columns:
user_id: integer(8)
last_login_ip: string(16)
session_id: string(32)
relations:
User:
class: sfGuardUser
local: user_id
foreign: id
type: one
foreignType: one
foreignAlias: Profile
Session:
class: Session
local: session_id
foreign: id
type: one
foreignType: one
foreignAlias: Profile
Session:
options:
symfony:
forms: false
filters: false
columns:
id: { type: string(32), primary: true, notnull: true }
data: { type: string(4000), notnull: true }
time: { type: integer(4), notnull: true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment