# This txt file stores all the default attributeTypes that are to be
# created during the installation. The format of the data is as follows
# Title Description Status DataType InstanceOf SubTypeOf
# text,string replaced by varchar lines replaced by varchar[] int replaced by int4 

# Adding attributeType for the table backups
Date,NOT NULL,Public,date,Backups
File Size,UNSIGNED NOT NULL,Public,int4,Backups
System File Name,NOT NULL,Public,varchar,Backups
File Name,NOT NULL,Public,varchar,Backups
Contents,NOT NULL,Public,varchar,Backups

# Adding attributeType for the table glossary
Word,NOT NULL,Public,varchar,Glossary
Definition,NOT NULL,Public,varchar,Glossary

# Adding attributeType for the table languages
Language Code,NOT NULL,Public,varchar,Languages
Char Set,NOT NULL,Public,varchar,Languages
Direction,NOT NULL,Public,varchar,Languages
Reg Exp,NOT NULL,Public,varchar,Languages
Native Name,NOT NULL,Public,varchar,Languages
English Name,NOT NULL,Public,varchar,Languages
Status,UNSIGNED NOT NULL,Public,int4,Languages

# Adding attributeType for the table links
Url, NOT NULL,Public,varchar,Links
Link Name,NOT NULL,Public,varchar,Links
Submit Name,NOT NULL,Public,varchar,Links
Submit Email,NOT NULL,Public,varchar,Links
Submit Date,NOT NULL,Public,date,Links
Hits,NOT NULL,Public,int4,Links

# Adding attributeType for the table link categories
Owner Type,NOT NULL,Public,int4,LinksCategories
Name,NOT NULL,Public,varchar,LinksCategories

# Adding attributeType for the table members
Website,NOT NULL,Public,varchar,members
DOB,NOT NULL,Public,date,members
Gender,NOT NULL enum M-F-N,Public,varchar,members
Postal,NOT NULL,Public,varchar,members
Province,NOT NULL,Public,varchar,members
Status,NOT NULL,Public,varchar,members
Preferences,NOT NULL,Public,varchar,members
Creation date,NOT NULL,Public,date,members
Language,NOT NULL,Public,varchar,members
Inbox notify,UNSIGNED NOT NULL,Public,int4,members
Private email,NOT NULL,Public,int4,members

# # Adding attributeType for the table reading list
# Required,NOT NULL,Public,varchar,Backups,attributeType
# Start Date,NOT NULL,Public,date,Backups,attributeType
# End Date,NOT NULL,Public,date,Backups,attributeType
# Comment,NOT NULL,Public,varchar,Backups,attributeType

# Adding attributeType for the table test
Format,NOT NULL,Public,int4,Tests
Start date,NOT NULL,Public,date,Tests
End date,NOT NULL,Public,date,Tests
Randomize order,NOT NULL,Public,int4,Tests
Num questions,UNSIGNED NOT NULL,Public,int4,Tests
Instructions,NOT NULL,Public,varchar,Tests
Result release,UNSIGNED NOT NULL,Public,int4,Tests
Random,unsigned NOT NULL,Public,int4,Tests
Difficulty,UNSIGNED NOT NULL,Public,int4,Tests
Num takes,UNSIGNED NOT NULL,Public,int4,Tests
Anonymous,NOT NULL,Public,int4,Tests
Out of,NOT NULL,Public,varchar,Tests

# Adding attributeType for the table tests_questions
Type,UNSIGNED NOT NULL,Public,int4,TestQuestions
Feedback,NOT NULL,Public,varchar,TestQuestions
Question,NOT NULL,Public,varchar,TestQuestions
Choice 0,NOT NULL,Public,varchar,TestQuestions
Choice 1,NOT NULL,Public,varchar,TestQuestions
Choice 2,NOT NULL,Public,varchar,TestQuestions
Choice 3,NOT NULL,Public,varchar,TestQuestions
Choice 4,NOT NULL,Public,varchar,TestQuestions
Choice 5,NOT NULL,Public,varchar,TestQuestions
Choice 6,NOT NULL,Public,varchar,TestQuestions
Choice 7,NOT NULL,Public,varchar,TestQuestions
Choice 8,NOT NULL,Public,varchar,TestQuestions
Choice 9,NOT NULL,Public,varchar,TestQuestions
Answer 0,NOT NULL,Public,int4,TestQuestions
Answer 1,NOT NULL,Public,int4,TestQuestions
Answer 2,NOT NULL,Public,int4,TestQuestions
Answer 3,NOT NULL,Public,int4,TestQuestions
Answer 4,NOT NULL,Public,int4,TestQuestions
Answer 5,NOT NULL,Public,int4,TestQuestions
Answer 6,NOT NULL,Public,int4,TestQuestions
Answer 7,NOT NULL,Public,int4,TestQuestions
Answer 8,NOT NULL,Public,int4,TestQuestions
Answer 9,NOT NULL,Public,int4,TestQuestions
Properties,NOT NULL,Public,int4,TestQuestions


Option1,NOT NULL,Public,varchar,TestQuestions
Option2,NOT NULL,Public,varchar,TestQuestions
Option3,NOT NULL,Public,varchar,TestQuestions
Option4,NOT NULL,Public,varchar,TestQuestions
Option5,NOT NULL,Public,varchar,TestQuestions
Ans,NOT NULL,Public,varchar,TestQuestions


# Adding attributeType for the faq_entries table
Revised Date,NOT NULL,Public,date,FaqEntries
Approved,NOT NULL,Public,int4,FaqEntries
Answer,NOT NULL,Public,varchar,FaqEntries

# Adding attributeType for the tests_questions_assoc table
Weight,NOT NULL,Public,varchar,TestQuestions

# # Adding Extra Attribute As Per SCORM requirement
# Interactivity Type,NOT NULL,Public,varchar,metaType,attributeType
# Interactivity Level,NOT NULL,Public,varchar,metaType,attributeType
# Semantic Density,NOT NULL,Public,varchar,metaType,attributeType
# Intended End User Role,NOT NULL,Public,varchar,metaType,attributeType
# Context,NOT NULL,Public,varchar,metaType,attributeType
# Typical Age Range,NOT NULL,Public,varchar,metaType,attributeType
# Learning Time Duration,NOT NULL,Public,varchar,metaType,attributeType
# Learning Time Description,NOT NULL,Public,varchar,metaType,attributeType
# Cost,NOT NULL,Public,varchar,metaType,attributeType
# Version,NOT NULL,Public,varchar,metaType,attributeType
# Coverage,NOT NULL,Public,varchar,metaType,attributeType
# Purpose,NOT NULL,Public,varchar,metaType,attributeType

# Adding Attributes to Bookshelf
Shelfitem,NOT NULL,Public,varchar[],Bookshelf

# Adding Attributes to Course Category
CourseCategory Structure,NOT NULL,Public,varchar[],CourseCategory
