blcompro/database/migrations/000002_create_hero_sections_table.up.sql
2025-05-29 08:55:21 +00:00

10 lines
355 B
SQL

CREATE TABLE IF NOT EXISTS hero_sections (
id SERIAL PRIMARY KEY,
heading varchar(150),
sub_heading varchar(150),
path_video text NULL,
path_banner text NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
deleted_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP
);