You've already forked AstralRinth
forked from didirus/AstralRinth
Basic Database
This commit is contained in:
11
migrations/2020-05-15-055106_create_mods/up.sql
Normal file
11
migrations/2020-05-15-055106_create_mods/up.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE mods (
|
||||
id SERIAL PRIMARY KEY,
|
||||
title VARCHAR NOT NULL,
|
||||
description VARCHAR NOT NULL,
|
||||
datePublished DATE NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
downloads INTEGER NOT NULL DEFAULT 0,
|
||||
categories TEXT[] NOT NULL,
|
||||
body_path VARCHAR NOT NULL,
|
||||
icon_path VARCHAR NOT NULL
|
||||
)
|
||||
Reference in New Issue
Block a user