question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can i modify datatype of Users Table

See original GitHub issue

Question

Hi, I using Postgres database to setup Identity Server I want to modify Id Column of Users table from text to GUID, is it possible to Modify.

Relevant parts of the log file

   <log goes here>

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
murughascommented, May 19, 2020

Thanks a lot 😃

0reactions
berajkumar12commented, Jun 13, 2020

@skoruba It works fine now after changing, Postgres migration files. Id = table.Column<Guid>(nullable: false,type:“uuid”) made changes like this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Altering user-defined table types in SQL Server
As per msdn, it is like 'The user-defined table type definition cannot be modified after it is created'. Share.
Read more >
SQL queries to change the column type
We can use ALTER TABLE MODIFY COLUMN statement to change the datatype of the column. The syntax to change the datatype of the...
Read more >
How to Alter User Defined Table Types (Mostly) Online
Last year, Aaron Bertrand tackled the question, How To Alter User Defined Table Types. Aaron points out that “There is no ALTER TYPE...
Read more >
[Solved] How to alter User Defined Table Types
Solution 1. The user-defined table type definition cannot be modified after it is created. You will need to drop any procedures or functions ......
Read more >
How to Modify the User Defined Data Type?
Is it because it's impossible or not recommended to do so? There is no such command to alter a user defined table type....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found