gbrian commented on issue #2422: Create migrate script failed
URL: 
https://github.com/apache/incubator-superset/issues/2422#issuecomment-498684843
 
 
   Hi,
   Having the issue:
   ```
   sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "ALTER": 
syntax error
   [SQL: ALTER TABLE annotation ALTER COLUMN layer_id SET NOT NULL]
   ```
   It happens without any change. 
   `layer_id` column at `annotation` table is defined:
   
   `layer_id = Column(Integer, ForeignKey('annotation_layer.id'), 
nullable=False)
   `
   
   Question: Is it  save to commit the generated script? If not what's the 
preferred DB engine for development? Currently using **sqlite3**
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to