-- Copyright 2024 StarfleetAI -- SPDX-License-Identifier: Apache-2.0 CREATE TABLE abilities ( id SERIAL PRIMARY KEY, company_id INTEGER REFERENCES companies(id) NOT NULL, name TEXT NOT NULL, description TEXT NOT NULL DEFAULT '', code TEXT NOT NULL DEFAULT '', created_at TIMESTAMP WITH TIME ZONE NOT NULL, updated_at TIMESTAMP WITH TIME ZONE NOT NULL ); CREATE INDEX index_abilities_on_company_id ON abilities (company_id);