1995 lines
52 KiB
YAML
1995 lines
52 KiB
YAML
databaseChangeLog:
|
|
- changeSet:
|
|
id: 1774192314207-1
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: BIGINT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: user_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: title
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: body
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: updated_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_announcements
|
|
- changeSet:
|
|
id: 1774192314207-2
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
name: capital
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: citizenship
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: country_code
|
|
type: VARCHAR(3)
|
|
- column:
|
|
name: currency
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: currency_code
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: currency_sub_unit
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: currency_symbol
|
|
type: VARCHAR(3)
|
|
- column:
|
|
name: full_name
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: iso_3166_2
|
|
type: VARCHAR(2)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: iso_3166_3
|
|
type: VARCHAR(3)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: name
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: region_code
|
|
type: VARCHAR(3)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: ''
|
|
name: sub_region_code
|
|
type: VARCHAR(3)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 0
|
|
name: eea
|
|
type: BIT
|
|
- column:
|
|
name: calling_code
|
|
type: VARCHAR(3)
|
|
- column:
|
|
name: flag
|
|
type: VARCHAR(6)
|
|
tableName: auth_countries
|
|
- changeSet:
|
|
id: 1774192314207-3
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: IdMatrice
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: NomeMatriceTraduzione
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: DescrizioneTraduzione
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: MacroMatrice
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: NomeMatrice
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: Descrizione
|
|
type: TEXT
|
|
tableName: auth_matrici
|
|
- changeSet:
|
|
id: 1774192314207-4
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: migration
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: batch
|
|
type: INT
|
|
tableName: auth_migrations
|
|
- changeSet:
|
|
id: 1774192314207-5
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: email
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: token
|
|
type: VARCHAR(191)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_password_resets
|
|
- changeSet:
|
|
id: 1774192314207-6
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: permission_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: role_id
|
|
type: INT UNSIGNED
|
|
tableName: auth_permission_role
|
|
- changeSet:
|
|
id: 1774192314207-7
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: display_name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: description
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: removable
|
|
type: BIT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: updated_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_permissions
|
|
- changeSet:
|
|
id: 1774192314207-8
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: BIGINT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: tokenable_type
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: tokenable_id
|
|
type: BIGINT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: token
|
|
type: VARCHAR(64)
|
|
- column:
|
|
name: abilities
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: last_used_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: expires_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: updated_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_personal_access_tokens
|
|
- changeSet:
|
|
id: 1774192314207-9
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: display_name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: description
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: removable
|
|
type: BIT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: updated_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_roles
|
|
- changeSet:
|
|
id: 1774192314207-10
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: id
|
|
type: VARCHAR(191)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: user_id
|
|
type: INT
|
|
- column:
|
|
name: ip_address
|
|
type: VARCHAR(45)
|
|
- column:
|
|
name: user_agent
|
|
type: TEXT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: payload
|
|
type: TEXT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: last_activity
|
|
type: INT
|
|
tableName: auth_sessions
|
|
- changeSet:
|
|
id: 1774192314207-11
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: key
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: value
|
|
type: TEXT
|
|
tableName: auth_settings
|
|
- changeSet:
|
|
id: 1774192314207-12
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: user_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: provider
|
|
type: VARCHAR(50)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: provider_id
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: avatar
|
|
type: VARCHAR(191)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_social_logins
|
|
- changeSet:
|
|
id: 1774192314207-13
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: description
|
|
type: TEXT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: user_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: ip_address
|
|
type: VARCHAR(45)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: user_agent
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
tableName: auth_user_activity
|
|
- changeSet:
|
|
id: 1774192314207-14
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: email
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: username
|
|
type: VARCHAR(191)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: password
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: two_factor_secret
|
|
type: TEXT
|
|
- column:
|
|
name: two_factor_recovery_codes
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: two_factor_confirmed_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
name: first_name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: last_name
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: phone
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: avatar
|
|
type: VARCHAR(191)
|
|
- column:
|
|
name: address
|
|
type: VARCHAR(191)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: country_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: role_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: birthday
|
|
type: date
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: last_login
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: status
|
|
type: VARCHAR(20)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: two_factor_country_code
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: two_factor_phone
|
|
type: BIGINT UNSIGNED
|
|
- column:
|
|
name: two_factor_options
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: email_verified_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
name: remember_token
|
|
type: VARCHAR(100)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: updated_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: announcements_last_read_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: lims_user_id
|
|
type: INT UNSIGNED
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: lims_global_user_id
|
|
type: INT UNSIGNED
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-15
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: datadb_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: template_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: field_name
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: field_value
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
tableName: client_custom_data
|
|
- changeSet:
|
|
id: 1774192314207-16
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: mysql_column_name
|
|
type: VARCHAR(50)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: user_friendly_slug
|
|
type: VARCHAR(100)
|
|
- column:
|
|
name: api_node_name
|
|
type: VARCHAR(100)
|
|
- column:
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
tableName: column_mapping
|
|
- changeSet:
|
|
id: 1774192314207-17
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: iddatadb
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: importdate
|
|
type: date
|
|
- column:
|
|
name: importreferencecode
|
|
type: VARCHAR(50)
|
|
- column:
|
|
name: filename_import
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: user_id
|
|
type: INT
|
|
- column:
|
|
defaultValue: 'null'
|
|
name: status
|
|
type: ENUM('i', 'P', 'l')
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: templateid
|
|
type: INT
|
|
- column:
|
|
name: limscode
|
|
type: VARCHAR(150)
|
|
- column:
|
|
name: shipment_barcode
|
|
type: VARCHAR(150)
|
|
- column:
|
|
name: manufacture
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: requestor
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: season
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: sample_code
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: sample_description
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: color
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: material_type
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: destination_use
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: stylecode_styledescription
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: style_code
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: style_description
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: division
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: fiber_content
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: wr
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: coating_pu
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: care_label
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: age
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: collection
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: standard_reference
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: 2c
|
|
type: CHAR(1)
|
|
- column:
|
|
name: package
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: service_required
|
|
type: VARCHAR(250)
|
|
- column:
|
|
name: retest
|
|
type: CHAR(1)
|
|
- column:
|
|
name: previous_report
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: note
|
|
type: TEXT
|
|
- column:
|
|
name: sample_delivery
|
|
type: VARCHAR(250)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idcommessaweb
|
|
type: INT
|
|
- column:
|
|
name: commessaweb
|
|
type: VARCHAR(30)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: excelrow
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idclient
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: cliente_responsabile_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: moltiplicatore_prezzo_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: anagrafica_certest_object_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: anagrafica_certest_service_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: cliente_fornitore_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: consegna_richiesta
|
|
type: date
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: clienteAnalisi
|
|
type: INT
|
|
tableName: datadb
|
|
- changeSet:
|
|
id: 1774192314207-18
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: iddatadb
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: file_path
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: file_name
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueComputed: current_timestamp()
|
|
name: uploaded_at
|
|
type: TIMESTAMP(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: uploaded_by
|
|
type: INT UNSIGNED
|
|
- column:
|
|
name: description
|
|
type: TEXT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 0
|
|
name: StampaNelRapporto
|
|
type: BIT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 0
|
|
name: PrimaPagina
|
|
type: BIT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idquotations
|
|
type: INT
|
|
tableName: datadb_photos
|
|
- changeSet:
|
|
id: 1774192314207-19
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: template_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: excel_column
|
|
type: VARCHAR(50)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: mysql_column
|
|
type: VARCHAR(50)
|
|
- column:
|
|
defaultValue: VARCHAR
|
|
name: data_type
|
|
type: VARCHAR(50)
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: is_required
|
|
type: BIT
|
|
- column:
|
|
name: default_value
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: headerexcel
|
|
type: TEXT
|
|
- column:
|
|
name: tablename
|
|
type: VARCHAR(200)
|
|
tableName: excel_column_mappings
|
|
- changeSet:
|
|
id: 1774192314207-20
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
unique: true
|
|
name: name
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: header_row
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: A
|
|
name: start_column
|
|
type: CHAR(2)
|
|
- column:
|
|
name: description
|
|
type: TEXT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: target_table
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: sample_xlsx
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: medium
|
|
name: button_size
|
|
type: ENUM('small', 'medium', 'large')
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: '#007bff'
|
|
name: button_bg_color
|
|
type: VARCHAR(7)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: '#ffffff'
|
|
name: button_text_color
|
|
type: VARCHAR(7)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: Click Me
|
|
name: button_label
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: active
|
|
name: status
|
|
type: ENUM('active', 'inactive')
|
|
- column:
|
|
name: client_specific_fields
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idclient
|
|
type: INT
|
|
- column:
|
|
name: clientname
|
|
type: VARCHAR(200)
|
|
- column:
|
|
name: schemaname
|
|
type: VARCHAR(150)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idschema
|
|
type: INT
|
|
- column:
|
|
name: schemajson
|
|
type: TEXT
|
|
- column:
|
|
name: xls_headers
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idroutine
|
|
type: INT
|
|
tableName: excel_templates
|
|
- changeSet:
|
|
id: 1774192314207-21
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: iddatadb
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: part_number
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: part_description
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: material
|
|
type: VARCHAR(100)
|
|
- column:
|
|
name: color
|
|
type: VARCHAR(50)
|
|
- column:
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: N
|
|
name: mix
|
|
type: CHAR(1)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idquotations
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idmatrice
|
|
type: INT
|
|
- column:
|
|
name: note
|
|
type: TEXT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: dateexpiry
|
|
type: date
|
|
tableName: identification_parts
|
|
- changeSet:
|
|
id: 1774192314207-22
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: part_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: field_id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: value_id
|
|
type: INT
|
|
- column:
|
|
name: value_text
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
tableName: identification_parts_customfields
|
|
- changeSet:
|
|
id: 1774192314207-23
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: iddetail
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: mapping_id
|
|
type: INT
|
|
- column:
|
|
name: field_value
|
|
type: TEXT
|
|
tableName: import_data_details
|
|
- changeSet:
|
|
id: 1774192314207-24
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
defaultValueComputed: current_timestamp()
|
|
name: creation_date
|
|
type: datetime(0)
|
|
- column:
|
|
name: description
|
|
type: TEXT
|
|
- column:
|
|
name: customer
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: iduser
|
|
type: INT
|
|
tableName: quotations
|
|
- changeSet:
|
|
id: 1774192314207-25
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: idroutine
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: name
|
|
type: VARCHAR(50)
|
|
- column:
|
|
name: description
|
|
type: VARCHAR(150)
|
|
- column:
|
|
name: action1
|
|
type: VARCHAR(100)
|
|
- column:
|
|
name: action2
|
|
type: VARCHAR(100)
|
|
- column:
|
|
name: action3
|
|
type: VARCHAR(100)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: instruction
|
|
type: TEXT
|
|
- column:
|
|
name: filename
|
|
remarks: Nome del file della routine (es. moncler.php)
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: headerrow
|
|
remarks: Riga dell'intestazione nell'XLS
|
|
type: INT
|
|
- column:
|
|
name: action4
|
|
type: TEXT
|
|
tableName: routine
|
|
- changeSet:
|
|
id: 1774192314207-26
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: template_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: fixed_field_key
|
|
type: VARCHAR(100)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: is_manual
|
|
type: BIT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: INT
|
|
name: data_type
|
|
type: ENUM('INT', 'DATE')
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: is_required
|
|
type: BIT
|
|
- column:
|
|
name: default_value
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: is_visible_import
|
|
type: BIT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueComputed: current_timestamp()
|
|
name: created_at
|
|
type: datetime(0)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueComputed: current_timestamp() on update current_timestamp()
|
|
name: updated_at
|
|
type: datetime(0)
|
|
tableName: template_fixed_mapping
|
|
- changeSet:
|
|
id: 1774192314207-27
|
|
author: Dell (generated)
|
|
changes:
|
|
- createTable:
|
|
columns:
|
|
- column:
|
|
autoIncrement: true
|
|
constraints:
|
|
nullable: false
|
|
primaryKey: true
|
|
name: id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: template_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: schema_id
|
|
type: INT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: field_id
|
|
type: INT
|
|
- column:
|
|
name: excel_column
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: is_manual
|
|
type: BIT
|
|
- column:
|
|
name: manual_default
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: none
|
|
name: auto_value
|
|
type: ENUM('none', 'import_date', 'import_time', 'export_date', 'export_time')
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: data_type
|
|
type: VARCHAR(50)
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: is_required
|
|
type: BIT
|
|
- column:
|
|
name: default_value
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: has_list
|
|
type: BIT
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: length
|
|
type: INT
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: decimals
|
|
type: INT
|
|
- column:
|
|
name: min_value
|
|
type: VARCHAR(255)
|
|
- column:
|
|
name: max_value
|
|
type: VARCHAR(255)
|
|
- column:
|
|
defaultValueNumeric: 0
|
|
name: default_curr_date
|
|
type: BIT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: tablename
|
|
type: VARCHAR(100)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
name: field_label
|
|
type: VARCHAR(255)
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValue: '0'
|
|
name: main_field
|
|
type: ENUM('0', '1')
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 1
|
|
name: is_visible_import
|
|
type: BIT
|
|
- column:
|
|
constraints:
|
|
nullable: false
|
|
defaultValueNumeric: 0
|
|
name: is_visible_parts
|
|
type: BIT
|
|
tableName: template_mapping
|
|
- changeSet:
|
|
id: 1774192314207-28
|
|
author: Dell (generated)
|
|
changes:
|
|
- addUniqueConstraint:
|
|
columnNames: template_id, fixed_field_key
|
|
constraintName: uniq_template_field
|
|
tableName: template_fixed_mapping
|
|
- changeSet:
|
|
id: 1774192314207-29
|
|
author: Dell (generated)
|
|
changes:
|
|
- addUniqueConstraint:
|
|
columnNames: template_id, excel_column
|
|
constraintName: unique_mapping
|
|
tableName: excel_column_mappings
|
|
- changeSet:
|
|
id: 1774192314207-30
|
|
author: Dell (generated)
|
|
changes:
|
|
- addUniqueConstraint:
|
|
columnNames: template_id, schema_id, field_id
|
|
constraintName: unique_mapping
|
|
tableName: template_mapping
|
|
- changeSet:
|
|
id: 1774192314207-31
|
|
author: Dell (generated)
|
|
changes:
|
|
- addUniqueConstraint:
|
|
columnNames: part_id, field_id
|
|
constraintName: uq_part_field
|
|
tableName: identification_parts_customfields
|
|
- changeSet:
|
|
id: 1774192314207-32
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: user_id
|
|
indexName: auth_announcements_user_id_foreign
|
|
tableName: auth_announcements
|
|
- changeSet:
|
|
id: 1774192314207-33
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: email
|
|
indexName: auth_password_resets_email_index
|
|
tableName: auth_password_resets
|
|
- changeSet:
|
|
id: 1774192314207-34
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: role_id
|
|
indexName: auth_permission_role_role_id_foreign
|
|
tableName: auth_permission_role
|
|
- changeSet:
|
|
id: 1774192314207-35
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: tokenable_type
|
|
- column:
|
|
name: tokenable_id
|
|
indexName: auth_personal_access_tokens_tokenable_type_tokenable_id_index
|
|
tableName: auth_personal_access_tokens
|
|
- changeSet:
|
|
id: 1774192314207-36
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: key
|
|
indexName: auth_settings_key_index
|
|
tableName: auth_settings
|
|
- changeSet:
|
|
id: 1774192314207-37
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: user_id
|
|
indexName: auth_social_logins_user_id_foreign
|
|
tableName: auth_social_logins
|
|
- changeSet:
|
|
id: 1774192314207-38
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: user_id
|
|
indexName: auth_user_activity_user_id_foreign
|
|
tableName: auth_user_activity
|
|
- changeSet:
|
|
id: 1774192314207-39
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: country_id
|
|
indexName: auth_users_country_id_foreign
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-40
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: created_at
|
|
indexName: auth_users_created_at_index
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-41
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: role_id
|
|
indexName: auth_users_role_id_foreign
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-42
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: status
|
|
indexName: auth_users_status_index
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-43
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: username
|
|
indexName: auth_users_username_index
|
|
tableName: auth_users
|
|
- changeSet:
|
|
id: 1774192314207-44
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: datadb_id
|
|
indexName: datadb_id
|
|
tableName: client_custom_data
|
|
- changeSet:
|
|
id: 1774192314207-45
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: id
|
|
indexName: id
|
|
tableName: import_data_details
|
|
- changeSet:
|
|
id: 1774192314207-46
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: field_id
|
|
indexName: idx_field
|
|
tableName: identification_parts_customfields
|
|
- changeSet:
|
|
id: 1774192314207-47
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: field_id
|
|
indexName: idx_field_id
|
|
tableName: template_mapping
|
|
- changeSet:
|
|
id: 1774192314207-48
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: iddatadb
|
|
indexName: idx_iddatadb
|
|
tableName: datadb_photos
|
|
- changeSet:
|
|
id: 1774192314207-49
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: iddatadb
|
|
indexName: idx_iddatadb
|
|
tableName: identification_parts
|
|
- changeSet:
|
|
id: 1774192314207-50
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: idquotations
|
|
indexName: idx_idquotations
|
|
tableName: datadb_photos
|
|
- changeSet:
|
|
id: 1774192314207-51
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: MacroMatrice
|
|
indexName: idx_macro_matrice
|
|
tableName: auth_matrici
|
|
- changeSet:
|
|
id: 1774192314207-52
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: NomeMatrice
|
|
indexName: idx_nome_matrice
|
|
tableName: auth_matrici
|
|
- changeSet:
|
|
id: 1774192314207-53
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: NomeMatriceTraduzione
|
|
indexName: idx_nome_matrice_traduzione
|
|
tableName: auth_matrici
|
|
- changeSet:
|
|
id: 1774192314207-54
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: schema_id
|
|
indexName: idx_schema_id
|
|
tableName: template_mapping
|
|
- changeSet:
|
|
id: 1774192314207-55
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: template_id
|
|
indexName: idx_template_id
|
|
tableName: excel_column_mappings
|
|
- changeSet:
|
|
id: 1774192314207-56
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: template_id
|
|
indexName: idx_template_id
|
|
tableName: template_fixed_mapping
|
|
- changeSet:
|
|
id: 1774192314207-57
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: template_id
|
|
indexName: idx_template_id
|
|
tableName: template_mapping
|
|
- changeSet:
|
|
id: 1774192314207-58
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: value_id
|
|
indexName: idx_value_id
|
|
tableName: identification_parts_customfields
|
|
- changeSet:
|
|
id: 1774192314207-59
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
defaultValueComputed: 'NULL'
|
|
name: mapping_id
|
|
indexName: mapping_id
|
|
tableName: import_data_details
|
|
- changeSet:
|
|
id: 1774192314207-60
|
|
author: Dell (generated)
|
|
changes:
|
|
- createIndex:
|
|
associatedWith: ''
|
|
columns:
|
|
- column:
|
|
name: template_id
|
|
indexName: template_id
|
|
tableName: client_custom_data
|
|
- changeSet:
|
|
id: 1774192314207-61
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: user_id
|
|
baseTableName: auth_announcements
|
|
constraintName: auth_announcements_user_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_users
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-62
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: permission_id
|
|
baseTableName: auth_permission_role
|
|
constraintName: auth_permission_role_permission_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: CASCADE
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_permissions
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-63
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: role_id
|
|
baseTableName: auth_permission_role
|
|
constraintName: auth_permission_role_role_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: CASCADE
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_roles
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-64
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: user_id
|
|
baseTableName: auth_social_logins
|
|
constraintName: auth_social_logins_user_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_users
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-65
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: user_id
|
|
baseTableName: auth_user_activity
|
|
constraintName: auth_user_activity_user_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_users
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-66
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: country_id
|
|
baseTableName: auth_users
|
|
constraintName: auth_users_country_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: SET NULL
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_countries
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-67
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: role_id
|
|
baseTableName: auth_users
|
|
constraintName: auth_users_role_id_foreign
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: RESTRICT
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: auth_roles
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-68
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: datadb_id
|
|
baseTableName: client_custom_data
|
|
constraintName: client_custom_data_ibfk_1
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: iddatadb
|
|
referencedTableName: datadb
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-69
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: template_id
|
|
baseTableName: client_custom_data
|
|
constraintName: client_custom_data_ibfk_2
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: excel_templates
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-70
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: iddatadb
|
|
baseTableName: datadb_photos
|
|
constraintName: datadb_photos_ibfk_1
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: iddatadb
|
|
referencedTableName: datadb
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-71
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: template_id
|
|
baseTableName: excel_column_mappings
|
|
constraintName: excel_column_mappings_ibfk_1
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: excel_templates
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-72
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: iddatadb
|
|
baseTableName: identification_parts
|
|
constraintName: identification_parts_ibfk_1
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: CASCADE
|
|
referencedColumnNames: iddatadb
|
|
referencedTableName: datadb
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-73
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: id
|
|
baseTableName: import_data_details
|
|
constraintName: import_data_details_ibfk_1
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: CASCADE
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: iddatadb
|
|
referencedTableName: datadb
|
|
validate: true
|
|
- changeSet:
|
|
id: 1774192314207-74
|
|
author: Dell (generated)
|
|
changes:
|
|
- addForeignKeyConstraint:
|
|
baseColumnNames: mapping_id
|
|
baseTableName: import_data_details
|
|
constraintName: import_data_details_ibfk_2
|
|
deferrable: false
|
|
initiallyDeferred: false
|
|
onDelete: SET NULL
|
|
onUpdate: RESTRICT
|
|
referencedColumnNames: id
|
|
referencedTableName: template_mapping
|
|
validate: true
|
|
|