Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit ed79d40

Browse files
authored
Update tables.txt
Made the change to the create index syntax so that its compatible with the latest version of NoSQL DB.
1 parent 5493edb commit ed79d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

movie/moviedemo/nosqldb/table_ddl/tables.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ genres ARRAY(RECORD( cid String,id integer,name String )),\
2121
PRIMARY KEY (id) )"
2222

2323
execute "drop index if exists genreIndex on movie"
24-
execute "create index genreIndex on movie(genres.id)"
24+
execute "create index genreIndex on movie(genres[].id)"
2525
execute "create index movieNameIndex on movie (original_title)"
2626

2727

0 commit comments

Comments
 (0)