Comments (3)
just checked it work on me:
@Column()
relativeType: string;
changed to:
@Column({ length: "300" })
relativeType: string;
query executed:
ALTER TABLE `question` CHANGE `relativeType` `relativeType` varchar(300) NOT NULL
from typeorm.
it should work. are you using mysql?
from typeorm.
I am using MySQL. It's works well (checking wrong MySQL instance, my bad :/)
Sorry and thanks for your time.
from typeorm.
Related Issues (20)
- Perform query without parameter 'feature' causes excessive query plans in MSSQL
- Nested relations with an eager parent aren't fetched
- SET statement_timeout as part of a multi-statement query only applies after the whole query completes
- SelectQueryBuilder error when using subqueries and pagination
- Failing to select only one nullable field HOT 1
- Unclear whether input is sanitized / escaped
- UnsupportedResultException: The result contains the unsupported data type regtype
- QueryFailedError 错误x无法定位源码位置
- The error message of QueryFailedError cannot be located to the source code position. HOT 1
- Relations inside more than one nested embedded with select throws error
- Lazy Relations Not Updating Properly HOT 2
- `stream` is ignoring `take` and `skip` with `join`
- New FindOperator for 'unaccent' command with Postgresql
- Default values in a jsonb column do not generate migrations correctly
- how to make a baseController in typeorm 0.3.17 and extends to other classes like mangoose
- Both CURRENT_TIMESTAMP and CURRENT_TIMESTAMP(0) as default values result in "Invalid default value" error
- Cannot find record in table if it has relation to another table
- Parameter binding fails for Oracle query when parameter name is reused HOT 5
- Predefined table name not being used when using Entity Manager API HOT 1
- Rotate Credentials
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeorm.