diff --git a/backend/streetdrop-domain/src/main/resources/db/migration/V20240606__add_announcement_table.sql b/backend/streetdrop-domain/src/main/resources/db/migration/V20240606__add_announcement_table.sql index 86727483..8806bc7e 100644 --- a/backend/streetdrop-domain/src/main/resources/db/migration/V20240606__add_announcement_table.sql +++ b/backend/streetdrop-domain/src/main/resources/db/migration/V20240606__add_announcement_table.sql @@ -3,5 +3,6 @@ CREATE TABLE IF NOT EXISTS announcement ( title VARCHAR(200) NOT NULL, content VARCHAR(3000) NOT NULL, created_at DATETIME(6) NOT NULL, - modified_at DATETIME(6) NOT NULL + modified_at DATETIME(6) NOT NULL, + PRIMARY KEY (announcement_id) ) \ No newline at end of file