task

SCRIPT-db_create-v-016

[previously]

  1. [REFERENCE] HAVE
    1. ] # # - script.sql create-database -  ovu, status
  2. [2014-12-dd] # # - CREATE-FILE-script-v-016.sql -
    1. x]  used v-015 - thinking that I have already made some of these changes
  3. x] CREATE doc records
    1. x] # 4568 - v-015
    2. x] # 4569 - v-016 -
  4. x] REVIEW notes from records db-v-014
    1. *] notes show that some of these changes have been made (DROP tables ]books in lib, ] chapters ...
    2. x] explains process of constructing CREATE script FROM ....
  5. x] RESET all auto increment #'s
    1. x] to 1
  6. x] REMOVEd - tables
    1. x] webpages-membership
    2. x] tech-hw (custom)
    3. x] viewBooksInLibrary,
    4. x] viewChaptersInBook
  7. x] ADD
    1. x] photo field to table books as per notes v-014
  8. [2014-12-dd] REVIEW notes from record CREATE-db-v-013
    1. x] completed - no additional changes requried
  9. [2014-12-dd] TEST - script-db-create-v-016
    1. x] navigate to existing,empty db(db18)
    2. x] sql - paste entire script into
    3. x] RESULT = 31/32 tables created successfully
    4. x] ERROR(s) = 1, view buying - see details below
    5. *] NOTES = view priority and view priority1 are listed as tables, NOT as views
  10. [2014-12-26] FIX PRB - ERROR db-create
    1. x] download 'view creation script' from current db
    2. x] COMPARE - to script in RESULT= dont see the difference
    3. x] swap code for view-buying
    4. x] TRY - generate view with new script RESULT=PASS

[currently]

  1. ]

[next]

  1. ]


ERROR

CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`donS2`@`%` SQL SECURITY DEFINER VIEW `view_buying` AS select `items`.`id_item` AS `id_item`,`items`.`name_item` AS `name_item`,`items`.`description_item` AS `description_item`,`items`.`parent_id` AS `parent_id`,`items`.`cogs` AS `cogs`,`items`.`quantity` AS `quantity`,`items`.`unit` AS `unit`,`items`.`content_item` AS `content_item`,`items`.`content_format` AS `content_format`,`items`.`photo` AS `photo`,`items`.`status` AS `status`,`items`.`owner` AS `owner`,`items`.`priority` AS `priority`,`itemcategories`.`name_itemCategory` AS `name_itemCategory`,`itemcategories`.`id_itemCategory` AS `id_itemCategory`,`itemcategories`.`parent_id` AS `parent_id_itemCategory`,`inventories`.`name_inventory` AS `name_inventory`,`inventories`.`id_inventory` AS `id_inventory`,`inventories`.`parent_id` AS `inventory_parent_id`,`warehouses`.`name_warehouse` AS `name_warehouse`,`warehouses`.`id_wareh[...]

MySQL said: Documentation

#1054 - Unknown column 'itemcategories.

name_itemCategory' in 'order clause'

Details Photos Edit more

Details

ID: 4569

NAME: DB-create-v-016

DESCRIPTION: generate new template (-v-016) from CURRENT sospep

START DATE TIME: 2014-12-24 13:04:14

EST DURATION: 01:00:00

END DATE TIME: 2014-12-24 14:04:14

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities