Future<int> createCustomer(Customer customer) async { final db = await instance.database; return await db.insert('customers', customer.toMap()); }