diff --git a/renren-admin/src/main/resources/db/R__del_token.sql b/renren-admin/src/main/resources/db/R__del_token.sql deleted file mode 100644 index 9e0a31d9..00000000 --- a/renren-admin/src/main/resources/db/R__del_token.sql +++ /dev/null @@ -1,7 +0,0 @@ -DELETE -FROM sys_user_token -WHERE id NOT IN (SELECT s.id - FROM (SELECT sut.id, - ROW_NUMBER() OVER ( PARTITION BY sut.user_id ORDER BY sut.create_date DESC ) AS group_idx - FROM sys_user_token sut) s - WHERE s.group_idx = 1); \ No newline at end of file