DSpace resource_type_id

For those of you who are wondering what the values in "resource_type_id" stands for (for example, in the "resourcepolicy" table), here is what I’ve found out:

0 = bitstream
1 = bundle
2 = item
3 = collection
4 = community

I’d welcome anyone who can point me to the documentation of this – I tried but I couldn’t find it…

I only know the above information after comparing DB dumps… (which is actually what I’ve had to do to figure out what DSpace is doing to its DB schema for everything… But hey, that was (ahem…) "fun" and now I know how to use "diff" ;-) !).

Advertisements
Posted in Tips. 2 Comments »

2 Responses to “DSpace resource_type_id”

  1. Gary Says:

    Thanks so much for this information – really helpful!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: