Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- propel:
- database:
- connections:
- default:
- adapter: pgsql
- dsn: pgsql:host=localhost;port=5432;dbname=sps_db
- user: postgres
- password: postgres
- settings:
- charset: utf8
- <?xml version="1.0" encoding="utf-8"?>
- <database name="default" defaultIdMethod="native" defaultPhpNamingMethod="underscore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://xsd.propelorm.org/1.6/database.xsd" >
- <table name="product" description="Available products table">
- <column name="id_product" autoIncrement="true" primaryKey="true" type="BIGINT" required="true"/>
- <column name="id_product_barcode" type="BIGINT" />
- <column name="name" type="VARCHAR" size="200" required="true" />
- <column name="id_product_manufacturer" type="INTEGER" required="true" />
- <column name="id_product_category" type="INTEGER" required="true"/>
- <column name="id_product_photo" type="BIGINT" />
- </table>
- </database>
- Comparing models...
- Structure of database was modified in datasource "default": 1 modified tables
- [PDOException]
- SQLSTATE[42701]: Duplicate column: 7 ERROR: column "id_product" of relation "product" already exists
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement