Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. Media_Model_FileMetadata:
  2.   connection: default
  3.   tableName: media_file_metadata
  4.   columns:
  5.     id:
  6.       type: integer
  7.       unsigned: true
  8.       primary: true
  9.       autoincrement: true
  10.     file_id:
  11.       type: integer
  12.       unsigned: true
  13.     key:
  14.       type: string(32)
  15.       notnull: true
  16.     value:
  17.       type: string
  18.       notnull: false
  19.  
  20.  
  21. [Doctrine] Error while creating tables from model: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARCHAR(32) NOT NULL, value TEXT, PRIMARY KEY(id)) ENGINE = INNODB' at line 1. Failing Query: "CREATE TABLE media_file_metadata (id BIGINT UNSIGNED AUTO_INCREMENT, file_id BIGINT UNSIGNED, key VARCHAR(32) NOT NULL, value TEXT, PRIMARY KEY(id)) ENGINE = INNODB". Failing Query: CREATE TABLE media_file_metadata (id BIGINT UNSIGNED AUTO_INCREMENT, file_id BIGINT UNSIGNED, key VARCHAR(32) NOT NULL, value TEXT, PRIMARY KEY(id)) ENGINE = INNODB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement