CREATE TABLE mytable (
id int(11) NOT NULL AUTO_INCREMENT,
fullname varchar(50) collate utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
How can I add the 'collate' clause and CHARSET key word in alembic migration script?
op.create_table('mytable',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('fullname', sa.String(length=50)),
sa.PrimaryKeyConstraint('id')
)
Thank you very much!