change type entity scrap-item

This commit is contained in:
Admin 2025-07-19 09:54:43 +07:00
parent 024b4cd8c8
commit 1ac558fe75
3 changed files with 4 additions and 3 deletions

View File

@ -104,6 +104,7 @@ export default function BidModal({
setLoading(true);
const metadata = valuesToMetadata(values as IBid & Record<string, any>);
const result = await createBid({
url,
max_price,

View File

@ -1 +1 @@
{"createdAt":1748825131474}
{"createdAt":1752455341798}

View File

@ -18,13 +18,13 @@ export class ScrapItem extends Timestamp {
@Column()
name: string;
@Column()
@Column({ type: 'text' })
url: string;
@Column()
model: string;
@Column({ nullable: true, default: null })
@Column({ nullable: true, default: null, type: 'text' })
image_url: string | null;
@Column({ nullable: true, default: null })