Created
January 26, 2011 15:43
-
-
Save arnaud-lecat/796876 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Entity: | |
actAs: | |
Timestampable: ~ | |
Sluggable: | |
fields: [title] | |
NestedSet: ~ | |
Commentable: ~ | |
columns: | |
entity_id: | |
type: string | |
primary: true | |
business_id: | |
type: integer | |
title: | |
type: string(255) | |
is_active: { type: boolean, default: true } | |
type_id: { type: string(25) } | |
logo: { type: string(255) } | |
relations: | |
Business: | |
local: business_id | |
onDelete: CASCADE | |
foreignAlias: Entities | |
sfGuardUser: | |
refClass: sfGuardUserEntity | |
local: entity_id | |
foreign: user_id | |
foreignAlias: Entities | |
indexes: | |
is_active_index: | |
fields: [is_active] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment