ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
admin DB Table
account_activity DB Table admin_attr DB Table
Location Home > Developer's Guide > Database Structure

admin DB Table

this article last updated: May 17, 2010
Due to inevitable changes that will be made to the shopping cart software over time, the cart's variable and database structure may change from time to time without advanced notice. We will attempt to keep the information in this article up-to-date, but Modular Merchant makes no guarantee as to the accuracy of the information provided in this article. Use this information at your own risk.

This article outlines the database structure for the MMv4 admin database table.

  • id
    Primary Key of admins table.
    int(10) | unsigned | auto increment | primary key | indexed
  • active
    Admin account's active status. Inactive admins are not allowed to access the store's administration area.
    int(10) | unsigned | Values: 0/timestamp | Default: 1 | indexed
  • login
    The moniker associated with the administrator. The login will be used to access the administration area and will be used to identify the admin's forum, blog, kb, QC glossary and support ticket posts.
    varchar(255) | indexed
  • email
    The admin's email address. Support Ticket responses and other communication from Modular Merchant to the admin will be sent to this email address.
    varchar(255)
  • first_name
    The admin's first name. This may be displayed in various places in the store's administration and Support Ticket areas.
    varchar(255)
  • last_name
    The admin's first name. This may be displayed in various places in the store's administration and Support Ticket areas.
    varchar(255)
  • address_1
    The first line of the admin's address. The name of this field has changed from "address1" in MMv3.
    varchar(255)
  • address_2
    The second line of the admin's address.
    The name of this field has changed from "address2" in MMv3.
    varchar(255)
  • city
    The city of the admin's address.
    varchar(255)
  • state
    The two-character ISO code for the state of the admin's address, followed by the two-character ISO code for that state's country.
    varchar(255) | Format: State-ISO_Country-ISO (Example: OR_US)
  • zip
    The zip code of the admin's address.
    varchar(255)
  • country
    The two-character ISO code for the country of the admin's address.
    varchar(255)
  • phone_ac
    The area code of theadmin's primary phone number.

    varchar(255)
  • phone
    The admin's primary phone number.
    The name of this field has changed from "phone1" in MMv3.
    varchar(255)
  • question
    The admin's security question. Modular Merchant technicians will ask this question to verify the admin's identity.
    varchar(255)
  • answer
    The answer to the admin's security question.
    varchar(255)
  • handle
    The user name appended to any forum, blog, QC glossary or KB post made by the admin.
    varchar(255)
  • signature
    The admin's signature will be appended to any forum, blog, QC glossary, KB or Support Ticket posts made by the admin.
    text
  • avatar
    The file name of the admin account's avatar image.
    varchar(255)
  • color
    The color associated with the admin account. Used in charts, reports, etc.
    varchar(255)
  • work_area_width
    The work area width for this specific admin account.
    int(10)  | unsigned | indexed
  • font_size
    The font size for the administration area for this admin account.
    int(10) | unsigned | indexed



DEPRECATED TABLE FIELDS (Field not retained from v3)

  • admin_type
    Replaced by the admin-specific permission levels recorded in the prefs/_(ADMIN-ID)_admin_permissions.xml file.
  • password
    Replaced by the admin_passwords DB table, which will be required in order to record the admin's last X passwords. PCI compliance requires that the admin's passwords are forced to be changed every X days, and that the new password cannot be the same as any of the X most recent passwords.
  • company
    Replaced by the custom fields that can be created for admin accounts.
  • phone2
    Replaced by the custom fields that can be created for admin accounts.
  • fax
    Replaced by the custom fields that can be created for admin accounts.
  • create_date
    This field is obsolete because it this information will be recorded in the Admin Activity report.
  • edit_date
    This field is obsolete because this information will be recorded in the Admin Activity report.
  • edited_by
    This field is obsolete because this informaiton will be recorded in the Admin Activity report.
  • color
    Both the customizable avatar and the custom admin fields that can be created make this field obsolete.
  • forum_sig
    The "signature" field will replace the separate "forum_sig" field.

 



— Last Edited - 05/17/2010 4:10pm PDT
Rank and add a comment to this article
Only logged in users may leave comments and rank articles. Log in to have your say!
  Knowledge Base Home

  QuickCode™ Tag Glossary

  Modular Merchant.com Homepage

Not Logged in.
Either Log in or create a User Account.

Other articles in this category...

account_activity DB Table

admin DB Table

admin_attr DB Table

admin_attr_data DB Table

admin_attr_node DB Table

admin_password DB Table

aff_commission DB Ttable

aff_default_target_url DB Table

aff_payment DB Table

aff_tid DB Table

aff_traffic DB table

ban_list DB Table

basket DB Table

basket_field_data DB table

category DB Table

category_attr DB Table

category_attr_assoc DB table

category_attr_data DB Table

category_attr_node DB Table

checkout_field DB table

checkout_field_node

customer DB Table

customer_attr DB Table

customer_attr_assoc DB table

customer_attr_data DB Table

customer_attr_node DB Table

customer_field DB Table

customer_field_data DB Table

customer_field_node DB Table

customer_group DB Table

customer_group_assoc DB table

customer_group_rule DB Table

customer_group_rule_node DB table

customer_ip DB Table

customer_pay_method DB Table

customer_ship_addr DB Table

custom_page DB Table

custom_quickcode DB Table

dec_orders DB table

dec_order_event_assoc DB table

dec_order_field_data DB table

dec_order_gateway_assoc DB table

dec_order_item DB table

dec_order_item_field_data DB table

dec_order_pay_method DB table

dec_order_shipment DB table

dec_order_tax_assoc DB table

dec_order_zone_fee_assoc DB table

digdel_fileserver DB table

digdel_ip DB Table

digdel_object DB table

digdel_object_zone DB table

digdel_order_item DB Table

dropship DB Table

dropship_report_hour_assoc DB Table

dropship_ship_method_assoc DB Table

em_attachment DB Table

em_history DB Table

em_link DB table

em_queue DB table

em_queue DB table

em_series DB table

em_series_step DB table

em_template DB table

event_ignore DB table

event_info DB table

event_tr DB table

event_tr_slot DB table

gift_cert DB table

inventory_object DB table

iptocountry DB Table

note DB table

orders DB Table

order_event_assoc DB Table

order_field DB Table

order_field_data DB table

order_field_node DB Table

order_gateway_assoc DB table

order_item DB Table

order_item_field_data DB table

order_item_report DB Table

order_item_royalty_assoc DB table

order_item_status DB Table

order_item_tracking_assoc DB Table

order_pay_method DB table

order_shipment DB Table

order_tax_assoc DB Table

order_zone_fee_assoc DB Table

ospg_orders DB table

ospg_order_event_assoc DB table

ospg_order_field_data DB table

ospg_order_gateway_assoc DB table

ospg_order_item DB table

ospg_order_item_field_data DB table

ospg_order_item_royalty_assoc DB

ospg_order_pay_method DB table

ospg_order_shipment DB table

ospg_order_tax_assoc DB table

ospg_order_zone_fee_assoc DB table

product DB Table

product_add_ship_assoc DB Table

product_attr DB Table

product_attr_assoc DB table

product_attr_data DB Table

product_attr_node DB Table

product_category_assoc DB Table

product_com_val DB Table

product_digobj_assoc DB Table

product_field DB Table

product_field_assoc DB Table

product_field_data DB Table

product_field_node DB Table

product_fulfillment_assoc DB Table

product_group DB Table

product_group_assoc DB Table

product_image DB Table

product_instance DB Table

product_royalty DB Table

product_ship_method_assoc DB Table

product_status DB Table

product_stock_assoc DB Table

product_vendor_assoc DB Table

product_zone_fee_assoc DB Table

ptcs DB Table

ptcs_item DB table

ptcs_item_use DB table

review DB table

review_ceriteria DB table

review_rank DB table

review_vote DB table

ship_method DB Table

ship_method_zone DB Table

ship_status DB Table

stock_level DB Table

subscription DB Table

subscription_item DB Table

system_settings DB Table

sys_email_us_english DB Table

sys_message_us_english

tax DB Table

tax_zone DB Table

tracking_id DB Table

vendor DB Table

vendor_attr DB Table

vendor_attr_data DB Table

vendor_attr_node DB Table

zone_fee DB Table

zone_fee_zone DB Table