You've already forked AstralRinth
forked from didirus/AstralRinth
Basic Database
This commit is contained in:
12
migrations/2020-05-15-055207_create_versions/up.sql
Normal file
12
migrations/2020-05-15-055207_create_versions/up.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE versions (
|
||||
id SERIAL PRIMARY KEY,
|
||||
mod_id SERIAL NOT NULL,
|
||||
title VARCHAR NOT NULL,
|
||||
changelog_path VARCHAR NOT NULL,
|
||||
files_path TEXT[] NOT NULL,
|
||||
date_published DATE NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
downloads INTEGER NOT NULL DEFAULT 0,
|
||||
dependencies TEXT[] NOT NULL,
|
||||
game_versions TEXT[] NOT NULL
|
||||
)
|
||||
Reference in New Issue
Block a user