Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Categoria:
- tableName: Categorias
- columns:
- id:
- type: integer(4)
- primary: true
- notnull: true
- autoincrement: true
- nombre:
- type: string(255)
- notnull: true
- imagen:
- type: string(255)
- descripcion:
- type: clob(65535)
- activo:
- type: boolean
- default: 1
- relations:
- Categorias:
- class: Categoria
- refClass: CategoriasCategoria
- local: cat1
- foreign: cat2
- equal: true
- onDelete: cascade
- onUpdate: cascade
- CategoriasCategoria:
- tableName: CategoriasCategorias
- columns:
- cat1:
- type: integer(4)
- primary: true
- notnull: true
- cat2:
- type: integer(4)
- primary: true
- notnull: true
- indexes:
- fk_CategoriasCategorias_Categorias1:
- fields: [cat1]
- fk_CategoriasCategorias_Categorias2:
- fields: [cat2]
Add Comment
Please, Sign In to add comment