10 lines
360 B
SQL
10 lines
360 B
SQL
-- Create the plans table
|
|
CREATE TABLE IF NOT EXISTS `plans` (
|
|
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
|
`name` VARCHAR(255) NOT NULL UNIQUE,
|
|
`speed_mbps` INT NOT NULL,
|
|
`price_monthly` DECIMAL(10, 2) NOT NULL,
|
|
`contract_months` INT NOT NULL,
|
|
`description` TEXT,
|
|
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |