Prevent primary key?

I know that “*Id” by convention in OrmLite will create a primary key constraint on the database, however, there are cases that you may not want this to happen.

Is there an attribute that can turn this off? I didn’t see any mention of this in the docs.

See Limitations - Single Primary Key, i.e. every Table needs a single primary key where you can override its convention using the [PrimaryKey] attribute.

I see, thanks. I guess in this particular use case where I’m creating a “log” table, I didn’t think it was necessary to have a primary key.