CREATE TABLE `cost_items` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `name` text NOT NULL, `amount` real NOT NULL, `currency` text NOT NULL, `period` text NOT NULL, `category` text DEFAULT 'Other' NOT NULL, `renews_on` text, `note` text, `created_at` text NOT NULL, `updated_at` text NOT NULL );