<reponame>avalon1610/mirror-registry<filename>migrations/2021-03-03-055332_create_crates/up.sql
-- Your SQL goes here
CREATE TABLE crates (
	"id" TEXT NOT NULL UNIQUE,
	"name" TEXT NOT NULL,
	"updated_at" TEXT NOT NULL,
	"versions" TEXT,
	"keywords" TEXT,
	"categories" TEXT,
	"created_at" TEXT NOT NULL,
	"downloads" INTEGER NOT NULL,
	"recent_downloads" INTEGER NOT NULL,
	"max_version" TEXT NOT NULL,
	"newest_version" TEXT NOT NULL,
	"max_stable_version" TEXT,
	"description" TEXT,
	"homepage" TEXT,
	"documentation" TEXT,
	"repository" TEXT,
	"owners" TEXT,
	PRIMARY KEY("id")
);