DELETE FROM lin_resource WHERE id = 'ZGAAwb2TNSD88C3YC';

INSERT 
	INTO
	lin_resource (id,
	path,
	context,
	backend_type,
	storage_object,
	created_by,
	updated_by,
	created_date,
	updated_date) 
VALUES ('ZGAAwb2TNSD88C3YC',
'LTPL/course_materials/2021/1b9bf377-909c-4c7d-8756-d8f7d3005bc1.pdf',
'COURSE_MATERIALS',
'S3',
'{"key": "LTPL/course_materials/2021/1b9bf377-909c-4c7d-8756-d8f7d3005bc1.pdf", "name": "CM Wireframes.pdf", "bucket": "amsfilestore-test"}',
0,
0,
now(),
now());

INSERT
	INTO
	am_course_materials (id,
	type,
	title,
    description,
	resource_id,
	staff_id,
	cluster_id,
	is_shared,
    created_by)
VALUES ('5f779f4d50c922ed7',
'DOCUMENT',
'test title',
'test desc',
'ZGAAwb2TNSD88C3YC',
200,
'5f779f4d50c911ed8',
'1',
200);

INSERT
	INTO
	am_course_materials (id,
	type,
	title,
    description,
	resource_id,
	staff_id,
	cluster_id,
	is_shared,
    created_by)
VALUES ('5f779f4d50c922ed6',
'DOCUMENT',
'test title',
'test desc',
'ZGAAwb2TNSD88C3YC',
200,
'5f779f4d50c911ed8',
'1',
200);
