Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- collate: utf8_unicode_ci
- charset: utf8
- detect_relations: true
- User:
- actAs: { Timestampable: ~ }
- columns:
- login: { type: string(255), notnull: true, unique: true }
- password: { type: string(255), notnull: true }
- password_salt: { type: string(255), notnull: true }
- locale: { type: varchar(5), notnull: true }
- title: { type: integer(1), notnull: true }
- name: { type: string(255), notnull: true }
- firstname: { type: string(255), notnull: true }
- email: { type: string(255), notnull: true }
- status: integer(2)
- access_type: { type: integer, notnull: true, default: 0 } # 0 = Free, 1 = Free start
- Profile:
- actAs: { Timestampable: ~ }
- tableName: user_profile
- columns:
- address: { type: string(255), notnull: false }
- zipcode: { type: string(255), notnull: false }
- city: { type: string(255), notnull: false }
- driver_license: { type: string(255), notnull: false }
- marital_status: { type: string(255), notnull: false }
- home_phone: { type: string(255), notnull: true }
- cell_phone: { type: string(255), notnull: true }
- career_level: { type: string(255), notnull: true }
- job_position_id: { type: integer, notnull: false }
- job_position: { type: string(255), notnull: false }
- years_experience: { type: integer, notnull: true }
- user_photo: { type: string(255), notnull: false }
- career_highlights: { type: text, notnull: true }
- department_id: { type: integer, notnull: false }
- department: { type: string(255), notnull: false }
- job_position_summary: { type: text, notnull: false }
- user_id: { type: integer, notnull: true }
- is_company: boolean
- relations:
- User:
- local: user_id
- foreign: id
- type: one
- foreignType: one
- Interests:
- class: Interest
- local: id
- foreign: user_profile_id
- type: many
- Languages:
- class: Language
- local: id
- foreign: user_profile_id
- type: many
- Formations:
- class: Formation
- local: id
- foreign: user_profile_id
- type: many
- foreignType: one
- Associations:
- class: Association
- local: id
- foreign: user_profile_id
- type: many
- Awards:
- class: Award
- local: id
- foreign: user_profile_id
- type: many
- Formation:
- actAs: { Timestampable: ~ }
- tableName: user_profile_formation
- columns:
- study_field: { type: string(255), notnull: true }
- start_month: { type: integer, notnull: false, default: 0 }
- start_year: { type: integer, notnull: true }
- end_month: { type: integer, notnull: false, default: 0 }
- end_year: { type: integer, notnull: true }
- school_name: { type: string(255), notnull: true }
- school_city: { type: string(255), notnull: true }
- school_country: { type: string(255), notnull: true }
- study_summary: { type: text, notnull: true }
- graduated: { type: bool, notnull: true }
- diploma: { type: string(255), notnull: false }
- other_diploma: { type: string(255), notnull: false }
- educational_level: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- Reference:
- actAs: { Timestampable: ~ }
- tableName: user_profile_reference
- columns:
- name: { type: string(255), notnull: true }
- job_position: { type: string(255), notnull: true }
- phone_number: { type: string(255), notnull: true }
- email: { type: string(255), notnull: true }
- Association:
- actAs: { Timestampable: ~ }
- tableName: user_profile_association
- columns:
- role: { type: string(255), notnull: true }
- association_name: { type: string(255), notnull: true }
- association_city: { type: string(255), notnull: true }
- association_country: { type: string(255), notnull: true }
- start_month: { type: integer, notnull: false, default: 0 }
- start_year: { type: integer, notnull: true }
- end_month: { type: integer, notnull: false, default: 0 }
- end_year: { type: integer, notnull: false, default: 0 }
- user_profile_id: { type: integer, notnull: false }
- Award:
- actAs: { Timestampable: ~ }
- tableName: user_profile_award
- columns:
- title: { type: string(255), notnull: true }
- prize_date: { type: date, notnull: true }
- user_profile_id: { type: integer, notnull: true }
- Travel:
- actAs: { Timestampable: ~ }
- tableName: professional_travels
- columns:
- country: { type: string(255), notnull: true, primary: true }
- user_profile_id: { type: integer, notnull: true }
- Interest:
- actAs: { Timestampable: ~ }
- tableName: user_profile_interest
- columns:
- title: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- Language:
- actAs: { Timestampable: ~ }
- tableName: user_profile_language
- columns:
- lang: { type: string(255), notnull: true }
- level: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- Skill:
- actAs: { Timestampable: ~ }
- tableName: user_professional_skill
- columns:
- title: { type: string(255), notnull: true }
- level: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- Objective:
- actAs: { Timestampable: ~ }
- tableName: user_professional_objective
- columns:
- job_position: { type: string(255), notnull: true }
- contract: { type: string(255), notnull: true }
- minimum_salary: { type: integer, notnull: true }
- maximum_salary: { type: integer, notnull: true }
- city: { type: string(255), notnull: true }
- country: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- Experience:
- actAs: { Timestampable: ~ }
- tableName: professional_experience
- columns:
- job_position_title: { type: string(255), notnull: true }
- company_grade: { type: string(255), notnull: true }
- company_size: { type: integer, notnull: true }
- company_activity: { type: string(255), notnull: true }
- company_city: { type: string(255), notnull: true }
- company_country: { type: string(255), notnull: true }
- start_date: { type: date, notnull: false }
- end_date: { type: date, notnull: false }
- start_year: { type: integer, notnull: true }
- end_year: { type: integer, notnull: true }
- job_position_summary: { type: string(255), notnull: true }
- user_profile_id: { type: integer, notnull: false }
- AcquiredSkill:
- actAs: { Timestampable: ~ }
- tableName: professional_acquired_skill
- columns:
- title: { type: string(255), notnull: true }
- professional_experience_id: { type: integer, notnull: true }
- Department:
- actAs:
- I18n:
- fields: [title]
- columns:
- title: { type: string(255), notnull: true }
- JobPosition:
- actAs:
- I18n:
- fields: [title]
- columns:
- title: { type: string(255), notnull: true }
- department_id: { type: integer, notnull: true }
- Company:
- actAs: { Timestampable: ~ }
- tableName: company
- columns:
- commercial_name: { type: string(255), notnull: true }
- corporate_name: { type: string(255), notnull: true }
- website: { type: string(255), notnull: true }
- phone: { type: string(255), notnull: true }
- fax: { type: string(255), notnull: true }
- email: { type: string(255), notnull: true }
- skype: { type: string(255), notnull: true }
- lang: { type: string(255), notnull: true }
- address: { type: string(255), notnull: true }
- zipcode: { type: string(255), notnull: true }
- city: { type: string(255), notnull: true }
- region: { type: string(255), notnull: true }
- country: { type: string(255), notnull: true }
- description: { type: text, notnull: true }
- logo: { type: string(255), notnull: true }
- law_form_id: { type: integer, notnull: false }
- law_form: { type: string(255), notnull: false }
- isin_code: { type: string(255), notnull: true }
- siret: { type: string(255), notnull: true }
- registration_date: { type: date, notnull: true }
- workforce_id: { type: integer, notnull: true }
- capital: { type: string(255), notnull: true }
- user_id: { type: integer, notnull: true }
- star_one: { type: boolean, notnull:true, default: false }
- relations:
- User:
- local: user_id
- foreign: id
- type: one
- foreignType: one
- LawForm:
- class: LawForm
- local: law_form_id
- foreign: id
- type: one
- foreignType: one
- class: LawForm
- Workforce:
- local: workforce_id
- foreign: id
- type: one
- foreignType: one
- class: Workforce
- Turnovers:
- local: id
- foreign: company_id
- type: many
- class: Turnover
- References:
- class: Reference
- local: id
- foreign: company_id
- type: many
- foreignType: one
- Certifications:
- class: Certification
- foreignAlias: Companies
- refClass: CompanyCertification
- Labels:
- class: QualityLabel
- foreignAlias: Companies
- refClass: CompanyQualityLabel
- Importations:
- class: Importation
- local: id
- foreign: company_id
- type: many
- foreignType: one
- Exportations:
- class: Exportation
- local: id
- foreign: company_id
- type: many
- foreignType: one
- Branches:
- class: Branch
- local: id
- foreign: company_id
- type: many
- foreignType: one
- BusinessTypes:
- class: BusinessType
- foreignAlias: BusinessTypes
- refClass: CompanyBusinessType
- CompanyCertification:
- actAs: { Timestampable: ~ }
- columns:
- id: { type: integer(4), primary: true, autoincrement: true }
- certification_id: { type: integer, primary: true }
- company_id: { type: integer, primary: true }
- relations:
- Company:
- foreignAlias: CompanyCertifications
- Certification:
- foreignAlias: CompanyCertifications
- CompanyQualityLabel:
- actAs: { Timestampable: ~ }
- columns:
- id: { type: integer(4), primary: true, autoincrement: true }
- quality_label_id: { type: integer, primary: true }
- company_id: { type: integer, primary: true }
- relations:
- Company:
- foreignAlias: CompanyQualityLabels
- Label:
- class: QualityLabel
- foreignAlias: CompanyQualityLabels
- tableName: company_quality_label
- CompanyBusinessType:
- actAs: { Timestampable: ~ }
- columns:
- id: { type: integer(4), primary: true, autoincrement: true }
- business_type_id: { type: integer, primary: true }
- company_id: { type: integer, primary: true }
- relations:
- Company:
- foreignAlias: CompanyBusinessTypes
- BusinessType:
- class: BusinessType
- foreignAlias: CompanyBusinessTypes
- BusinessType:
- actAs:
- I18n:
- fields: [title]
- tableName: business_types
- columns:
- title: { type: string(255), notnull: true }
- LawForm:
- actAs:
- I18n:
- fields: [title]
- tableName: law_form
- columns:
- title: { type: string(255), notnull: true }
- Workforce:
- columns:
- title: { type: string(255), notnull: true }
- Turnover:
- actAs: { Timestampable: ~ }
- tableName: company_turnover
- columns:
- fiscal_year: { type: integer, notnull: true }
- to_value: { type: decimal, notnull: true }
- to_currency: { type: string(2), notnull: false }
- export_percentage: { type: decimal, notnull: true }
- outcome_value: { type: decimal, notnull: true }
- outcome_currency: { type: string(2), notnull: true }
- company_id: { type: integer, notnull: true }
- Reference:
- actAs: { Timestampable: ~ }
- tableName: company_reference
- columns:
- name: { type: string(255), notnull: true }
- email: { type: string(255), notnull: true }
- website: { type: string(255), notnull: true }
- company_id: { type: integer, notnull: true }
- Certification:
- columns:
- title: { type: string(255), notnull: true }
- QualityLabel:
- columns:
- title: { type: string(255), notnull: true }
- Importation:
- actAs: { Timestampable: ~ }
- tableName: company_importation
- columns:
- company_id: { type: integer, notnull: true }
- country: { type: string(255), notnull: true }
- Exportation:
- actAs: { Timestampable: ~ }
- tableName: company_exportation
- columns:
- company_id: { type: integer, notnull: true }
- country: { type: string(255), notnull: true }
- Branch:
- actAs: { Timestampable: ~ }
- tableName: company_branch
- columns:
- corporate_name: { type: string(255), notnull: true }
- address: { type: string(255), notnull: true }
- zipcode: { type: string(255), notnull: true }
- city: { type: string(255), notnull: true }
- region: { type: string(255), notnull: true }
- country: { type: string(255), notnull: true }
- company_id: { type: integer, notnull: true }
- Label:
- tableName: message_label
- actAs:
- I18n:
- fields: [title]
- columns:
- title: { type: string(255), notnull: true }
- img_name: { type: string(255), notnull: true }
- background_img_name: { type: string(255), notnull: true }
- border_color: { type: string(255), notnull: true }
- Message:
- columns:
- sender_id: integer
- title: { type: string(255), notnull: true }
- content: { type: text, notnull: true }
- sender_label: integer
- response_to_message: integer
- template_id: integer
- deleted_by_sender: { type: boolean, default: 0 }
- actAs: { Timestampable: ~ }
- relations:
- Sender:
- class: User
- local: sender_id
- foreign: id
- type: one
- foreignType: many
- ResponseToMessage:
- class: Message
- local: response_to_message
- foreign: id
- type: one
- foreignType: many
- Label:
- local: sender_label
- foreign: id
- type: one
- foreignType: many
- class: Label
- Recipients:
- local: id
- foreign: message_id
- type: many
- foreignType: one
- class: Recipient
- Recipient:
- tableName: message_recipient
- columns:
- message_id: integer
- user_id: integer
- group_id: integer
- label_id: integer
- read: { type: boolean, default: 0 }
- deleted_by_recipient: { type: boolean, default: 0 }
- relations:
- Message:
- class: Message
- local: message_id
- foreign: id
- type: one
- foreignType: many
- Template:
- tableName: message_template
- actAs:
- I18n:
- fields: [title, content]
- columns:
- title: { type: string(255), notnull: true }
- content: { type: text, notnull: true }
- Group:
- tableName: user_group
- columns:
- user_id: { type: integer, notnull: true }
- title: { type: string(255), notnull: true }
- UserInGroup:
- columns:
- user_id: { type: integer, notnull: true }
- group_id: { type: integer, notnull: true }
- accepted: boolean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement