We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d0f03 commit 05a3c03Copy full SHA for 05a3c03
src/main/java/de/jadenk/springcloud/DatabaseInitializer.java
@@ -238,8 +238,7 @@ private void createFoldersTable(Statement statement) throws SQLException {
238
"name VARCHAR(255) NOT NULL," +
239
"owner_id BIGINT NOT NULL," +
240
"created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP," +
241
- "FOREIGN KEY (owner_id) REFERENCES users(id) ON DELETE CASCADE," +
242
- "FOREIGN KEY (parent_id) REFERENCES folders(id) ON DELETE CASCADE" +
+ "FOREIGN KEY (owner_id) REFERENCES users(id) ON DELETE CASCADE" +
243
");");
244
}
245
0 commit comments