chore: OpenCode-Konfiguration mit Ollama qwen3-coder:30b hinzugefügt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@ CREATE TABLE IF NOT EXISTS instances (
|
||||
customer_id UUID NOT NULL REFERENCES customers(id) ON DELETE CASCADE,
|
||||
|
||||
-- Instance details
|
||||
ctid BIGINT NOT NULL UNIQUE,
|
||||
lxc_id BIGINT NOT NULL UNIQUE,
|
||||
hostname VARCHAR(255) NOT NULL,
|
||||
ip VARCHAR(50) NOT NULL,
|
||||
fqdn VARCHAR(255) NOT NULL,
|
||||
@@ -86,7 +86,7 @@ CREATE TABLE IF NOT EXISTS instances (
|
||||
|
||||
-- Create indexes for instances
|
||||
CREATE INDEX idx_instances_customer_id ON instances(customer_id);
|
||||
CREATE INDEX idx_instances_ctid ON instances(ctid);
|
||||
CREATE INDEX idx_instances_lxc_id ON instances(lxc_id);
|
||||
CREATE INDEX idx_instances_status ON instances(status);
|
||||
CREATE INDEX idx_instances_hostname ON instances(hostname);
|
||||
|
||||
@@ -330,7 +330,7 @@ SELECT
|
||||
c.created_at,
|
||||
c.trial_end_date,
|
||||
EXTRACT(DAY FROM (c.trial_end_date - NOW())) as days_remaining,
|
||||
i.ctid,
|
||||
i.lxc_id,
|
||||
i.hostname,
|
||||
i.fqdn
|
||||
FROM customers c
|
||||
@@ -351,7 +351,7 @@ SELECT
|
||||
c.status,
|
||||
c.created_at,
|
||||
c.trial_end_date,
|
||||
i.ctid,
|
||||
i.lxc_id,
|
||||
i.hostname,
|
||||
i.fqdn,
|
||||
i.ip,
|
||||
|
||||
Reference in New Issue
Block a user