typeorm#Column TypeScript Examples

The following examples show how to use typeorm#Column. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Message.ts    From bluebubbles-server with Apache License 2.0 6 votes vote down vote up
@conditional(
        isMinHighSierra,
        Column({
            name: "associated_message_range_location",
            type: "integer",
            default: 0
        })
    )
    associatedMessageRangeLocation: number;
Example #2
Source File: mca.ts    From Corsace with MIT License 5 votes vote down vote up
@Column(() => Phase)
    voting!: Phase;
Example #3
Source File: Message.ts    From bluebubbles-server with Apache License 2.0 5 votes vote down vote up
@conditional(isMinHighSierra, Column({ name: "expressive_send_style_id", type: "text", nullable: true }))
    expressiveSendStyleId: string;
Example #4
Source File: category.ts    From Corsace with MIT License 5 votes vote down vote up
@Column({ nullable: true })
    minLength?: number;
Example #5
Source File: card.entity.ts    From 42_checkIn with GNU General Public License v3.0 5 votes vote down vote up
@Column({ default: false })
  private using: boolean;
Example #6
Source File: beatmapset.ts    From Corsace with MIT License 5 votes vote down vote up
@Column()
    favourites!: number;