Advertisement
Guest User

Untitled

a guest
Jun 12th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. propel:
  2. database:
  3. connections:
  4. default:
  5. adapter: pgsql
  6. dsn: pgsql:host=localhost;port=5432;dbname=sps_db
  7. user: postgres
  8. password: postgres
  9. settings:
  10. charset: utf8
  11.  
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <database name="default" defaultIdMethod="native" defaultPhpNamingMethod="underscore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:noNamespaceSchemaLocation="http://xsd.propelorm.org/1.6/database.xsd" >
  15. <table name="product" description="Available products table">
  16. <column name="id_product" autoIncrement="true" primaryKey="true" type="BIGINT" required="true"/>
  17. <column name="id_product_barcode" type="BIGINT" />
  18. <column name="name" type="VARCHAR" size="200" required="true" />
  19. <column name="id_product_manufacturer" type="INTEGER" required="true" />
  20. <column name="id_product_category" type="INTEGER" required="true"/>
  21. <column name="id_product_photo" type="BIGINT" />
  22. </table>
  23. </database>
  24.  
  25. Comparing models...
  26. Structure of database was modified in datasource "default": 1 modified tables
  27.  
  28. [PDOException]
  29. SQLSTATE[42701]: Duplicate column: 7 ERROR: column "id_product" of relation "product" already exists
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement