-- ============================================
-- 此文件由 Meoo Cloud 自动生成，请勿修改
-- This file is auto-generated by Meoo Cloud, DO NOT MODIFY
-- ============================================

CREATE TABLE share_links (id SERIAL PRIMARY KEY, collection_id INTEGER NOT NULL REFERENCES stock_collections(id) ON DELETE CASCADE, short_code VARCHAR(20) NOT NULL UNIQUE, created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), expires_at TIMESTAMPTZ);
